37
Chapter 7 Private VLAN Commands
Private VLANs are configured specially for saving VLAN resource of uplink devices and decreasing
broadcast.
private-vlan primary
Description
The private-vlan primary command is used to configure the designated VLAN
as the primary VLAN of the Private VLAN. To abolish the currently primary
VLAN, please use no private-vlan primary command.
Syntax
private-vlan primary
no private-vlan primary
Command Mode
VLAN Configuration Mode (VLAN)
Example
Configure the VLAN 3 as the primary VLAN of the private VLAN:
TL-SG5428(config)#vlan 3
TL-SG5428(config-vlan)#private-vlan primary
private-vlan secondary
Description
The private-vlan secondary command is used to configure the designated
VLAN as the secondary VLAN of the Private VLAN. To invalid the current
secondary VLAN, please use no private-vlan secondary command.
Syntax
private-vlan secondary
no private-vlan secondary