Verifying Private VLAN Configuration
Command
switch# show interface switchport
switch# show vlan private-vlan [type]
The following example shows how to display the private VLAN configuration:
switch# show vlan private-vlan
Primary
-------
5
5
5
5
5
switch# show vlan private-vlan type
Vlan Type
---- -----------------
5
primary
100
community
101
community
102
community
110
community
200
isolated
The following example shows how to display enabled features (some of the output has been removed for
brevity):
switch# show feature
Feature Name
--------------------
fcsp
...
interface-vlan
private-vlan
udld
...
Cisco Nexus 5000 Series NX-OS Layer 2 Switching Configuration Guide, Release 5.0(3)N1(1)
70
Secondary
Type
---------
---------------
100
community
101
community
102
community
110
community
200
isolated
Instance
State
--------
--------
1
enabled
1
enabled
1
enabled
1
disabled
Purpose
Displays information on all interfaces configured as
switch ports.
Displays the status of the private VLAN.
Ports
-------------------------------------------
Eth1/12, Eth100/1/1
Eth1/2
Configuring Private VLANs