Use it when multicast state exists but packets are dropped, or when the unicast path and the multicast path differ.
RPF
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.
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?
unicast route to the source → RPF interface determined → PIM enabled on it → stream arrives there → check passes → packet forwarded
Compare show ip route <source>, routing policy/metrics and actual ingress path before changing PIM.
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
show ip rpf <source>Show Commands
Read-only Cisco show commands for confirming state, narrowing a fault and interpreting the current boundary.
show ip rpf <source>ReferenceDisplay RPF interface/neighbor decision for a multicast source.
Use when: Verify the reverse path used for multicast traffic from a specific source.
Quick note: Use before changing PIM or IGMP when the symptom is RPF-related.
Cisco IOS XE · mixedshow ip route <source>ReferenceDisplay the route toward a multicast source, used for the RPF check.
Use when: Explain the unicast decision that normally drives multicast RPF.
Quick note: Pair with show ip rpf <source>.
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.
Verification & 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 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 · 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.
Subtopics
Go one level deeper into this subject.
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.
Subtopic RPF InterfaceThe RPF interface is the interface the router expects multicast packets from a given source to arrive on based on reverse-path reachability.
Subtopic RPF NeighborThe RPF neighbor is the upstream next hop selected on the reverse path toward the multicast source or tree root for the relevant state.
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
Multicast source traffic arrives on an interface that does not match the unicast route toward the source.
unicast routing toward source · asymmetric design · wrong source path · VRF/table context
inspect unicast route to source → compare expected incoming interface → check mroute IIF after RPF is corrected
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.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.
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
| Topic | Covers |
|---|---|
| Reverse Path Forwarding | The check itself and why packets fail it |
| RPF interface | The expected incoming interface per tree |
| RPF neighbour | The upstream PIM router joins are sent to |
RPF at a glance
| Tree | RPF lookup target |
|---|---|
| (*,G) shared tree | RP address |
| (S,G) source tree | Source address |
| Bidir-PIM | Replaced 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
| Cause | Fix |
|---|---|
| Unicast path uses a link without PIM | Enable PIM on all paths unicast can use |
| Asymmetric or ECMP unicast routing | Consistent PIM coverage, or static mroutes |
| Tunnels and firewalls in the path | PIM 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.
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.
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
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. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://www.rfc-editor.org/rfc/rfc1112.html · confidence 94%Quick lookup tables
RPF quick reference
Separate source-facing RPF from receiver-facing forwarding
| 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 |
RPF · operational reference
Compact state and interpretation boundaries for fast lookup.
| RPF evidence | Interpretation |
|---|---|
| Route to source | Basis for reverse-path choice |
| RPF interface | Interface multicast from source is expected on |
| RPF neighbor | Upstream multicast/unicast next-hop identity |
| mroute IIF matches | Multicast entry aligns with RPF |
| IGMP/OIL | Separate receiver-side requirement |