Place the Secondary VLANs in a Primary VLAN
A primary VLAN is a port-based VLAN that is specifically designated as a private VLAN. Doing so
enables the VLAN to be divided into secondary VLANs.
Step
Task
1
Access INTERFACE VLAN mode
for the VLAN that you want to make
the primary VLAN.
2
Designate a VLAN as a primary
VLAN.
3
Map secondary VLANs to the
primary VLAN.
4
Add promiscuous ports as tagged or
untagged interfaces. Add trunk ports
as tagged.
5
Enable Proxy ARPing on the primary
VLAN to enable Layer 3
communication between hosts on
different secondary VLANs.
Private VLAN show Commands
Table 39-1. Private VLAN Commands
Task
Display type and status of PVLAN interfaces.
Display PVLANs and/or interfaces that are part
of a PVLAN.
Display primary-secondary VLAN mapping.
834
|
Private VLANs
Command Syntax
interface vlan vlan-id
private-vlan mode primary
private-vlan mapping secondary-vlan vlan-list
tagged
untagged
{
|
}
interface
ip local-proxy-arp
Command Syntax
show interfaces private-vlan
interface]
[ community |
show vlan private-vlan
interface | isolated | primary | primary_vlan
| interface interface]
show vlan private-vlan mapping
Command Mode
CONFIGURATION
INTERFACE VLAN
INTERFACE VLAN
INTERFACE VLAN
INTERFACE VLAN
Command Mode
[ interface
EXEC Privilege
EXEC Privilege
EXEC Privilege