30 
Command Mode 
Interface Configuration Mode (interface gigabitEthernet / interface range 
gigabitEthernet / interface port-channel / interface range port-channel) 
Privilege Requirement 
Only Admin, Operator and Power User level users have access to these 
commands. 
Example 
Configure Gigabit Ethernet port 1/0/3 whose link type is “access” to VLAN 2: 
T2600G-28TS(config)#interface gigabitEthernet 1/0/3 
T2600G-28TS(config-if)#switchport access vlan 2 
3.6  switchport trunk allowed vlan 
Description 
The switchport trunk allowed vlan command is used to add the desired Trunk 
port to IEEE 802.1Q VLAN. To remove a Trunk port from the corresponding 
VLAN, please use no switchport trunk allowed vlan command. 
Syntax 
switchport trunk allowed vlan { vlan-list } 
no switchport trunk allowed vlan { vlan-list } 
Parameter 
vlan-list —— VLAN ID list, ranging from 2 to 4094, in the format of 2-3, 5. It is 
multi-optional. 
Command Mode 
Interface Configuration Mode (interface gigabitEthernet / interface range 
gigabitEthernet / interface port-channel / interface range port-channel) 
Privilege Requirement 
Only Admin, Operator and Power User level users have access to these 
commands. 
Example 
Configure the link type of port 2 as trunk and add it to VLAN 2: 
T2600G-28TS(config)#interface gigabitEthernet 1/0/2