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-40
Cisco Nexus 5000 Series Command Reference
OL-16599-01
Chapter 3 Ethernet Show Commands
show vlan private-vlan
show vlan private-vlan
To display private VLAN information, use the show vlan private-vlan command.
show vlan [id {vlan-id}] private-vlan [type]
Syntax Description
Command Default None
Command Modes EXEC mode
Command History
Examples This example shows how to display information on all private VLANs on the switch:
switch(config)# show vlan private-vlan
This example shows how to display information for a specific private VLAN:
switch(config)# show vlan id 42 private-vlan
This example shows how to display information on the types of all private VLANs on the switch:
switch(config)# show vlan private-vlan type
This example shows how to display information on the type for the specified private VLAN:
switch(config)# show vlan id 42 private-vlan type
Related Commands
id vlan-id (Optional) Displays private VLAN information for the specified VLAN.
type (Optional) Displays the private VLAN type (primary, isolated, or
community).
Release Modification
4.0(0)N1(1a) This command was introduced.
Command Description
show interface
private-vlan mapping
Displays information about the private VLAN mapping between the primary
and secondary VLANs so that both VLANs share the same primary VLAN
interface.
show interface
switchport
Displays information about the ports, including those in private VLANs.
show vlan Displays information about all the VLANs on the switch.