Users Guide

Layer 2 Switching Commands 883
• association trunk—Associates a primary VLAN with a secondary isolated
VLAN. Multiple private VLAN pairs may be configured.
Default Configuration
This command has no default association or mapping configuration.
Command Mode
Interface Configuration (Ethernet or port-channel)
User Guidelines
The no switchport private-vlan mapping trunk primary-vlan-id syntax
removes the mapping of the trunk port to the primary VLAN (and all the
secondary VLANs) specified.
The no switchport private-vlan mapping trunk syntax removes the mapping
of the trunk port to all the previously configured primary VLANs (and all the
corresponding secondary VLANs).
The no switchport private-vlan trunk allowed vlan vlan-list syntax removes
all the allowed normal VLANs on a promiscuous trunk port.
The no switchport private-vlan trunk native vlan vlan-id syntax removes the
native VLANs on promiscuous trunk port.
The no switchport private-vlan association trunk syntax removes the
associations of all the primary VLANs with the secondary VLANs on an
isolated trunk port.
The no switchport private-vlan association trunk primary-vlan-id syntax
removes the association of a specific primary VLAN on the isolated trunk
port. The secondary VLAN association is also removed.
Command History
Syntax updated in version 6.6 firmware.
Example
console(config)#vlan 10,20
console(config-vlan10,20)#exit
console(config)#interface gigabitethernet 1/0/8
console(config-if-Gi1/0/8)#switchport private-vlan host-association 10 20