Layer 2 Switching Commands 797console(config-if-Gi1/0/1)#protocol vlan group 2protocol vlan group allUse the protocol vlan group all command in Global Configuration mode toadd all physical interfaces to the protocol-based group identified by groupid.A group may have more than one interface associated with it. Each interfaceand protocol combination can be associated with one group only. If adding aninterface to a group causes any conflicts with protocols currently associatedwith the group, this command fails and the interface(s) are not added to thegroup. Ensure that the referenced VLAN is created prior to the creation of theprotocol-based group except when GVRP is expected to create the VLAN.To remove all interfaces from this protocol-based group that is identified bythis groupid, use the no form of the commandSyntaxprotocol vlan group all group-idno protocol vlan group all group-id• group-id — The protocol-based VLAN group ID, which is automaticallygenerated when you create a protocol-based VLAN group with the vlanprotocol group command. To see the group ID associated with the nameof a protocol group, use the show port protocol all command.Default ConfigurationThis command has no default configuration.Command ModeGlobal Configuration modeUser GuidelinesThis command has no user guidelines.ExampleThe following example displays how to add all physical interfaces to theprotocol-based group identified by group ID “2.”console(config)#protocol vlan group all 2