Configuring VLANs 609
Command Purpose
configure Enter global configuration mode.
vlan protocol group 
name
Create a new protocol group.
exit Exit to Privileged EXEC mode.
show port protocol all Obtain the group ID for the newly configured group.
configure Enter global configuration mode.
vlan protocol group add 
protocol 
groupid 
ethertype 
value
Add any EtherType protocol to the protocol-based VLAN 
groups identified by 
groupid
. A group may have more than 
one protocol associated with it. Each interface and 
protocol combination can be associated with one group 
only. If adding a protocol to a group causes any conflicts 
with interfaces currently associated with the group, this 
command fails and the protocol is not added to the group.
•
groupid
 — The protocol-based VLAN group ID.
•
protocol
 — The protocol you want to add. The ethertype 
can be any valid number in the range 0x0600-0xffff.
protocol vlan group all 
groupid
(Optional) Add all physical interfaces to the protocol-
based group identified by 
groupid
. You can add individual 
interfaces to the protocol-based group as shown in the next 
two commands.
groupid
 — The protocol-based VLAN group ID.
interface 
interface
Enter interface configuration mode for the specified 
interface. 
interface
 — Specific interface type and number, such as 
gi1/0/8. 
protocol vlan group 
groupid
Add the physical unit/port interface to the protocol-based 
group identified by groupid. 
groupid
 — The protocol-based VLAN group ID.
exit Exit to global configuration mode.
vlan database Enter VLAN database mode.