Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2(1) (OL-16599-01, March 2009)

Send comments to nx5000-docfeedback@cisco.com
2-42
Cisco Nexus 5000 Series Command Reference
OL-16599-01
Chapter 2 Ethernet Commands
private-vlan association
Isolated and community VLANs can only be associated with one primary VLAN. You cannot configure
a VLAN that is already associated to a primary VLAN as a primary VLAN.
Note A PVLAN isolated port on a Cisco Nexus 5000 Series switch running the current release of Cisco
NX-OS does not support IEEE 802.1q encapsulation and cannot be used as a trunk port.
Examples This example shows how to create a private VLAN relationship between the primary VLAN 14, the
isolated VLAN 19, and the community VLANs 20 and 21:
switch(config)# vlan 19
switch(config-vlan)# private-vlan isolated
switch(config)# vlan 20
switch(config-vlan)# private-vlan community
switch(config)# vlan 21
switch(config-vlan)# private-vlan community
switch(config)# vlan 14
switch(config-vlan)# private-vlan primary
switch(config-vlan)# private-vlan association 19-21
This example shows how to remove isolated VLAN 18 and community VLAN 20 from the private VLAN
association:
switch(config)# vlan 14
switch(config-vlan)# private-vlan association remove 18,20
Related Commands Command Description
feature private-vlan Enables private VLANs.
show vlan Displays information about VLANs.
show vlan private-vlan Displays information about private VLANs.