Administrator Guide

Layer 2 Switching Commands 813
interface(s) are not added to the group. Ensure that the referenced VLAN is
created prior to the creation of the protocol-based group except when GVRP
is expected to create the VLAN.
To remove the interface from this protocol-based VLAN group that is
identified by this
groupid
, use the no form of this command.
If you select all, all ports are removed from this protocol group.
Syntax
protocol vlan group
group-id
no protocol vlan group
group-id
group-id
— 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.
Default Configuration
This command has no default configuration.
Command Mode
Interface Configuration (Ethernet) mode
User Guidelines
This command has no user guidelines.
Example
The following example displays how to add an Ethernet interface to the group
ID of "2."
console(config-if-Gi1/0/1)#protocol vlan group 2
protocol vlan group all
Use the protocol vlan group all command in Global Configuration mode to
add all physical interfaces to the protocol-based group identified by
groupid
.
A group may have more than one interface associated with it. Each interface
and protocol combination can be associated with one group only. If adding an
2CSNXXX_SWUM204.book Page 813 Monday, January 25, 2016 1:25 PM