Command Mode
Privileged Exec mode, Global Configuration mode and all Configuration
submodes
User Guidelines
•
VLAN—The VLAN identifier
•
Name—The VLAN name
•
Ports—The port membership for the VLAN
•
Type—The type of VLAN (default, static, dynamic)
Example
This shows all VLANs and RSPAN VLANs.
console#show vlan
VLAN
Name
-----
---------------
1
default
10
RSPAN Vlan
------------------------------------------------------------------
10
This example shows information for a specific VLAN ID.
console#show vlan id 10
VLAN
Name
-----
---------------
10
RSPAN Vlan
------------------------------------------------------------------
Enabled
This example shows information for a specific VLAN name.
console#show vlan name myspan
VLAN
Name
-----
---------------
Ports
Type
-------------
--------------
Po1-128,
Default
Gi1/0/1-48
Static
Ports
Type
-------------
--------------
Te1/0/1
Static
Ports
Type
-------------
--------------
Layer 2 Switching Commands
803