Chapter 11
Configuring IGMP Snooping and MVR
Setting the Maximum Number of IGMP Groups
You can set the maximum number of IGMP groups that a Layer 2 interface can join. Use the no form of
this command to set the maximum back to the default, which is no limit.
This restriction can be applied to Layer 2 ports only; you cannot set a maximum number of IGMP groups
on routed ports or SVIs.
Beginning in privileged EXEC mode, follow these steps to apply an IGMP profile to a switch port:
Command
Step 1
configure terminal
Step 2
interface interface-id
Step 3
ip igmp max-groups number
Step 4
end
Step 5
show running-configuration interface
interface-id
Step 6
copy running-config startup-config
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 the number of IGMP groups that an interface can join to 25.
Switch# config t
Switch(config)# interface fastethernet0/12
Switch(config-if)# ip igmp max-groups 25
Switch(config-if)# end
Switch# show running-config interface fastethernet0/12
Building configuration...
Current configuration : 123 bytes
!
interface FastEthernet0/12
no ip address
shutdown
snmp trap link-status
ip igmp max-groups 25
ip igmp filter 4
end
78-11194-03
Purpose
Enter global configuration mode.
Enter interface configuration mode, and enter the physical interface to
configure, for example gigabitethernet0/1. The interface must be a
Layer 2 port.
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.
Return to privileged EXEC mode.
Verify the configuration.
(Optional) Save your entries in the configuration file.
Catalyst 3550 Multilayer Switch Software Configuration Guide
Configuring IGMP Filtering
11-23