Command Usage
• This command prevents a VLAN from being automatically added to the
specified interface via GVRP.
• If a VLAN has been added to the set of allowed VLANs for an interface,
then you cannot add it to the set of forbidden VLANs for that same
interface.
Example
The following example shows how to prevent port 1 from being added to
VLAN 3.
Console(config)#interface ethernet 1/1
Console(config-if)#switchport forbidden vlan add 3
Console(config-if)#
Displaying VLAN Information
Command
show vlan
show interfaces status
vlan
show interfaces
switchport
Table 4-57 Displaying VLAN Information
Function
Shows VLAN information
Displays status for the specified VLAN
interface
Displays the administrative and operational
status of an interface
VLAN C
OMMANDS
Mode Page
NE,
4-238
PE
NE,
4-183
PE
NE,
4-186
PE
4-237