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-40
Cisco Nexus 5000 Series Command Reference
OL-16599-01
Chapter 2 Ethernet Commands
private-vlan
A community VLAN is defined as the VLAN that carries the traffic among community ports and from
community ports to the promiscuous ports on the corresponding primary VLAN.
A primary VLAN is defined as the VLAN that is used to convey the traffic from the routers to customer
end stations on private ports.
Multiple community and isolated VLANs are allowed. If you enter a range of primary VLANs, the
system uses the first number in the range for the association.
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 assign VLAN 5 to a private VLAN as the primary VLAN:
switch# configure terminal
switch(config)# vlan 5
switch(config-vlan)# private-vlan primary
This example shows how to assign VLAN 100 to a private VLAN as a community VLAN:
switch(config-vlan)# exit
switch(config)# vlan 100
switch(config-vlan)# private-vlan community
This example shows how to assign VLAN 109 to a private VLAN as an insolated VLAN:
switch(config-vlan)# exit
switch(config)# vlan 109
switch(config-vlan)# private-vlan isolated
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.