Multicast
Cheat sheet · https://pcornel.dk/topic.php?topic=644
Answer
IP multicast delivers one stream to many receivers: receivers join a group with IGMP, routers build a distribution tree with PIM, and every router forwards a packet only if it arrived on the interface facing the source (the RPF check).
Remember
Work from the receiver towards the source: IGMP join, PIM state on each router, RPF towards the source or RP. PIM must be enabled on every interface on the path. Group ranges decide the mode: 232.0.0.0/8 is source-specific (SSM) by convention; others usually use a rendezvous point.
First checks
show ip igmp groups— groups joined on the receivers' router.show ip pim neighbor— PIM neighbours.show ip pim rp mapping— the rendezvous point for each group range.show ip mroute <group>— (*,G) and (S,G) entries: incoming interface, outgoing list, flags.show ip rpf <source>— the interface the router expects traffic from that source on.show ip mroute <group> count— packets forwarded per entry.
Commands
show ip igmp groups- 2
show ip pim interface- 3
show ip pim neighbor- 3
show ip rpf <source>- 5
show ip route <source>- 5
show ip mroute- 6
show ip mroute count
Verify in this order
receiver joins with IGMP → last-hop router creates state → PIM join sent towards the RP or source → RPF check passes at every hop → (S,G) state built → packets forwarded down the tree only where requested
Where it usually breaks
underlay/interface reachability → protocol adjacency/session → received/originated state → policy → best path/RIB → FIB/adjacency → traffic path
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=644