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