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
 
19
 
switchport mode 
Description 
The  switchport mode command is used to configure the Link Types for the 
ports. 
Syntax 
switchport mode { access | trunk | general } 
Parameter 
access | trunk | general —— Link Types. There are three Link Types for the 
ports. 
Command Mode 
Interface Configuration Mode (interface fastEthernet / interface range 
fastEthernet / interface gigabitEthernet / interface range gigabitEthernet) 
Example 
Specify the Link Type of Fast Ethernet port 3 as “trunk”: 
TL-SL3428(config)#interface fastEthernet 1/0/3 
TL-SL3428(config-if)#switchport mode trunk 
switchport access vlan 
Description 
The switchport access vlan command is used to add the desired Access port 
to IEEE 802.1Q VLAN, or to remove a port from the corresponding VLAN. 
Syntax 
switchport access vlan vlan-id 
no switchport access vlan   
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)