22 
Chapter 5  Protocol VLAN Commands 
Protocol VLAN (Virtual Local Area Network) is the way to classify VLANs based on Protocols. A 
Protocol is relative to a single VLAN ID. The untagged packets and the priority-tagged packets 
matching the protocol template will be tagged with this VLAN ID. 
protocol-vlan template 
Description 
The  protocol-vlan template command is used to create or delete Protocol 
VLAN template. 
Syntax 
protocol-vlan template add {protocol-name} {ether-type} {frame-type} 
protocol-vlan template remove index 
Parameter 
protocol-name —— Give a name for    the Protocol Template , which contains 8 
characters at most. 
ether-type ——Enter the Ethernet protocol type field in the protocol template, 
composing 4 Hex integers. 
index  —— The number of the Protocol template.You can get the template 
corresponding to the number by the show protocol-vlan template command.   
frame-type ——Frame Type for the Protocol Templete. 
Command Mode 
Global Configuration Mode 
Example 
Create a Protocol VLAN template named “arp” whose Frame-type is ethernet2, 
Ethernet protocol type is 0806. Delete the Protocol template whose number is 2: 
TP-LINK(config)# protocol-vlan template add arp 0806 ethernet2 
TP-LINK(config)# protocol-vlan template remove 2 
protocol-vlan vlan 
Description 
The protocol-vlan vlan command is used to create a Protocol VLAN entry.To 
delete a Protocol VLAN entry ,please use no protocol-vlan command. 
Syntax