The documentation set for this product strives to use bias-free language. For the purposes of this documentation set, bias-free is defined as language that does not imply discrimination based on age, disability, gender, racial identity, ethnic identity, sexual orientation, socioeconomic status, and intersectionality. Exceptions may be present in the documentation due to language that is hardcoded in the user interfaces of the product software, language used based on RFP documentation, or language that is used by a referenced third-party product. Learn more about how Cisco is using Inclusive Language.
This chapter contains the following sections:
Private VLANs (PVLANs) are used to segregate Layer 2 ISP traffic and convey it to a single router interface. PVLANs achieve device isolation by applying Layer 2 forwarding constraints that allow end devices to share the same IP subnet while being Layer 2 isolated. In turn, the use of larger subnets reduces address management overhead.
For more information about PVLANs, see the Cisco Nexus 1000V Layer 2 Switching Configuration Guide.
These examples show different ways that port profiles can be configured as private VLANs:
switch# configure terminal Enter configuration commands, one per line. End with CNTL/Z. switch(config)# port-profile type vethernet pv154 switch(config-port-prof)# publish port-profile switch(config-port-prof)# switchport mode private-vlan host switch(config-port-prof)# switchport private-vlan host-association 153 154 switch(config-port-prof)# no shutdown switch(config-port-prof)# state enabled switch(config-port-prof)# show run port-profile pv154 !Command: show running-config port-profile pv154 !Time: Wed Nov 5 11:48:03 2014 version 5.2(1)SV3(2.1) port-profile type vethernet pv154 publish port-profile switchport mode private-vlan host switchport private-vlan host-association 153 154 no shutdown max-ports 1024 state enabled switch(config-port-prof)# port-profile type vethernet pvprom switch(config-port-prof)# publish port-profile switch(config-port-prof)# switchport mode private-vlan promiscuous switch(config-port-prof)# switchport private-vlan mapping 153 154-155 switch(config-port-prof)# no shutdown switch(config-port-prof)# state enabled switch(config-port-prof)# show run port-profile p-c-154 !Command: show running-config port-profile p-c-154 !Time: Wed Nov 5 11:48:03 2014 version 5.2(1)SV3(2.1) port-profile type vethernet p-c-154 switchport mode private-vlan host switchport private-vlan host-association 153 154 no shutdown guid b92d5f70-50ad-49e9-99a4-2b13fba802ff state enabled publish port-profile
Feature Name |
Release |
Feature Information |
---|---|---|
Private VLAN Port Profiles |
5.2(1)SK3(2.1) |
This feature was introduced. |