Switchport Type; Switchport Allowed Vlan - TP-Link TL-SL5428E Cli Reference Manual

24-port 10/100mbps + 4-port gigabit l2 managed switch
Hide thumbs Also See for TL-SL5428E:
Table of Contents

Advertisement

TL-SL5428E
24-port 10/100Mbps + 4-port Gigabit L2 Managed Switch CLI Guide
TP-LINK(config)# interface vlan 2
TP-LINK(config-if)#description vlan2

switchport type

Description
The switchport type command is used to configure the Link Types for the
ports.
Syntax
switchport type { access | trunk | general }
Parameter
access | trunk | general —— Link Types. There are three Link Types for the
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 correspounding 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:
18

Advertisement

Table of Contents
loading

Table of Contents