Users Guide

Layer 2 Switching Commands 855
console(config)# vlan 1001
console(config-vlan)# private-vlan isolated
console(config-vlan)# exit
console(config)# vlan 1002
console(config-vlan)# private-vlan community
console(config-vlan)# exit
console(config)# vlan 1003
console(config-vlan)# private-vlan community
console(config-vlan)# exit
console(config)# vlan 20
console(config-vlan)# private-vlan association 1001-1003
console(config-vlan)# end
protocol group
Use the protocol group command in VLAN Configuration mode to attach a
VLAN ID to the protocol-based group identified by groupid. A group may
only be associated with one VLAN at a time. However, the VLAN association
can be changed. The referenced VLAN should be created prior to the creation
of the protocol-based group except when GVRP is expected to create the
VLAN.
To detach the VLAN from this protocol-based group identified by this
groupid, use the no form of this command.
Syntax
protocol group group-id vlan-id
no protocol group group-id vlan-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.
vlan-id — A valid VLAN ID.
Default Configuration
This command has no default configuration.
Command Mode
VLAN Configuration mode