20-12
Catalyst 2960 Switch SoftwareConfiguration Guide
78-16881-01
Chapter20 Configuring IGMP Snooping and MVR
Configuring IGMP Snooping
Recovering from Flood Mode
When a topology change occurs, the spanning-tree root sends a special IG MP leave message (also known
as global leave) with the group multicast address 0.0.0.0. However, when you enable the ip igmp
snooping tcn query solicit global configuration command, the switch sends the global leave message
whether or not it is the spanning-tree root. When the router receives this special leave, it immediately
sends general queries, which expedite the process of recovering from the flood mode during the TCN
event. Leaves are always sent if the switch is the spanning-tree root regardless of this configuration
command. By default, query solicitation is disabled.
Beginning in privileged EXEC mode, follow these steps to enable the switch to send the global leave
message whether or not it is the spanning-tree root:
To return to the default query solicitation, use the no ip igmp snooping tcn query solicit global
configuration command.
Disabling Multicast Flooding During a TCN Event
When the switch receives a TCN, multicast traffic is flooded to all the ports until two general queries are
received. If the switch has many ports with attached hosts that are subscribed to different multicast
groups, the flooding might exceed the capacity of the link and cause packet loss. You can use the ip igmp
snooping tcn flood interface configuration command to control this behavior.
Beginning in privileged EXEC mode, follow these steps to disable multicast flooding on an interface:
To re-enable multicast flooding on an interface, use the ip igmp snooping tcn flood interface
configuration command.
Command Purpose
Step1 configure terminal Enter global configuration mode.
Step2 ip igmp snooping tcn query solicit Send an IGMP leave message (global leave) to speed the process of
recovering from the flood mode caused during a TCN event. By
default, query solicitation is disabled.
Step3 end Return to privileged EXEC mode.
Step4 show ip igmp snooping Verify the TCN settings.
Step5 copy running-config startup-config (Optional) Save your entries in the configuration file.
Command Purpose
Step1 configure terminal Enter global configuration mode.
Step2 interface interface-id Specify the interface to be configured, and enter interface
configuration mode.
Step3 no ip igmp snooping tcn flood Disable the flooding of multicast traffic during a spanning-tree TCN
event.
By default, multicast flooding is enabled on an interface.
Step4 exit Return to privileged EXEC mode.
Step5 show ip igmp snooping Verify the TCN settings.
Step6 copy running-config startup-config (Optional) Save your entries in the configuration file.