13
Parameter
vlan-id
—— Specify IEEE 802.1Q VLAN ID, ranging from 1 to 4094.
Command Mode
Global Configuration Mode
Example
Create VLAN Interface 2:
TL-SL2428(config)# interface vlan
2
name
Description
The
name
command is used to assign a description to a VLAN. To clear the
description, please use
no name
command.
Syntax
name
descript
no name
Parameter
descript
——String to describe the VLAN, which contains 16 characters at most.
Command Mode
VLAN Configuration Mode
(
VLAN
)
Example
Specify the name of VLAN 2 as “group1”:
TL-SL2428(config)# vlan
2
TL-SL2428(config-vlan)# name
group1
switchport general allowed vlan
Description
The
switchport general allowed vlan
command is used to add the desired
General port to IEEE 802.1Q VLAN and specify the port’s type. To delete the
corresponding VLAN(s), please use
no switchport general allowed vlan
command.
Syntax
switchport general allowed vlan
vlan-list
{ tagged | untagged }
no switchport general allowed vlan
vlan-list