show vlan
Syntax
show vlan [<VLAN-ID>] [vsx-peer]
Description
Displays VLAN configuration information.
Command context
Manager (#)
Parameters
<VLAN-ID>
Specifies the number of the VLAN for which to display configuration information. The VLAN must exist. Range: 1 - 4040.
[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 Type Interfaces --------------------------------------------------------------------------------------------- 2 UserVLAN1 up static 1/1/1,1/1/3,1/1/5
Displaying configuration information for all defined VLANs:
switch# show vlan ----------------------------------------------------------------------------------------------- VLAN Name Status Type Interfaces ----------------------------------------------------------------------------------------------- 1 DEFAULT_VLAN_1 up default 1/1/3-1/1/4 2 UserVLAN1 up static 1/1/1,1/1/3,1/1/5 3 UserVLAN2 up static 1/1/1-1/1/3,1/1/5-1/1/6 5 UserVLAN3 up static 1/1/1,1/1/3 10 TestNetwork up static 1/1/3,1/1/5 11 VLAN11 up static 1/1/3 12 VLAN12 up static 1/1/3,1/1/6,lag1-lag2 13 VLAN13 no_member_forwarding static 1/1/3,1/1/6 14 VLAN14 no_member_port static 20 ManagementVLAN admin_down static 1/1/3,1/1/10 30 VLAN30 error static 1/1/3,1/1/5 40 VLAN40 up static 1/1/3,1/1/5 50 VLAN50 up static 1/1/3,1/1/5 100 VLAN100 up static 1/1/3,1/1/5-1/1/6 200 VLAN200 up static 1/1/3,1/1/6