IGMP snooping configuration
Overview
Internet Group Management Protocol (IGMP) snooping is a multicast constraining mechanism that runs
on Layer 2 devices to manage and control multicast groups.
Principle of IGMP snooping
By analyzing received IGMP messages, a Layer 2 device running IGMP snooping establishes mappings
between ports and multicast MAC addresses and forwards multicast data based on these mappings.
As shown in
to all devices at Layer 2. However, when IGMP snooping is running on the switch, multicast packets for
known multicast groups are multicast to the receivers, rather than broadcast to all hosts, at Layer 2.
Figure 211 Multicast forwarding before and after IGMP snooping runs
Multicast packet transmission
without IGMP Snooping
Source
Host A
Receiver
Multicast packets
IGMP snooping related ports
As shown in
Switch B, Host A and Host C are receiver hosts (namely, multicast group members).
Figure 21
1, when IGMP snooping is not running on the switch, multicast packets are flooded
Multicast router
Layer 2 switch
Host C
Receiver
Host B
Figure
212, Router A connects to the multicast source, IGMP snooping runs on Switch A and
Multicast packet transmission
when IGMP Snooping runs
Source
Host A
Receiver
Host B
245
Multicast router
Layer 2 switch
Host C
Receiver