TP-LINK TL-SG3424P ユーザーズマニュアル
![TP-LINK](https://files.manualsbrain.com/attachments/4d45e1da28d82d97a14cc52b904d065832fadc3e/common/fit/150/50/19c41f2620d27a16e36b513f2e907691223c5e6ec2f2f5e9ece0de10684a/brand_logo.png)
17
TP-LINK(config-if)#description
vlan2
switchport type
Description
The switchport type command is used to configure the Link Types for the
ports.
ports.
Syntax
switchport type
{ access | trunk | general }
Parameter
access | trunk | general —— Link Types. There are three Link Types for the
ports.
ports.
Command Mode
Interface Configuration Mode ( interface ethernet / interface range ethernet )
Example
Specify the Link Type of port 5 as general:
TP-LINK(config)# interface ethernet
5
TP-LINK(config-if)#switchport type
general
switchport allowed vlan
Description
The switchport allowed vlan command is used to add the desired port to IEEE
802.1Q VLAN,or to remove a port from the corresponding VLAN.
802.1Q VLAN,or to remove a port from the corresponding VLAN.
Syntax
switchport allowed vlan add vlan-list
switchport allowed vlan remove vlan-list
Parameter
vlan-list
—— VLAN ID list, it is multi-optional.
Command Mode
Interface Configuration Mode ( interface ethernet / interface range ethernet )
Example
Add port 2 to IEEE 802.1Q VLAN:
TP-LINK(config)# interface ethernet
2