TP-Link TL-SG5412F Switch User Manual


 
33
Chapter 7 Private VLAN Commands
Private VLANs are configured specially for saving VLAN resource of uplink devices and decreasing
broadcast.
private-vlan
Description
The private-vlan command is used to create a Private VLAN entry. To delete a
Private VLAN entry, please use no private-vlan command.
Syntax
private-vlan primary vlan-id secondary vlan-id
no private-vlan secondary vlan-id
Parameter
vlan-id —— VLAN ID, ranging from 2 to 4094.
Command Mode
Global Configuration Mode
Example
Create the Private VLAN as VLAN15 for primary VLAN and VLAN150 for
secondary VLAN:
TP-LINK(config)# private-vlan primary 15 secondary 150
switchport private-vlan
Description
The switchport private-vlan command is used to configure the private VLAN
mode for the switchport. To remove the port from Private VLAN, please use no
switchport private-vlan command.
Syntax
switchport private-vlan { promiscuous | host } primary-vid secondary-vid
no switchport private-vlan