Administrator Guide

Table Of Contents
Layer 2 Switching Commands 816
vlan-id—A VLAN identifier
vlan-name—A valid VLAN name (Range 1-32 characters)
Default Configuration
This command has no default configuration.
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 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