20-13
Catalyst 2960 Switch SoftwareConfiguration Guide
78-16881-01
Chapter20 Configuring IGMP Snooping and MVR
Configuring IGMP Snooping
Configuring the IGMP Snooping Querier
Follow these guidelines when configuring the IGMP snooping querier:
Configure the VLAN in global configuration mode.
Configure an IP address on the VLAN interface. When enabled, the IGMP snooping querier uses the
IP address as the query source address.
If there is no IP address configured on the VLAN interface, the IGMP snooping querier tries to use
the configured global IP address for the IGMP querier. If there is no global IP address specified, the
IGMP querier tries to use the VLAN switch virtual interface (SVI) IP address (if one exists). If there
is no SVI IP address, the switch uses the first available IP address configured on the switch. The first
IP address available appears in the output of the show ip interface privileged EXEC command. The
IGMP snooping querier does not generate an IGMP general query if it cannot find an available IP
address on the switch.
The IGMP snooping querier supports IGMP Versions 1 and 2.
When administratively enabled, the IGMP snooping querier moves to the nonquerier state if it
detects the presence of a multicast router in the network.
When it is administratively enabled, the IGMP snooping querier moves to the operationally di sabled
state under these conditions:
IGMP snooping is disabled in the VLAN.
PIM is enabled on the SVI of the corresponding VLAN.
Beginning in privileged EXEC mode, follow these steps to enable the IGMP snooping que rier feature in
a VLAN:
Command Purpose
Step1 configure terminal Enter global configuration mode.
Step2 ip igmp snooping querier Enable the IGMP snooping querier.
Step3 ip igmp snooping querier address
ip_address
(Optional) Specify an IP address for the IGMP snooping querier. If
you do not specify an IP address, the querier tries to use the global IP
address configured for the IGMP querier.
Note The IGMP snooping querier does not generate an IG MP
general query if it cannot find an IP address on the switch.
Step4 ip igmp snooping querier query-interval
interval-count
(Optional) Set the interval between IGMP queriers. The range is 1 to
18000 seconds.
Step5 ip igmp snooping querier tcn query [count
count | interval interval]
(Optional) Set the time between Topology Change Notification
(TCN) queries. The count range is 1 to 10. The interval range is 1 to
255 seconds.
Step6 ip igmp snooping querier timer expiry
timeout
(Optional) Set the length of time until the IGMP querier expires.The
range is 60 to 300 seconds.
Step7 ip igmp snooping querier version version (Optional) Select the IGMP version number that the querier feature
uses. Select 1 or 2.
Step8 end Return to privileged EXEC mode.
Step9 show ip igmp snooping vlan vlan-id (Optional) Verify that the IGMP snooping querier is enabled on the
VLAN interface. The VLAN ID range is 1 to 1001 and 1006 to 4094.
Step10 copy running-config startup-config (Optional) Save your entries in the configuration file.