show vlan
Syntax
show vlan [<VLAN-ID>] [vsx-peer]
Description
Displays configuration information for all VLANs or a specific VLAN.
Command context
Manager (#)
Parameters
<VLAN-ID>
Specifies a VLAN ID.
[vsx-peer]
Shows the output from the VSX peer switch. If the switches do not have the VSX configuration or the ISL is down, the output from the VSX peer switch is not displayed. This parameter is available on switches that support VSX.
Authority
Operators or Administrators or local user group members with execution rights for this command. Operators can execute this command from the operator context (>) only.
Examples
Displaying configuration information for VLAN 2:
switch# show vlan 2 ---------------------------------------------------------------------------------- VLAN Name Status Reason Type Interfaces ---------------------------------------------------------------------------------- 2 UserVLAN1 up ok static 1/1/1,1/1/3,1/1/5
Displaying configuration information for all defined VLANs:
switch# show vlan ---------------------------------------------------------------------------------- VLAN Name Status Reason Type Interfaces ----------------------------------------------------------------------------------- 1 DEFAULT_VLAN_1 up ok static 1/1/3-1/1/4 2 UserVLAN1 up ok static 1/1/1,1/1/3,1/1/5 3 UserVLAN2 up ok static 1/1/2-1/1/3,1/1/5-1/1/6 5 UserVLAN3 up ok static 1/1/3 10 TestNetwork up ok static 1/1/3,1/1/5 11 VLAN11 up ok static 1/1/3 12 VLAN12 up ok static 1/1/3,1/1/6,lag1-lag2 13 VLAN13 up ok static 1/1/3,1/1/6 14 VLAN14 up ok static 1/1/3,1/1/6 20 ManagementVLAN down admin_down static 1/1/3,1/1/10