49
7.4 private-vlan association
Description
The private-vlan association command is used to associate primary VLAN
with secondary VLAN. To exterminate the currently association, please use no
private-vlan association command.
Syntax
private-vlan association vlan_list
no private-vlan association vlan_list
Parameter
vlan_list —— Secondary VLAN ID, ranging from 2 to 4094.
Command Mode
VLAN Configuration Mode (VLAN)
Privilege Requirement
Only Admin and Operator level users have access to these commands.
Example
Associate primary VLAN 3 with community VLAN 4 as a private VLAN:
T2600G-28TS(config)#vlan 3
T2600G-28TS(config-vlan)#private-vlan association 4
7.5 switchport private-vlan
Description
The switchport private-vlan command is used to configure the private VLAN
mode for the switchport. To invalid the configuration, please use no switchport
private-vlan command.
Syntax
switchport private-vlan { promiscuous | host }
no switchport private-vlan
Parameter
promiscuous | host —— Configure the private VLAN mode for the switchport.