Configuring L2 Multicast Features 745
Configuring IGMP Snooping
Beginning in Privileged EXEC mode, use the following commands to 
configure IGMP snooping settings on the switch, ports, and LAGs. 
Command Purpose
configure Enter global configuration mode.
ip igmp snooping Enable IGMP snooping on the switch.
interface 
interface
Enter interface configuration mode for the specified port 
or LAG. The 
interface
 variable includes the interface type 
and number, for example gigabitethernet 1/0/3. For a 
LAG, the interface type is port-channel.
You can also specify a range of ports with the interface 
range command, for example, interface range 
gigabitethernet 1/0/8-12 configures interfaces 8, 9, 10, 11, 
and 12.
ip igmp snooping Enable IGMP snooping (auto-learn) on the interface.
ip igmp snooping host-
time-out 
time-out
Specify the host time-out value for the interface. If an 
IGMP report for a multicast group is not received in the 
number of seconds specified by the 
time-out
 value, this 
interface is deleted from the member list of that multicast 
group. 
ip igmp snooping leave-
time-out {
time-out 
|
 
immediate-leave}
Specify the leave time-out value for an interface. If an 
IGMP report for a multicast group is not received within 
the number of seconds specified by the leave-time-out 
period after an IGMP leave was received from a specific 
interface, the current interface is deleted from the 
member list of that multicast group. 
•
time-out
 — Specifies the leave-time-out in seconds. 
(Range: 1 - 25)
•
immediate-leave
 — Specifies that the interface should 
be removed immediately from the members list after 
receiving IGMP Leave.
ip igmp snooping 
mrouter-time-out 
time-
out
Specify the multicast router time-out value for an 
interface. This command sets the number of seconds to 
wait to age out an automatically-learned multicast router 
port.