VLAN Commands 803
Default Configuration
This command has no default configuration.
Command Mode
Privileged EXEC mode, Config mode and all Config sub-modes
User Guidelines
This command has no user guidelines.
Example
The following example displays information for VLAN id 1, 2 and 3.
console#show vlan id 1
VLAN Name Ports Type
----- --------------- ------------- --------------
1 default Po1-48, Default
Gi1/0/1-10
console#show vlan id 2
VLAN Name Ports Type
----- --------------- ------------- --------------
2 VLAN0002 Gi1/0/11-20 Dynamic (DOT1X)
console#show vlan id 3
VLAN Name Ports Type
----- --------------- ------------- --------------
3 VLAN0003 Gi1/0/21-24 Dynamic (GVRP)
show vlan association mac
Use the show vlan association mac command in Privileged EXEC mode to
display the VLAN associated with a specific configured MAC address. If no
MAC address is specified, the VLAN associations of all the configured MAC
addresses are displayed.
2CSPC4.X8100-SWUM102.book Page 803 Friday, March 15, 2013 8:56 AM