20-14
Catalyst 2950 and Catalyst 2955 Switch Software Configuration Guide
78-11380-12
Chapter 20 Configuring IGMP Snooping and MVR
Configuring IGMP Snooping
Configuring the Aging Time
You can set the aging time for forwarding-table entries that the switch learns by using the IP
multicast-source-only learning method.
Beginning in privileged EXEC mode, follow these steps to configure the aging time:
To disable the aging of the forwarding table entries, enter the ip igmp snooping source-only-learning
age-timer 0 global configuration command.
If you disable source-only learning by using the no ip igmp snooping source-only learning global
configuration command and the aging time is enabled, it has no effect on the switch.
Configuring the IGMP Snooping Querier
To enable the IGMP snooping querier feature in a VLAN, follow these steps:
Command Purpose
Step 1
configure terminal Enter global configuration mode
Step 2
ip igmp snooping source-only learning age-timer
time
Set the aging time. The range is from 0 to 2880 seconds. The
default is 600 seconds (10 minutes).
Step 3
end Return to privileged EXEC mode.
Step 4
show running-config | include
source-only-learning
Verify the aging time.
Step 5
copy running-config startup-config (Optional) Save your entries in the configuration file.
Command Purpose
Step 1
configure terminal Enter global configuration mode.
Step 2
ip igmp snooping querier Enable the IGMP snooping querier.
Step 3
ip igmp snooping querier 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 IGMP
general query if it cannot find an IP address on the switch.
Step 4
ip igmp snooping querier query-interval
interval-count
(Optional) Set the interval between IGMP queriers. The interval range
is from 1 to 18000 seconds.
Step 5
ip igmp snooping querier tcn query
[count count | interval interval]
(Optional) Set the time (in seconds) between Topology Change
Notification (TCN) queries. The count range is from 1 to 10. The
interval range is from 1 to 255 seconds.
Step 6
ip igmp snooping querier timer expiry
timeout
(Optional) Set the length of time (in seconds) until the IGMP querier
expires.The range is from 60 to 300 seconds.
Step 7
ip igmp snooping querier version version (Optional) Select the IGMP version number that the querier feature
uses. Select 1 or 2.
Step 8
end Return to privileged EXEC mode.