Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

RPF

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

When to use this

Use it when multicast state exists but packets are dropped, or when the unicast path and the multicast path differ.

First 30 seconds

1. show ip rpf <source> — which interface?

2. Is that the interface the stream actually arrives on?

3. Different → the unicast route to the source points elsewhere; fix routing or add ip mroute.

4. RPF interface without PIM → enable PIM there.

5. show ip mroute <group> count — RPF failures stop increasing?

Operational verification

unicast route to the source → RPF interface determined → PIM enabled on it → stream arrives there → check passes → packet forwarded

Evidence · next step

Compare show ip route <source>, routing policy/metrics and actual ingress path before changing PIM.

Continue only after interpreting the current observation.
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 · Cisco IOS / IOS XE
Key commandshow ip rpf <source>
Scope / prerequisiteUse it when multicast state exists but packets are dropped, or when the unicast path and the multicast path differ.
Reference · 2
What next?3 suggested next steps
Child topics (this level)3
Catalog command links2
Evidence1
On this pageJump to a specific section
Verification

Show Commands

Read-only Cisco show commands for confirming state, narrowing a fault and interpreting the current boundary.

How to read the output

show ip rpf <source>

Look first: RPF interface, RPF neighbor, route source toward multicast source

Healthy: RPF points toward the intended source-facing interface/neighbor.

Warning: RPF failure or unexpected incoming interface.

Does not prove: Passing RPF does not prove an OIL or receiver membership exists.

show ip route <source>

Look first: route source/code, prefix, next hop, outgoing interface

Healthy: Expected prefix is installed with intended next hop/source.

Warning: Route absent, unexpected protocol/AD/metric, recursive next hop or wrong exit.

Does not prove: RIB presence does not prove FIB programming or packet delivery.

Operational workflow

Verification & Troubleshooting

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

3 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 Layered verification Verify boundary

Verify the same group/source across membership, PIM/RP and mroute state; confirm RPF and OIL, then observe packet counters for the receiver’s original stream.

Step 2 Verification and output interpretation Verify boundary

Use show ip rpf <source> to identify the route source, RPF interface and RPF neighbor expected for a multicast source. Cross-check that result with show ip route <source> when unicast routing drives RPF. Then inspect show ip mroute and confirm the multicast entry’s incoming interface agrees with the RPF expectation. If packets are arriving on a different interface, interface counters or multicast drop diagnostics can support the conclusion, but collect the route/RPF state first because it explains the decision. A correct RPF result toward the source is necessary for the source side of the tree, but receiver OIL state and IGMP/PIM joins are still separate requirements.

Step 3 Branching troubleshooting Narrow the fault

Concrete boundaries: receiver membership → IGMP state → PIM adjacency/RP/source discovery → RPF interface → multicast route/tree → OIL programming → receiver VLAN → application stream.

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.

command output · 1
Command lookup Jump straight to Cisco syntax
Drill down

Subtopics

Go one level deeper into this subject.

Failure signatures

Recognize the symptom, then prove the boundary

Observed symptom → candidate boundary → discriminating check → original-test closure. A signature narrows the search; it never proves root cause by itself.

RPF check fails or points to unexpected interface
1 · Observe

Multicast source traffic arrives on an interface that does not match the unicast route toward the source.

2 · Candidate boundaries

unicast routing toward source · asymmetric design · wrong source path · VRF/table context

3 · Discriminate

inspect unicast route to source → compare expected incoming interface → check mroute IIF after RPF is corrected

4 · Proof limit

RPF failure is forwarding-policy evidence, not proof that the source or receiver is broken.

Repeat the original failing test after the minimum controlled change before calling recovery verified.
Key points

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.

Key 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.
ReferenceWhat it is1 section · depth on demand

What it is

Reverse Path Forwarding (RPF) is the multicast loop-prevention and incoming-interface check. A router accepts multicast traffic from source S on the interface it considers the best reverse path toward S (or toward the relevant tree root/RP state).

Multicast delivery joins host membership to router IGMP state, PIM neighbor/RP or source-tree state, RPF validation and outgoing-interface-list programming. Close with Verify the same group/source across membership, PIM/RP and mroute state; confirm RPF and OIL, then observe packet counters for the receiver’s original stream. and state what the evidence does not show.

ReferenceHow it works1 section · depth on demand

RPF versus outgoing interfaces

For (S,G) data, the IIF should align with the RPF path toward S. The OIL points toward receivers. If traffic arrives on a non-RPF interface, the router can discard it even when receiver interfaces are correctly listed downstream.

ReferenceImportant terms & boundaries4 sections · depth on demand

In depth

RPF in multicast

