TP-LINK 24-Port 10/100Mbps + 4-Port Gigabit L2 Managed Switch TL-SL3428 Hoja De Datos

Los códigos de productos
TL-SL3428
Descargar
Página de 232
TL-SL3428/TL-SL3452
JetStream L2 Managed Switch CLI Guide
 
20
 
Example 
Configure Fast Ethernet port 3 whose link type is “access” to VLAN 2: 
TL-SL3428(config)#interface fastEthernet 1/0/3 
TL-SL3428(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, or to remove a port from the corresponding VLAN. 
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 Fast Ethernet port 2 whose link type is “trunk” to VLAN 2: 
TL-SL3428(config)#interface fastEthernet 1/0/2 
TL-SL3428(config-if)#switchport mode trunk 
TL-SL3428(config-if)#switchport trunk allowed vlan 2 
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.