CLI Reference Guide

38
Command Mode
VLAN Configuration Mode (VLAN)
Example
Configure the VLAN 4 as the sencondary VLAN of the private VLAN:
TL-SG5428(config)#vlan 4
TL-SG5428(config-vlan)#private-vlan secondary
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 4049.
Command Mode
VLAN Configuration Mode (VLAN)
Example
Associate primary VLAN 3 with secondary VLAN 4 as a private VLAN:
TL-SG5428(config)#vlan 3
TL-SG5428(config-vlan)#private-vlan association 4
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.