CLI Guide

Table Of Contents
Layer 2 Switching Commands 876
Example
This shows all VLANs and RSPAN VLANs.
console#show vlan
VLAN Name Ports Type
----- --------------- ------------- --------------
1 default Po1-128, Default
Gi1/0/1-48
10 Static
RSPAN Vlan
------------------------------------------------------------------
10
This example shows information for a specific VLAN ID.
console#show vlan id 10
VLAN Name Ports Type
----- --------------- ------------- --------------
10 Te1/0/1 Static
RSPAN Vlan
------------------------------------------------------------------
Enabled
This example shows information for a specific VLAN name.
console#show vlan name myspan
VLAN Name Ports Type
----- --------------- ------------- --------------
10 myspan Te1/0/1 Static
RSPAN Vlan
------------------------------------------------------------------
Enabled
show vlan association mac
Use the show vlan association mac command 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.