Configuring Native 802.1Q VLANs on Private VLANs
Step 4
Verifying Private VLAN Configuration
To display private VLAN configuration information, use the following commands:
Command
switch# show feature
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
100
101
102
110
200
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 Switch CLI Software Configuration Guide
100
Command or Action
switch(config-if)# no switchport
private-vlan trunk native {vlan vlan-id}
Secondary
Type
---------
---------------
100
community
101
community
102
community
110
community
200
isolated
primary
community
community
community
community
isolated
Instance
--------
1
1
1
1
Purpose
(Optional)
Removes the native VLAN ID from the private
VLAN trunk.
Purpose
Displays the features enabled on the switch.
Displays information on all interfaces configured as
switch ports.
Displays the status of the private VLAN.
Ports
-------------------------------------------
Eth1/12, Eth100/1/1
Eth1/2
State
--------
enabled
enabled
enabled
disabled
Verifying Private VLAN Configuration
OL-16597-01