Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2(1) (OL-16599-01, March 2009)

Send comments to nx5000-docfeedback@cisco.com
3-37
Cisco Nexus 5000 Series Command Reference
OL-16599-01
Chapter 3 Ethernet Show Commands
show vlan
show vlan
To display VLAN information, use the show vlan command.
show vlan [brief | name {name} | summary]
Syntax Description
Command Default None
Command Modes EXEC mode
Command History
Usage Guidelines This command displays information for all VLANs, including private VLANs, on the switch.
Each access port can belong to only one VLAN. Trunk ports can be on multiple VLANs.
Note Although a port can be associated with a VLAN as an access VLAN, a native VLAN, or one of the trunk
allowed ports, only access VLANS are shown under Ports in the display.
If you shut down a VLAN using the state suspend or the state active command, these values appear in
the Status field:
suspended—VLAN is suspended.
active—VLAN is active.
If you shut down a VLAN using the shutdown command, these values appear in the Status field:
act/lshut—VLAN status is active but shut down locally.
sus/lshut—VLAN status is suspended but shut down locally.
If a VLAN is shut down internally, these values appear in the Status field:
act/ishut—VLAN status is active but shut down internally.
sus/ishut—VLAN status is suspended but shut down internally.
If a VLAN is shut down locally and internally, the value that is displayed in the Status field is act/ishut
or sus/ishut. If a VLAN is shut down locally only, the value that is displayed in the Status field is
act/lshut or sus/lshut.
brief (Optional) Displays only a single line for each VLAN, naming the VLAN,
status, and ports.
name name (Optional) Displays information about a single VLAN that is identified by
VLAN name.
summary (Optional) Displays the number of existing VLANs on the switch.
Release Modification
4.0(0)N1(1a) This command was introduced.