21-25
Catalyst2950 and Catalyst2955 Switch Software Configuration Guide
78-11380-10
Chapter21 Configuring IGMP Snooping and M VR Configuring IGMP Filtering and Throttling
Setting the Maximum Number of IGMP Groups
You can set the maximum number of IGMP groups that a Layer 2 interface can join by using the ip igmp
max-groups interface configuration command. Use the no form of this command to set the maximum
back to the default, which is no limit.
You can use this command on an logical EtherChannel interface but cannot use it on p orts th at bel ong
to an EtherChannel port group.
Beginning in privileged EXEC mode, follow these steps to set the maximum number of IGMP groups in
the forwarding table:
To remove the maximum group limitation and return to the default of no maximum, use the no ip igmp
max-groups interface configuration command.
This example shows how to limit to 25 the number of IGMP groups that an interface can join.
Switch(config)# interface fastethernet0/2
Switch(config-if)# ip igmp max-groups 25
Switch(config-if)# end
Configuring the IGMP Throttling Action
After you set the maximum number of IGMP groups that a Layer 2 interface can join, you can configure
an interface to remove a randomly selected multicast entry in the forwarding table and to add the next
IGMP group to it by using the ip igmp max-groups action replace interface configuration command.
Use the no form of this command to return to the default, which is to drop the IGMP join report.
Follow these guidelines when configuring the IGMP throttling action:
You can use this command on a logic al Ethe rChann el interf ace b ut ca nnot us e it on p orts that belong
to an EtherChannel port group.
When the maximum group limitation is set to the default (no maximum), entering the ip igmp
max-groups action {deny | replace} command has no effect.
Command Purpose
Step1 configure terminal Enter global configuration mode.
Step2 interface interface-id Enter interface configuration mode by entering the physical interface to
configure. The interface can be a Layer 2 port that does not belong to an
EtherChannel group or a EtherChannel interface.
Step3 ip igmp max-groups number Set the maximum number of IGMP groups that the interface can join.
The range is from 0 to 4294967294. The default is to have no maximum
set.
Step4 end Return to privileged EXEC mode.
Step5 show running-configuration interface
interface-id Verify the configuration.
Step6 copy running-config startup-config (Optional) Save your entries in the configuration file.