IGMP & PIM Multicast Reference
Cheat sheet · https://pcornel.dk/topic.php?topic=222
Answer
Two protocols make IPv4 multicast work: with IGMP a host tells its local router which groups it wants; with PIM the routers build the path from the source to the routers that have interested hosts.
Remember
Delivery is a chain: the receiver's join, the switch, the first router, the tree, and a reverse-path check at every hop. PIM must be on every interface on the path. IGMP snooping needs a querier, or streams stop after a few minutes. Routers must agree on the rendezvous point.
First checks
show ip igmp groups— groups joined on the receiver's router.show ip igmp snooping groups— per switch port.show ip pim neighbor— PIM neighbours.show ip pim rp mapping— the rendezvous point for the group.show ip mroute <group>— (*,G) and (S,G) with incoming interface and outgoing list.show ip rpf <source>— the expected incoming interface.
Commands
show ip igmp groupsshow ip igmp interfaceshow ip igmp snooping groupsshow ip pim neighborshow ip pim rp mappingshow ip mrouteshow ip rpf <source>show ip rpf
Verify in this order
receiver sends an IGMP report → switch and router record the group → PIM join towards the rendezvous point → source registered → (S,G) built along the reverse path → stream forwarded only where requested
Where it usually breaks
receiver membership → PIM/control adjacency → RP/source state → unicast RPF lookup → mroute/OIL → egress replication → receiver packet flow
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=222