Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

Reverse Path Forwarding

Direct 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.

When to use this

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.

First 30 seconds

1. RPF accepts multicast only on the interface toward the source (or RP).

2. Based on the unicast RIB (or mroutes).

3. Asymmetric routing causes RPF failures.

4. RPF failures are silent drops.

5. Fix routing or add a static mroute.

Operational verification

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

Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
Protocol standard + deployed implementation
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformProtocol standard · Cisco IOS XE · IOS/IOS XE
Key commandshow ip rpf 10.1.1.10
Scope / prerequisiteUse the concept to understand why multicast can fail on an otherwise reachable network: the forward data path and rever…
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

2 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

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 references

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.

observation · 1
Command lookup Jump straight to Cisco syntax
Key points
  • 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.
Key checks
  • show ip rpf <source> — RPF check result
  • show ip mroute count — RPF failed counters
  • show ip route <source> — unicast path used
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

  • 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 evidence that PIM neighbors or IGMP are broken.

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

StepAction
1Packet from source S arrives on an interface
2Router looks up S (or the RP, on a shared tree) in the MRIB
3If the packet arrived on the RPF interface, it passes
4Otherwise it's dropped, preventing loops and duplicates

What RPF is checked against

TreeRPF 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

CauseSymptom
Unicast route to the source points elsewhere (asymmetric routing)(S,G) entries with incoming interface Null; RPF drops
PIM not enabled on the RPF interfaceJoins never reach the upstream router
Different unicast and multicast topologiesNeed 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.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

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).

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docProtocol standard + deployed implementation RFC 1112

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%
Confirmation

Confirm action

Continue?