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-4 093, no lead ing zeroe s)
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.
Console#show vlan id 1
VLAN ID: 1
Type: Static
Name: DefaultVlan
Status: Active
Ports/Port Channels: Eth1/ 1 (S) Eth 1/ 2(S) Et h1/ 3(S ) Eth 1/ 4(S) Eth1/ 5( S)
Eth1/ 6(S) Eth1/ 7(S) Eth1/ 8(S) Eth1/ 9(S) E th1/1 0( S)
Eth1/11(S) Eth1/12(S) Eth1/13(S) Eth1/ 14(S) E th1/15( S)
Eth1/16(S) Eth1/17(S) Eth1/18(S) Eth1/ 19(S) E th1/20( S)
Eth1/21(S) Eth1/22(S) Eth1/23(S) Eth1/ 24(S) E th1/25( S)
Eth1/26(S)
Console#
34-13Displaying VLAN Information
34