Pcornel
Networking · Routing › Multicast › RPF

Reverse Path Forwarding

Cheat sheet · https://pcornel.dk/topic.php?topic=1164

Back to the Topic

Answer

RPF asks: “If I sent a unicast packet back toward this multicast source, which interface/next hop would I use?” Multicast traffic is expected to arrive from that reverse-path direction.

Remember

  • Prevents looping/duplicate forwarding by enforcing an expected incoming direction
  • Depends on routing information toward the source
  • Is evaluated independently from receiver membership
  • A failed RPF check is a data-plane/control-plane boundary, not proof that PIM neighbors or IGMP are broken.

First checks

  • show ip rpf <source> — RPF check result
  • show ip mroute count — RPF failed counters
  • show ip route <source> — unicast path used

Commands

ip mroute
show ip rpf <source>

Verify in this order

packet arrives → RPF check vs RIB → accept or drop → forward to OIL

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=1164

Confirmation

Confirm action

Continue?