25
multicast tables) and also reduces the workload at the end hosts since their network cards (or
operating system) will not have to receive and filter all the multicast traffic generated in the
network.
Switch(config)# ip igmp
snooping
Enable IGMP snooping function.
Switch(config)# ip igmp
snooping aging-time
Specify the IGMP querier aging time.
If the switch does not receive join
packets from the end device within the
specified time, the entry associated
with this end device will be removed
from the IGMP table.
Switch(config)# no ip igmp snooping
Disable IGMP snooping function.
Switch(config)# no ip igmp snooping aging time
Remove IGMP querier aging time
setting.
Switch(config)# show ip igmp snooping
Show current IGMP snooping status
including immediate leave function.
Switch(config)# show ip igmp snooping groups
Show IGMP group table. When IGMP
Snooping is enabled, the Switch is
able to read multicast group IP and
the corresponding MAC address from
IGMP packets that enter the device.
5. Enable or disable IGMP snooping immediate-leave function.
This works only when IGMP Snooping is enabled. When Immediate Leave is enabled, the
Switch immediately removes the port when it detects IGMPv1 & IGMPv2 leave message on
that port.
Switch(config)# ip igmp snooping
immediate-leave
Enable IGMP immediate leave function.
Switch(config)# no ip igmp snooping
immediate-leave
Disable IGMP immediate leave function.
Switch(config)# show ip igmp snooping
Show current IGMP snooping status
including immediate leave function.
Switch(config)# show ip igmp snooping
groups