JetStream  52-Port Gigabit Stackable L3 Managed Switch  CLI Guide 
 
9.6  switchport private-vlan host-association 
Description 
The switchport private-vlan host-association command is used to add host 
type port to private VLAN. To remove the port from Private VLAN, please use 
no switchport private-vlan host-association command. 
Syntax 
switchport private-vlan host-association
primary_vlan_id 
secondary_vlan_id 
no switchport private-vlan host-association
 
Parameter 
primary-vlan-id
 —— Primary VLAN ID, ranging from 2 to 4093. 
secondary-vlan-id
 —— Secondary VLAN ID, ranging from 2 to 4093. 
Command Mode 
Interface Configuration Mode (interface fastEthernet / interface range 
fastEthernet / interface gigabitEthernet / interface range gigabitEthernet/ 
interface ten-gigabitEthernet / interface range ten-gigabitEthernet) 
Example 
Configure host type Gigabit Ethernet port 1/0/3 as a member of primary 
VLAN 3 and secondary VLAN 4: 
T3700G-52TQ(config)#interface gigabitEthernet 1/0/3 
T3700G-52TQ(config-if)#switchport private-vlan host-association 3 4   
9.7  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
 
54