![](/images/backgrounds/293017/hp-v1910-users-manual-120219263x1.png)
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 a, when IGMP snooping is not running on the switch, multicast packets are flooded 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.
a.Multicast forwarding before and after IGMP snooping runs
|
|
| Multicast packet transmission |
|
| Multicast packet transmission | |||||||||||
|
|
|
| without IGMP Snooping |
|
|
| when IGMP Snooping runs | |||||||||
|
|
|
|
|
|
|
|
| Multicast router |
|
|
|
|
|
|
| Multicast router |
|
|
|
|
|
|
|
|
|
|
|
|
| |||||
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||||
Source |
|
|
| Layer 2 switch | Source |
|
|
| Layer 2 switch | ||||||||
|
|
|
| ||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||
| Host A |
|
|
| Host C |
| Host A |
|
|
| Host C | ||||||
|
|
|
|
|
|
|
| ||||||||||
|
|
|
|
|
|
|
| ||||||||||
|
|
|
|
| |||||||||||||
Receiver |
|
|
| Receiver | Receiver |
|
|
| Receiver | ||||||||
|
|
|
|
| Host B |
|
|
|
|
| Host B | ||||||
|
|
|
| Multicast packets |
|
|
|
|
|
|
|
|
| ||||
|
|
|
|
|
|
|
|
|
|
|
|
|
IGMP snooping related ports
As shown in a, Router A connects to the multicast source, IGMP snooping runs on Switch A and Switch B, Host A and Host C are receiver hosts (namely, multicast group members).
251