Cisco Nexus 5000 Series Switch CLI Software Configuration Guide (OL-16597-01, July 2009)
PurposeCommand or Action
(Optional)
Removes the native VLAN ID from the private
VLAN trunk.
switch(config-if)# no switchport
private-vlan trunk native {vlan vlan-id}
Step 4
Verifying Private VLAN Configuration
To display private VLAN configuration information, use the following commands:
PurposeCommand
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 private VLAN.switch# show vlan private-vlan [type]
The following example shows how to display the private VLAN 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
The following 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 5000 Series Switch CLI Software Configuration Guide
100 OL-16597-01
Verifying Private VLAN Configuration
Configuring Native 802.1Q VLANs on Private VLANs