RPF
Cheat sheet · https://pcornel.dk/topic.php?topic=645
Answer
The reverse path forwarding check accepts a multicast packet only if it arrives on the interface the router would use to send unicast traffic back to the source (or to the RP for shared-tree traffic). Anything else is dropped to prevent loops.
Remember
RPF uses the unicast routing table (or a separate multicast table / static mroute). If unicast routing to the source points out of a non-PIM interface, the RPF check fails. Asymmetric unicast routing is the usual cause.
First checks
show ip rpf <source>— the RPF interface and neighbour for a source.show ip mroute <group>— the incoming interface used for each entry.show ip route <source>— the unicast route RPF is based on.show ip pim interface— whether PIM runs on the RPF interface.show ip mroute <group> count— RPF failures counted per entry.
Commands
show ip route <source>- Display the route toward a multicast source, used for the RPF check.
show ip rpf <source>- Display RPF interface/neighbor decision for a multicast source.
ip mrouteshow ip mroute
Verify in this order
unicast route to the source → RPF interface determined → PIM enabled on it → stream arrives there → check passes → packet forwarded
Where it usually breaks
underlay/interface reachability → protocol adjacency/session → received/originated state → policy → best path/RIB → FIB/adjacency → traffic path
RPF quick reference
| Item | Meaning |
|---|---|
| Source S | origin of multicast data |
| RPF lookup | reverse route decision toward S |
| RPF interface | interface expected to receive source traffic |
| RPF neighbor | expected upstream next hop |
| IIF | incoming interface stored in mroute state |
| OIL | outgoing interfaces toward receivers |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=645