16-12
Catalyst 2940 Switch Software Configuration Guide
78-15507-02
Chapter16 Configuring IGMP Snooping and MVR
Displaying IGMP Snooping Information
Current configuration : 1972 bytes
!
version 12.1
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname Switch
!
enable password my_password
!
ip subnet-zero
no ip igmp snooping source-only-learning
!
!
spanning-tree extend system-id
no spanning-tree vlan 1
!
!
interface FastEthernet0/1
no ip address
!
<output truncated>

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.
Displaying IGMP Snooping Information
You can display IGMP snooping information for dynamically learned and statically c on figured rou ter
ports and VLAN interfaces. You can also di splay M A C addre ss multi cast entri es for a VLAN conf ig ured
for IGMP snooping.
Command Purpose
Step1 configure terminal Enter global configuration mode
Step2 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).
Step3 end Return to privileged EXEC mode.
Step4 show running-config | include
source-only-learning Verify the aging time.
Step5 copy running-config startup-config (Optional) Save your entries in the configuration file.