Parameter
vlan-id —— Specify IEEE 802.1Q VLAN ID, ranging from 2 to 4094.
Command Mode
Interface Configuration Mode (interface fastEthernet / interface range
fastEthernet / interface gigabitEthernet / interface range gigabitEthernet)
Example
Configure Fast Ethernet port 3 whose link type is "access" to VLAN 2:
TL-SL5428E(config)#interface fastEthernet 1/0/3
TL-SL5428E(config-if)#switchport access vlan 2
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 fastEthernet / interface range
fastEthernet / interface gigabitEthernet / interface range gigabitEthernet)
Example
Configure the link type of port 2 as trunk and add it to VLAN 2:
TL-SL5428E(config)#interface fastEthernet 1/0/2
TL-SL5428E(config-if)#switchport mode trunk
TL-SL5428E(config-if)#switchport trunk allowed vlan 2
TL-SL5428E
JetStream L2 Managed Switch CLI Guide
29
Need help?
Do you have a question about the JetStream TL-SL5428E and is the answer not in the manual?