RPF is what keeps multicast loop-free. RFC 7761 bases it on the Multicast Routing Information Base, usually the unicast routing table: for each source or RP, the MRIB gives the RPF neighbour, joins are sent towards it, and data must arrive along that reverse path. The RFC defines RPF_interface for sources and RPs and the RPF' variants that follow Assert winners on shared LANs.

The three RPF topics

TopicCovers
Reverse Path ForwardingThe check itself and why packets fail it
RPF interfaceThe expected incoming interface per tree
RPF neighbourThe upstream PIM router joins are sent to

RPF at a glance

TreeRPF lookup target
(*,G) shared treeRP address
(S,G) source treeSource address
Bidir-PIMReplaced by designated forwarder election towards the RPA
R2# show ip rpf 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)
R2# show ip mroute count | include RPF
  RPF failed: 0, Other drops(OIF-null, rate-limit etc): 0
R2# show ip mroute 239.1.1.1 | include Incoming
  Incoming interface: GigabitEthernet0/0/2, RPF nbr 10.0.23.3
R2(config)# ip mroute 10.10.0.0 255.255.255.0 10.0.13.1

The static ip mroute overrides the unicast lookup for RPF when the multicast path must differ from the unicast one.

Typical RPF problems

CauseFix
Unicast path uses a link without PIMEnable PIM on all paths unicast can use
Asymmetric or ECMP unicast routingConsistent PIM coverage, or static mroutes
Tunnels and firewalls in the pathPIM over the tunnel, multicast-capable firewall settings

Rule

Design multicast and unicast together: every interface unicast routing can use towards sources and RPs should run PIM.

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

RPF (Reverse Path Forwarding) is the multicast loop-prevention check: a router accepts a multicast packet only if it arrived on the interface the router would use to reach the source (or RP for shared trees) according to its unicast routing table.

show ip rpf 10.1.1.10
show ip mroute 239.1.1.1 count     ! RPF failures counter
ip mroute 10.1.1.0 255.255.255.0 10.0.0.2    ! static RPF override

Documented example, not captured output.

RPF failures are common when unicast routing is asymmetric or multicast runs over a different path (e.g. tunnels) than unicast routing expects.

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

State model and protocol mechanics

Multicast forwarding cannot use ordinary destination lookup alone because one source packet may need to replicate toward many receivers. RPF supplies the incoming-side loop-prevention rule: for source S, the router determines the best route toward S and derives an expected incoming interface/RPF neighbor. Multicast traffic from S arriving on that expected interface passes the RPF check; traffic arriving elsewhere is normally rejected to prevent loops/duplicate tree formation. This means unicast routing changes can alter multicast acceptance even when multicast-specific configuration is unchanged. Depending on platform/design, the RPF lookup may use the unicast RIB or specialized multicast routing information, but the core idea remains source-oriented reverse-path consistency.

Limits and common misconceptions

RPF success does not show any receiver wants the traffic, and it does not show the outgoing interface list is populated. It only shows that the packet arrived from the direction the router currently considers correct for the source. Conversely, receiver joins and a valid OIL cannot compensate for failed RPF on the incoming side. Do not read RPF as “return traffic will work”; the term describes a multicast source validation/loop-prevention rule, not bidirectional application routing. Because the decision inherits routing state, a seemingly unrelated unicast metric or administrative-distance change can move the RPF interface. Keep source route, RPF, multicast tree and receiver interest distinct.

ReferenceConfiguration & state1 section · depth on demand

Design and configuration model

RPF is primarily an outcome of routing design rather than a feature configured independently for every source. Build stable unicast reachability toward multicast sources, then ensure PIM topology and source placement align with the route selected for RPF. If a design deliberately uses asymmetric unicast/multicast paths, use supported multicast-specific mechanisms rather than trying to “fix” the symptom with unrelated interface changes. Be cautious with static routes, policy routing or route preference changes that alter the route toward the source; they can change the multicast incoming interface even if receiver-side routing is unaffected. Document source prefixes and expected RPF neighbors for critical multicast applications.

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. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://www.rfc-editor.org/rfc/rfc1112.html · confidence 94%
Embedded reference data

Quick lookup tables

RPF quick reference

Separate source-facing RPF from receiver-facing forwarding

ItemMeaning
Source Sorigin of multicast data
RPF lookupreverse route decision toward S
RPF interfaceinterface expected to receive source traffic
RPF neighborexpected upstream next hop
IIFincoming interface stored in mroute state
OILoutgoing interfaces toward receivers

RPF · operational reference

Compact state and interpretation boundaries for fast lookup.

RPF evidenceInterpretation
Route to sourceBasis for reverse-path choice
RPF interfaceInterface multicast from source is expected on
RPF neighborUpstream multicast/unicast next-hop identity
mroute IIF matchesMulticast entry aligns with RPF
IGMP/OILSeparate receiver-side requirement
Confirmation

Confirm action

Continue?