Switchport Type; Switchport Allowed Vlan - TP-Link TL-SG5412F Reference Manual

24-port gigabit l2 managed switch with 4 sfp slots; 12-port gigabit sfp l2 managed switch with 4 combo 1000base-t ports
Hide thumbs Also See for TL-SG5412F:
Table of Contents

Advertisement

Example
Specify the description string of the VLAN 2 as "vlan2":
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 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 )
17

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tl-sg5428

Table of Contents