17-23
Catalyst 2950 Desktop Switch Software Configuration Guide
78-14982-01
Chapter 17 Configuring IGMP Snooping and M V R Con f ig u ri n g IG M P F ilt e ri n g
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

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
mac-groups interfa ce con figuration co mm and. Us e the no form of this command to set the maximum
back to the default, which is no limit.
You ca nno t use this com ma nd on por ts tha t b elon g to a n Ethe rC hanne l po rt g rou p.
Beginning in privileged EXEC mode, follow these steps to apply an IGMP profile to a switch port:
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)# 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
Command Purpose
Step 1 configure terminal Enter globa l configurati on mode.
Step 2 interface interface-id Enter interface configuration mode, and enter the physical interface to
configure, fo r exampl e gigabitethernet0/1. The interface must be a
Layer 2 port t hat does not bel ong to an Ethe rCha nnel grou p.
Step 3 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.
Step 4 end Return to privileged EXEC mode.
Step 5 show running-configuration interface
interface-id Verify the configuration.
Step 6 copy running-config startup-config (Optiona l) Save your entries in the co nfigurati on file.