Command Line Interface
8711553-KDU 137 365 Uen D 2006-06-16
• Private VLAN ports cannot be set to trunked mode. (See the
switchport mode command, section 7.17.6 on page 857.)
Example
Related Commands
private vlan association (section 7.17.17 on page 871)
7.17.17 private vlan association
This command associates a primary VLAN with an isolated VLAN. Use the no
form to remove all associations for the specified primary VLAN.
Syntax
private-vlan <primary-vlan-id> association {<isolated-
vlan-id> | add <isolated-vlan-id> | remove
<isolated-vlan-id>}
no private-vlan <primary-vlan-id> association
• primary-vlan-id – ID of primary VLAN.
(Range: 1-4094, no leading zeroes).
• isolated-vlan-id – ID of isolated VLAN. (Range: 1-4094, no
leading zeroes).
Default Setting
None
Command Mode
VLAN Configuration
Console(config)#vlan database
Console(config-vlan)#private-vlan 2 primary
Console(config-vlan)#private-vlan 3 isolated
Console(config-vlan)#private-vlan 4 isolated
Console(config)#