50 
Command Mode 
Interface Configuration Mode (interface gigabitEthernet / interface range 
gigabitEthernet / interface port-channel / interface range port-channel) 
Privilege Requirement 
Only Admin and Operator level users have access to these commands. 
Example 
Configure Gigabit Ethernet port 3 as “host”: 
T2600G-28TS(config)#interface gigabitEthernet 1/0/3 
T2600G-28TS(config-if)#switchport private-vlan host 
7.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 
vlantype 
no switchport private-vlan host-association 
Parameter 
primary-vlan-id —— Primary VLAN ID, ranging from 2 to 4094. 
secondary-vlan-id —— Secondary VLAN ID, ranging from 2 to 4094. 
vlantype    ——  Specify the type of the secondary VLAN, either community or 
isolated. 
Command Mode 
Interface Configuration Mode (interface gigabitEthernet / interface range 
gigabitEthernet / interface port-channel / interface range port-channel) 
Privilege Requirement 
Only Admin and Operator level users have access to these commands.