set vlan forbidden
Mode
Switch command, read‐write.
Example
This example shows you how to show VLAN egress information for
all three ports are allowed to transmit VLAN 1 frames as tagged and VLAN 10 frames as
untagged. Both are static VLANs:
C2(su)->show port egress ge.1.1-3
Port
Number
-------------------------------------------------------
ge.1.1
ge.1.1
ge.1.2
ge.1.2
ge.1.3
ge.1.3
set vlan forbidden
Use this command to prevent one or more ports from participating in a VLAN. This setting
instructs the device to ignore dynamic requests (either through GVRP or dynamic egress) for the
port to join the VLAN.
Syntax
set vlan forbidden vlan-id port-string
Parameters
vlan‐id
port‐string
Defaults
None.
Mode
Switch command, read‐write.
Example
This example shows you how to set
C2(su)->set vlan forbidden 6 ge.1.3
10-14 802.1Q VLAN Configuration
Vlan
Egress
Id
Status
1
tagged
10
untagged
1
tagged
10
untagged
1
tagged
10
untagged
Specifies the VLAN for which to set forbidden port(s).
Specifies the port(s) to set as forbidden for the specified vlan‐id.
ge.
Registration
Status
static
static
static
static
static
static
1.3 to forbidden for VLAN 6:
1.1 through 3. In this case,
ge.