Switchport Private-Vlan Mapping; Show Vlan Private-Vlan - TP-Link TL-SG5428 Cli Reference Manual

24-port gigabit l2 managed switch with 4 sfp slots; 12-port gigabit sfp l2 managed switch with 4 combo 1000base-t ports
Hide thumbs Also See for TL-SG5428:
Table of Contents

Advertisement

secondary VLAN 4:
TL-SG5428(config)#interface gigabitEthernet 1/0/3
TL-SG5428(config-if)#switchport private-vlan host-association 3 4

switchport private-vlan mapping

Description
The switchport private-vlan mapping command is used to add promiscuous
type port to private VLAN. To remove the port from Private VLAN, please use no
switchport private-vlan mapping command.
Syntax
switchport private-vlan mapping primary_vlan_id secondary_vlan_id
no switchport private-vlan mapping primary_vlan_id secondary_vlan_id
Parameter
primary-vlan-id —— Primary VLAN ID, ranging from 2 to 4094.
secondary-vlan-id —— Secondary VLAN ID, ranging from 2 to 4094.
Command Mode
Interface Configuration Mode (interface gigabitEthernet / interface range
gigabitEthernet)
Example
Configure promiscuous type Gigabit Ethernet port 3 as a member of primary
VLAN 3 and secondary VLAN 4:
TL-SG5428(config)#interface gigabitEthernet 1/0/3
TL-SG5428(config-if)#switchport private-vlan mapping 3 4

show vlan private-vlan

Description
The show vlan private-vlan command is used to display the Private VLAN
configuration information of the switch.
Syntax
show vlan private-vlan
40

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tl-sg5412f

Table of Contents