Example
Specify the description string of the VLAN 2 as "VLAN002":
TL-SL5428E(config)#vlan 2
TL-SL5428E(config-vlan)#name VLAN002
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-SL5428E(config)#interface fastEthernet 1/0/3
TL-SL5428E(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
TL-SL5428E
JetStream L2 Managed Switch CLI Guide
28
Need help?
Do you have a question about the JetStream TL-SL5428E and is the answer not in the manual?