IGMP, MLD and Multicast Snooping
Three jobs, three kinds of state
A host signals interest to routers on its own link using IGMP for IPv4 or MLD for IPv6. A router uses that information when deciding whether a connected network needs a stream. A Layer 2 switch may inspect these control messages (snooping) to avoid sending ordinary group data to every access port. These are separate from multicast routing between networks. A switch forwarding table is not a router multicast tree.
Queries and reports
A querier sends periodic queries; hosts report their interests and changes. Timers refresh or expire state. Older IGMP versions have group-level behavior; IGMPv3 supports source filters, as does MLDv2. INCLUDE means interest in sources on a list; EXCLUDE means interest in sources other than those listed. An empty INCLUDE list requests no sources. MLD is carried by ICMPv6, not by IPv4 IGMP. RFC 9776 and RFC 9777 supersede RFC 3376 and RFC 3810 respectively. A leave or state-change report need not remove a port immediately: another listener may still be present.
Snooping on a fictional switch
In VLAN 10, p1 leads to a multicast router, p2 and p3 lead to interested hosts and p4 leads to a host with no interest. Assume a correctly learned group, router port and no special control groups. If data for G enters p1, the switch forwards to p2 and p3; it does not send it back to p1. If data enters p2, the modeled outputs are p1 and p3. Router ports matter even when they are not ordinary receiver ports.
VLAN 10 / G = 239.10.10.10p1 = router portp2 = memberp3 = memberp4 = nonmemberIngress p1 -> p2, p3Diagnose missing or excess traffic
If a stream stops after a timer expires, inspect the querier, report visibility and learned entries per VLAN before changing settings. If traffic reaches uninterested ports, inspect whether the group is known, snooping enabled and supported for the IP version. Unknown multicast, link-local control traffic, topology changes and implementations have special forwarding behavior; do not assume all unknown groups are dropped. A port can carry several hosts, so immediate leave is unsafe without appropriate guarantees.
Practice with evidence
If p3 membership expires while p2 stays active, the modeled outputs for data entering p1 become p2 only. If another listener still uses p3, it should remain eligible. Check router-facing ports and source-filter compatibility separately; a correct Layer 2 entry cannot establish an upstream tree. Do not treat snooping as a firewall or an authentication mechanism.
Check Your Understanding
Solidify your learning with the interactive assessment directly below this lesson.
Concept Quiz & Questions
IGMP, MLD and snooping Quiz
Apply multicast concepts to fictional offline scenarios.
Which protocol reports IPv6 multicast listener interest?
A switch has members p2,p3 and router port p1. Known group traffic enters p1. Which ports receive copies in the lesson model?
What does an INCLUDE filter with an empty source list request?
A known group disappears after its timer expires. What is the first useful investigation?
Does a leave report from one host always justify removing its switch port immediately?