Switchport Mode; Switchport Access Vlan - TP-Link T2700G-28TQ Cli Reference Manual

Jetstream 28-port gigabit stackable l2+ managed switch
Hide thumbs Also See for T2700G-28TQ:
Table of Contents

Advertisement

T2700G-28TQ
JetStream 28-Port Gigabit Stackable L2+ Managed Switch CLI Guide
Example
Specify the description string of the VLAN 2 as "VLAN002":
T2700G-28TQ(config)#vlan 2
T2700G-28TQ(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/
interface ten-gigabitEthernet / interface range ten-gigabitEthernet)
Example
Specify the Link Type of Gigabit Ethernet port 1/0/3 as "trunk":
T2700G-28TQ(config)#interface gigabitEthernet 1/0/3
T2700G-28TQ(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
36

Advertisement

Table of Contents
loading

Table of Contents