1314
Cisco Nexus 5500 Series NX-OS Layer 2 Interfaces Command Reference
OL-27880-02
Chapter 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
|
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
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 10
Vlan10 is up, line protocol is up
Hardware is EtherSVI, address is 0005.9b78.6e7c
MTU 1500 bytes, BW 1000000 Kbit, DLY 10 usec,
switch#
This example shows how to display a brief description for the specified VLAN:
switch#
show interface vlan 10 brief
-------------------------------------------------------------------------
Interface Secondary VLAN(Type) Status Reason
-------------------------------------------------------------------------
Vlan10 -- up --
switch#
vlan-id
Number of the VLAN. The range is from 1 to 4094.
brief
(Optional) Displays a summary information for the specified VLAN.
private-vlan mapping
(Optional) Displays the private VLAN mapping information, if any, for the
specified VLAN.
Release
Modification
5.2(1)N1(1)
This command was introduced.