VLAN Commands

4-197

4
Displaying VLAN Information

show vlan

This command shows VLAN information.
Syntax
show vlan [id vlan-id | name vlan-name]
id - Keyword to be followed by the VLAN ID.
vlan-id - ID of the configured VLAN. (Range: 1-4094, no leading zer oes)
name - Keyword to be followed by the VLAN name.
vlan-name - ASCII string from 1 to 32 characters.
Default Setting
Shows all VLANs.
Command Mode
Normal Exec, Privileged Exec
Example
The following example shows how to display information for VLAN 1:
Table4-59 Commands for D isplaying VLAN Information
Command Function Mode Page
show vlan Shows VLAN information NE, PE 4-197
show interfaces status vlan Displays status for the specified VLAN interface NE, PE 4-157
show interfaces switchport Displays the administrative and operational status of an
interface
NE, PE 4-159
Console#show vlan id 1
VLAN Type Name Status Ports/Cha nnel groups
---- ------- ---------------- --------- ------------------- ---------------
1 Static DefaultVlan Active Eth1/ 1 E th1/ 2 Eth1/ 3 Eth1/ 4 Eth1/ 5
Eth1/ 6 E th1/ 7 Eth1/ 8 Eth1/ 9 Eth1/10
Eth1/11 E th1/12
Console#