ip igmp max-groups
•
•
Examples
This example shows how to limit to 25 the number of IGMP groups that a port can join.
Switch(config)# interface gigabitethernet1/0/2
Switch(config-if)# ip igmp max-groups 25
This example shows how to configure the switch to delete a random IGMP group in the forwarding table
and to add an entry for the IGMP group when the maximum number of entries is in the forwarding table:
Switch(config)# interface gigabitethernet2/0/1
Switch(config-if)# ip igmp max-groups action replace
You can verify your setting by using the show running-config privileged EXEC command and by
specifying an interface.
Related Commands
Command
show running-config interface
interface-id
Catalyst 3750 Switch Command Reference
2-144
If you configure the throttling action as replace and set the maximum group limitation, the entries
that were previously in the forwarding table are removed. When the maximum number of entries is
in the forwarding table, the switch deletes a randomly-selected entry and adds an entry for the next
IGMP report received on the interface.
When the maximum group limitation is set to the default (no maximum), entering the ip igmp
max-groups {deny | replace} command has no effect.
Chapter 2
Description
Displays the running configuration on the switch interface, including
the maximum number of IGMP groups that an interface can join and
the throttling action. For syntax information, select Cisco IOS
Configuration Fundamentals Command Reference, Release 12.2 >
File Management Commands > Configuration File Management
Commands.
Catalyst 3750 Switch Cisco IOS Commands
78-16181-03