23-9
Software Configuration Guide—Release 15.0(2)SG
OL-23818-01
Chapter 23 Configuring IGMP Snooping and Filtering Configuring IGMP Snooping
This example shows how to enable IGMP immediate-leave processing on interface VLAN 200 and to
verify the configuration:
Switch# configure terminal
Switch(config)# ip igmp snooping vlan 200 immediate-leave
Configuring immediate leave on vlan 200
Switch(config)# end
Switch# show ip igmp interface vlan 200 | include immediate leave
Immediate leave : Disabled
Switch(config)#
Configuring the IGMP Leave Timer
Follows these guidelines when configuring the IGMP leave timer:
You can configure the leave time globally or per-VLAN.
Configuring the leave time on a VLAN overrides the global setting.
The default leave time is 1000 milliseconds.
The IGMP configurable leave time is only supported on hosts running IGMP Version 2.
The actual leave latency in the network is usually the configured leave time. However , the leave time
might vary around the configured time, depending on real-time CPU load conditions, network delays
and the amount of traffic sent through the interface.
To enable the IGMP configurable-leave timer, perform this task:
This example shows how to enable the IGMP configurable-leave timer and to verify the configuration:
Switch# configure terminal
Switch(config)# ip igmp snooping last-member-query-interval 200
Switch(config)# ip igmp snooping vlan 10 last-member-query-interval 500
Switch(config)# end
Command Purpose
Step 1 Switch# configure terminal Enters global configuration mode.
Step 2 Switch(config)# ip igmp snooping
last-member-query-interval time Configures the IGMP leave timer globally. The range is 100 to
5000 milliseconds. The default is 1000 seconds.
To globally reset the IGMP leave timer to the default setting, use
the global configuration command
no ip igmp snooping last-member-query-interval.
Step 3 Switch(config)# ip igmp snooping vlan
vlan_ID last-member-query-interval time (Optional) Configures the IGMP leave time on the VLAN
interface. The range is 100 to 5000 milliseconds.
To remove the configured IGMP leave-time setting from the
specified VLAN, use the global configuration command
no ip igmp snooping vlan vlan-id last-member-query-interval
Note Configuring the leave time on a VLAN overrides the
globally configured timer.
Step 4 Switch(config)# end Returns to privileged EXEC mode.
Step 5 Switch# show ip igmp snooping (Optional) Displays the configured IGMP leave time.
Step 6 Switch# copy running-config
startup-config (Optional) Saves your entries in the configuration file.