606 VLAN Commands
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.
To remove the protocol from the protocol-based VLAN group identified by
groupid
, use the no form of this command.
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.
•
ethertype
— The protocol you want to add. The ethertype can be any valid
hexadecimal 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
ethertype 0xXXXX
vlan protocol group name
This is a new command for assigning a group name to
vlan protocol group id
.