Use the concept to understand why multicast can fail on an otherwise reachable network: the forward data path and reverse unicast best path may not align.
Reverse Path Forwarding
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
show ip rpf 10.1.1.10Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Commands Verify boundary
show ip rpf 10.1.1.10
show ip mroute 239.1.1.1
show ip pim neighbor
show ip rpf <source> shows the RPF interface and neighbour used to accept multicast from that source.
Step 2 Common mistakes Narrow the fault
- Unicast and multicast topology differ, so RPF fails; fix with static mroutes or MBGP.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
ReferenceWhat it is1 section · depth on demand
Why RPF exists and how to check it
RPF prevents multicast loops: a packet from source S is accepted only on the interface the router would use to reach S by unicast. Packets arriving elsewhere are dropped.
show ip rpf 10.1.1.10
show ip mroute 239.1.1.1
RPF failures usually come from asymmetric unicast routing or a PIM-disabled interface on the best path. Fix routing, enable PIM on that interface, or add a static mroute (ip mroute) where needed.
ReferenceImportant terms & boundaries3 sections · depth on demand
Key points
In depth
Reverse Path Forwarding (RPF)
Multicast routers forward traffic away from the source, so they must check that each packet arrived on the interface leading back towards that source. RFC 7761 describes the basis: the Multicast Routing Information Base (MRIB), usually derived from the unicast routing table or from a protocol such as multiprotocol BGP, identifies the RPF neighbour for an address, the neighbour to use to reach it. Joins are sent to that neighbour, and data flows back along the reverse path.
The RPF check
| Step | Action |
|---|---|
| 1 | Packet from source S arrives on an interface |
| 2 | Router looks up S (or the RP, on a shared tree) in the MRIB |
| 3 | If the packet arrived on the RPF interface, it passes |
| 4 | Otherwise it's dropped, preventing loops and duplicates |
What RPF is checked against
| Tree | RPF towards |
|---|---|
| Shared tree (*,G) | The RP |
| Source tree (S,G) | The source S |
| SSM (S,G) | The source S |
R2# show ip rpf 10.10.0.25
RPF information for ? (10.10.0.25)
RPF interface: GigabitEthernet0/0/1
RPF neighbor: ? (10.0.12.1)
RPF route/mask: 10.10.0.0/24
RPF type: unicast (ospf 1)
Doing distance-preferred lookups across tables
R2# show ip mroute 239.1.1.1 10.10.0.25 | include Incoming|RPF
Incoming interface: GigabitEthernet0/0/1, RPF nbr 10.0.12.1
R2# show ip mroute count | include RPF failed
When RPF fails
| Cause | Symptom |
|---|---|
| Unicast route to the source points elsewhere (asymmetric routing) | (S,G) entries with incoming interface Null; RPF drops |
| PIM not enabled on the RPF interface | Joins never reach the upstream router |
| Different unicast and multicast topologies | Need a multicast-specific route (static mroute or MBGP) |
Fixing RPF
Make sure PIM runs on every interface that unicast routing uses towards sources and RPs, or define the multicast path explicitly with ip mroute or MBGP so the MRIB matches the intended multicast topology.
Documented example, not captured output.
Quick reference
Reverse Path Forwarding (RPF) is multicast's loop-prevention rule. Instead of looking at where a packet is going, a router checks where it came from: it only accepts a multicast packet if it arrived on the interface the router itself would use to reach the source. Packets that fail the check are dropped. RPF ties multicast to the unicast routing table, which is why routing asymmetries break multicast even when unicast works.
Reverse Path Forwarding: a router accepts a multicast packet only if it arrives on the interface it would use to reach the source (per the unicast routing table, or the RP for shared trees). Otherwise it is dropped — this prevents multicast loops.
show ip rpf 10.50.0.10
show ip mroute 239.1.1.1 count
show ip mroute 239.1.1.1 | include RPF
RPF failures are the most common multicast problem when unicast and multicast topologies differ (e.g. asymmetric routing, firewalls).
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Routing → Multicast → RPF → Reverse Path Forwarding. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://www.rfc-editor.org/rfc/rfc1112.html · confidence 94%