To display VLAN configuration information, perform one of these tasks:
Command
|
Purpose
|
switch# show running-config vlan [vlan_id | vlan_range]
|
Displays VLAN information.
|
switch# show vlan [brief | id [vlan_id | vlan_range] | name
name | summary]
|
Displays selected configuration information for the defined VLAN(s).
|
The following example shows all VLANs defined in the range of 1 to 21.
switch# show running-config vlan 1-21
version 4.0(1a)N1(1)
vlan 1
vlan 5
The following example shows the VLANs created on the switch and their status:
switch# show vlan
VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
1 default active Eth1/1, Eth1/2, Eth1/3, Eth1/4
Eth1/5, Eth1/6, Eth1/7, Eth1/8
Eth1/9, Eth1/10, Eth1/11
Eth1/12, Eth1/15, Eth1/16
Eth1/17, Eth1/18, Eth1/19
Eth1/20, Eth1/21, Eth1/22
Eth1/23, Eth1/24, Eth1/25
Eth1/26, Eth1/27, Eth1/28
Eth1/29, Eth1/30, Eth1/31
Eth1/32, Eth1/33, Eth1/34
Eth1/35, Eth1/36, Eth1/37
Eth1/38, Eth1/39, Eth1/40
Eth3/1, Eth3/2, Eth3/3, Eth3/4
veth1/1
13 VLAN0005 active Eth1/13, Eth1/14
The following example shows the details of VLAN 13 including its member ports:
switch# show vlan id 13
VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
13 VLAN0005 active Eth1/13, Eth1/14
VLAN Type MTU
---- ----- -----
13 enet 576
Remote SPAN VLAN
----------------
Disabled
Primary Secondary Type Ports
------- --------- --------------- -------------------------------------------
The following example shows the VLAN settings summary:
switch# show vlan summary
Number of existing VLANs : 2
Number of existing user VLANs : 2
Number of existing extended VLANs : 0