JetStream  52-Port Gigabit Stackable L3 Managed Switch  CLI Guide 
 
T3700G-52TQ(config)#interface gigabitEthernet 1/0/2 
T3700G-52TQ(config-if)#switchport mode trunk 
T3700G-52TQ(config-if)#switchport trunk allowed vlan 2 
4.7  switchport general allowed vlan 
Description 
The  switchport general allowed vlan command is used to add the desired 
General port to IEEE 802.1Q VLAN, or to remove a port from the 
corresponding VLAN. 
Syntax 
switchport general allowed vlan 
vlan-list 
{ tagged | untagged } 
no switchport general allowed vlan 
vlan-list 
 
Parameter 
vlan-list
 —— VLAN ID list, ranging from 1 to 4093, in the format of 2-3, 5. It is 
multi-optional. 
tagged | untagged —— egress-rule. 
Command Mode 
Interface Configuration Mode (interface fastEthernet / interface range 
fastEthernet / interface gigabitEthernet / interface range gigabitEthernet/ 
interface ten-gigabitEthernet / interface range ten-gigabitEthernet) 
Example 
Configure Gigabit Ethernet port 1/0/4 whose link type is “general” to VLAN 2 
and its egress-rule as “tagged”: 
T3700G-52TQ(config)#interface gigabitEthernet 1/0/4 
T3700G-52TQ(config-if)#switchport mode general 
T3700G-52TQ(config-if)#switchport general allowed vlan 2 tagged 
34