Example
Configure host type Fast Ethernet port 3 as a member of primary VLAN 3 and
secondary VLAN 4:
TL-SL5428E(config)#interface fastEthernet 1/0/3
TL-SL5428E(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 fastEthernet / interface range
fastEthernet / interface gigabitEthernet / interface range gigabitEthernet)
Example
Configure promiscuous type Fast Ethernet port 3 as a member of primary VLAN
3 and secondary VLAN 4:
TL-SL5428E(config)#interface fastEthernet 1/0/3
TL-SL5428E(config-if)#switchport private-vlan mapping 3 4
TL-SL5428E
JetStream L2 Managed Switch CLI Guide
54
Need help?
Do you have a question about the JetStream TL-SL5428E and is the answer not in the manual?