IGMP
Cheat sheet · https://pcornel.dk/topic.php?topic=646
Answer
IGMP is how hosts tell their local router which multicast groups they want. The router (the querier) asks periodically; hosts answer with membership reports; with IGMPv2 and v3 they can also leave.
Remember
One router per subnet is querier (lowest IP address in v2/v3). IGMPv3 is needed for source-specific joins (SSM). Switches with IGMP snooping forward streams only to ports that joined — and need a querier on the VLAN, or entries time out.
First checks
show ip igmp groups— groups, last reporter, expiry.show ip igmp interface <interface>— version, querier, query interval.show ip igmp snooping groups— groups per switch port.show ip igmp snooping querier— the querier seen on each VLAN.debug ip igmp— reports and queries; use briefly.
Commands
show ip igmp snooping groups- Lists the multicast groups the switch has learned by IGMP snooping and which ports receive them.
show ip igmp groups- Display receiver group membership.
ip igmp version 2- Use IGMPv2 on the interface.
ip igmp version 3- Use IGMPv3 on the interface (required for source-specific multicast).
ip igmp join-group <group>- Make the router join a multicast group on this interface (testing).
show ip igmp interface- Display IGMP settings per interface.
show ip mroute- Routed multicast state
Verify in this order
querier elected on the subnet → queries sent → host sends a membership report → router and snooping switch record the group → PIM join upstream → stream delivered to that port
Where it usually breaks
underlay/interface reachability → protocol adjacency/session → received/originated state → policy → best path/RIB → FIB/adjacency → traffic path
IGMPv2 vs IGMPv3
| Capability | IGMPv2 | IGMPv3 |
|---|---|---|
| Group membership | Yes | Yes |
| Explicit leave model | Yes | Source-filter state changes |
| Source filtering | No | Yes |
| Common ASM use | Yes | Yes |
| Common SSM requirement | Insufficient for source request | Yes |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=646