Chapter 21
Configuring IGMP Snooping and MVR
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 filter profile number
Step 4
end
Step 5
show running-config interface
interface-id
Step 6
copy running-config startup-config
To remove a profile from an interface, use the no ip igmp filter profile number interface configuration
command.
This example shows how to apply IGMP profile 4 to a port:
Switch(config)# interface gigabitethernet1/0/2
Switch(config-if)# ip igmp filter 4
Switch(config-if)# 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
max-groups interface configuration command. Use the no form of this command to set the maximum
back to the default, which is 208.
You can use this command on a logical EtherChannel interface but cannot use it on ports that belong 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:
Command
Step 1
configure terminal
Step 2
interface interface-id
Step 3
ip igmp max-groups number
Step 4
end
Step 5
show running-config interface
interface-id
Step 6
copy running-config startup-config
OL-26520-01
Purpose
Enter global configuration mode.
Specify the physical interface, and enter interface configuration mode.
The interface must be a Layer 2 port that does not belong to an
EtherChannel port group.
Apply the specified IGMP profile to the interface. The range is
1 to 4294967295.
Return to privileged EXEC mode.
Verify the configuration.
(Optional) Save your entries in the configuration file.
Purpose
Enter global configuration mode.
Specify the interface to be configured, and enter interface configuration
mode. The interface can be a Layer 2 port that does not belong to an
EtherChannel group or a EtherChannel interface.
Set the maximum number of IGMP groups that the interface can join.
The range is 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 2960 and 2960-S Switches Software Configuration Guide, Release 15.0(1)SE
Configuring IGMP Filtering and Throttling
21-27