32
Example
Create a Protocol-based VLAN template named “TP” whose Ethernet
protocol type is 0x2024:
T1600G-52TS(config)#protocol-vlan template name TP frame ether_2
ether-type 2024
5.2 protocol-vlan vlan
Description
The protocol-vlan vlan command is used to create a Protocol-based VLAN.
To delete a Protocol-based VLAN, please use no protocol-vlan command.
Syntax
protocol-vlan vlan
vlan-id
{ template
template-idx
}
no protocol-vlan vlan
group-idx
Parameter
vlan-vid
—— Specify IEEE 802.1Q VLAN ID, ranging from 1-4094.
template-idx
——The number of the Protocol-based VLAN Template. You can
get the template corresponding to the number by the
show protocol-vlan
template command.
group-idx
——The number of the Protocol-based VLAN entry. You can get
the Protocol-based VLAN entry corresponding to the number by the
show
protocol-vlan vlan command.
Command Mode
Global Configuration Mode
Privilege Requirement
Only Admin, Operator and Power User level users have access to these
commands.
Example
Create Protocol-based VLAN 2 and bind it with Protocol-based VLAN
Template 3:
T1600G-52TS(config)# protocol-vlan vlan 2 template 3