VLAN Commands 519
Syntax
vlan protocol group add protocol <
groupid> 
ethertype <
value
>
no vlan protocol group add protocol <
groupid> 
ethertype <
value
>
•
groupid
 — The protocol-based VLAN group ID, which is automatically generated when you 
create a protocol-based VLAN group with the 
vlan protocol group
 command. To see the 
group ID associated with the name of a protocol group, use the 
show port protocol all
 
command.
•
protocol
 — The protocol you want to add. The ethertype can be any valid number in the 
range 1536 to 65535.
Default Configuration
This command has no default configuration.
Command Mode
Global Configuration mode
User Guidelines
This command has no user guidelines.
Example
The following example displays how to add the "ip" protocol to the protocol based VLAN group 
identified as "2."
console(config)#vlan protocol group add protocol 2 ip ethertype 
0xXXXX
vlan protocol group name
Use the vlan protocol group name command in Global Configuration mode to assign a group 
name to a VLAN protocol group id.
Syntax
vlan protocol group name 
<groupid> <groupName>
no vlan protocol group name 
<groupid>
•
groupid
— The protocol-based VLAN group ID which is automatically generated when you 
create a protocol-based VLAN group with the 
vlan protocol group
 command. To see the 
group ID associated with the name of a protocol group, use the s
how port protocol all
 
command.