Switchport Trunk Allowed 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
no switchport access vlan
Parameter
vlan-id —— Specify IEEE 802.1Q VLAN ID, ranging from 2 to 4094.
Command Mode
Interface Configuration Mode (interface fastEthernet / interface range
fastEthernet / interface gigabitEthernet / interface range gigabitEthernet/
interface ten-gigabitEthernet / interface range ten-gigabitEthernet)
Example
Configure Gigabit Ethernet port 1/0/3 whose link type is "access" to VLAN 2:
T2700G-28TQ(config)#interface gigabitEthernet 1/0/3
T2700G-28TQ(config-if)#switchport access vlan 2

switchport trunk allowed vlan

Description
The switchport trunk allowed vlan command is used to add the desired Trunk
port to IEEE 802.1Q VLAN. To remove a Trunk port from the corresponding
VLAN, please use no switchport trunk allowed vlan command.
Syntax
switchport trunk allowed vlan { vlan-list | all }
no switchport trunk allowed vlan { vlan-list | all }
Parameter
vlan-list —— VLAN ID list, ranging from 2 to 4094, in the format of 2-3, 5. It is
multi-optional.
all —— Add the port to all of the existing VLANs.
Command Mode
Interface Configuration Mode (interface fastEthernet / interface range
fastEthernet / interface gigabitEthernet / interface range gigabitEthernet/
interface ten-gigabitEthernet / interface range ten-gigabitEthernet)
Example
Configure the link type of port 2 as trunk and add it to VLAN 2:
37

Advertisement

Table of Contents
loading

Table of Contents