Configuring L2 Multicast Features 755Configuring IGMP SnoopingBeginning in Privileged EXEC mode, use the following commands toconfigure IGMP snooping settings on the switch, ports, and LAGs.Command Purposeconfigure Enter global configuration mode.ip igmp snooping Enable IGMP snooping on the switch.interfaceinterface Enter interface configuration mode for the specified portor LAG. Theinterface variable includes the interface typeand number, for example gigabitethernet 1/0/3. For aLAG, the interface type is port-channel.You can also specify a range of ports with the interfacerange command, for example, interface rangegigabitethernet 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-outtime-outSpecify the host time-out value for the interface. If anIGMP report for a multicast group is not received in thenumber of seconds specified by thetime-out value, thisinterface is deleted from the member list of that multicastgroup.ip igmp snooping leave-time-out {time-out |immediate-leave}Specify the leave time-out value for an interface. If anIGMP report for a multicast group is not received withinthe number of seconds specified by the leave-time-outperiod after an IGMP leave was received from a specificinterface, the current interface is deleted from themember list of that multicast group.•time-out — Specifies the leave-time-out in seconds.(Range: 1 - 25)• immediate-leave — Specifies that the interface shouldbe removed immediately from the members list afterreceiving IGMP Leave.ip igmp snoopingmrouter-time-outtime-outSpecify the multicast router time-out value for aninterface. This command sets the number of seconds towait to age out an automatically-learned multicast routerport.