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-5
Cisco Nexus 5000 Series Command Reference
OL-16599-01
Chapter 3 Ethernet Show Commands
show interface vlan
show interface vlan
To display brief descriptive information about specified VLANs, use the show interface vlan command.
show interface vlan vlan-id [brief | description | private-vlan mapping]
Syntax Description
Command Default None
Command Modes EXEC mode
Command History
Usage Guidelines You must enable interface VLANs by using the feature interface-vlan or the svi enable command. The
commands for configuring interface VLANs are not visible until you enable this feature.
This command displays descriptive information for the specified VLAN, including private VLANs.
The switch displays output for the show interface vlan vlan-id private-vlan mapping command only
when you specify a primary private VLAN. If you specify a secondary private VLAN, the output is
blank.
Examples This example shows how to display information about the specified VLAN:
switch# show interface vlan 5
This example shows how to display a brief description for the specified VLAN:
switch# show interface vlan 5 brief
This example shows how to display the description for a specified VLAN:
switch# show interface vlan 5 description
This example shows how to display the private VLAN mapping information, if any, for the VLAN:
switch# show interface vlan 5 private-vlan mapping
When you specify a primary VLAN, the switch displays all secondary VLANs mapped to that primary
VLAN.
vlan-id Number of the VLAN; the range of valid values is from 1 to 4094.
brief (Optional) Summary information for the specified VLAN.
description (Optional) Description of the specified VLAN.
private-vlan mapping (Optional) Private VLAN mapping information, if any, for the specified
VLAN.
Release Modification
4.0(0)N1(1a) This command was introduced.