Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

Bidirectional PIM

Direct answer

Bidirectional PIM builds one shared tree per group, rooted at the RP address, that carries traffic both down to receivers and up from sources. There is no source registration and no per-source state, which suits many-to-many applications.

When to use this

Use it for groups with many sources, such as trading or conferencing, and when bidir groups do not work.

First 30 seconds

1. ip pim bidir-enable on every router?

2. show ip pim rp mapping — group range mapped to the RP as bidir everywhere?

3. show ip pim interface df — a DF elected on each link towards the RP?

4. show ip mroute <group> — (*,G) with the B flag?

5. A router that does not run bidir drops the traffic — find it on the path.

Operational verification

bidir enabled on all routers → group range mapped to a bidir RP → DF elected on each link → shared tree built towards the RP → traffic flows up and down the same tree

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 / IOS XE
Key commandip pim bidir-enable
Scope / prerequisiteUse it for groups with many sources, such as trading or conferencing, and when bidir groups do not work.
Show · 1Reference · 2
What next?3 suggested next steps
Child topics (this level)2
Catalog command links3
Evidence0
On this pageJump to a specific section
Cisco IOS / IOS XE first

Primary Commands

Configuration and operational commands for this Topic.

Verification

Show Commands

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

Operational workflow

Verification & Troubleshooting

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

1 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 Verification and output interpretation Verify boundary

Use show ip pim rp mapping to confirm that the group range is associated with a bidirectional RP, inspect PIM neighbor state, and use multicast route output to verify shared-tree state and incoming/outgoing interfaces. On multiaccess links, inspect DF election information when available and correlate the elected forwarder with unicast reachability toward the RP address. Packet counters should increase on the shared-tree entries carrying the application. Absence of source-tree switchover is normal in bidirectional mode. If forwarding changes after unicast routing changes, re-check the route toward the RP because the shared-tree/DF logic depends on that topology.

Command lookup Jump straight to Cisco syntax
Drill down

Subtopics

Go one level deeper into this subject.

Key points

Every router must have ip pim bidir-enable and map the group to the RP as bidir. Instead of RPF towards each source, a designated forwarder (DF) on each link forwards towards the RP. The RP address need not even be a real router — it only has to be routable.

Key checks
  • show ip pim rp mapping — the group range marked bidir.
  • show ip pim interface df — the designated forwarder on each interface.
  • show ip mroute <group> — bidir (*,G) entries (flag B).
  • show running-config | include bidir — ip pim bidir-enable and the RP definition.
ReferenceWhat it is1 section · depth on demand

What it is

Bidirectional PIM (Bidir-PIM) builds a shared bidirectional tree for multicast groups, optimized for many-to-many traffic patterns rather than relying on source-specific shortest-path trees for each sender.

ReferenceImportant terms & boundaries5 sections · depth on demand

Key points

  • Uses an RP concept but forwarding semantics differ from PIM-SM ASM
  • Traffic can flow toward and away from the RP along the shared tree
  • ip pim bidir-enable enables bidirectional capability in the source taxonomy
  • RP mapping must identify the group as bidirectional
  • Do not infer PIM-SM SPT behavior from Bidir-PIM state.

In depth

Bidirectional PIM

Bidirectional PIM (BIDIR-PIM) builds shared trees that carry traffic in both directions, so every member can send to the group without per-source state. RFC 5015 describes it as a PIM sparse mode variant where routers keep only (*,G) state, sources send natively without Register messages, traffic flows up towards the Rendezvous Point Link and down to receivers, and one Designated Forwarder per link and RP address replaces the per-source RPF check.

Elements (RFC 5015)

ElementRole
RPARendezvous-point address; routable, but need not belong to a router
RPLThe link the RPA belongs to; no DF election there
Designated ForwarderOne per link per RPA, chosen by the best unicast route to the RPA
(*,G) stateThe only multicast state routers keep

When to use it

SituationBidir fit
Many senders, many receivers on one groupGood: state doesn't grow with sources
Few sources, many receiversSSM or PIM-SM is simpler
Need for source-specific pathsNot possible: traffic always follows the shared tree
ALL(config)# ip multicast-routing
ALL(config)# ip pim bidir-enable
ALL(config)# ip pim rp-address 10.255.9.2 BIDIR-GROUPS bidir
R2# show ip pim rp mapping | include Bidir|RP:
Group(s): 239.200.0.0/16, Static, Bidir Mode
    RP: 10.255.9.2 (?)
R2# show ip pim interface df
Interface          RP               DF Winner        Metric       Uptime
Gi0/0/1            10.255.9.2       10.0.12.1        [110/2]      01:12:44
Vlan110            10.255.9.2       10.110.0.2       [110/3]      01:12:44
R2# show ip mroute 239.200.1.1 | include flags|Bidir

Operational points

PointDetail
Consistent configurationAll routers must agree which groups are bidirectional
Hardware supportCheck platform support for bidir forwarding
RedundancyPhantom RP with different prefix lengths from two routers
CoexistenceBidir, ASM and SSM groups can run side by side in different ranges

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

Bidirectional PIM builds one shared tree per group rooted at the RP, along which traffic flows in both directions. Sources do not register and no shortest-path trees are built, so routers keep only (*,G) state — ideal for many-to-many applications with many sources.

ip pim bidir-enable
ip pim rp-address 10.0.0.1 bidir

Documented example, not captured output.

Designated forwarders per link replace RPF checks for traffic travelling up the tree. The trade-off is that traffic always passes the RP's location, which can be suboptimal.

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

Bidirectional PIM builds a shared tree that supports traffic flowing both toward and away from the RP direction. Unlike ordinary PIM Sparse Mode, it does not rely on Register messages to an active RP and does not switch each source to its own shortest-path tree. On multiaccess segments, a Designated Forwarder election selects the router responsible for forwarding upstream toward the RP for that group range, preventing duplicate upstream forwarding. The RP address acts as a topological reference for the shared tree and need not process every data packet. This model is useful for many-to-many applications where large numbers of sources would otherwise create extensive (S,G) state.

Limits and common misconceptions

Bidirectional PIM is not just PIM-SM with a different RP command. Its forwarding/state model intentionally avoids the normal source-registration and shortest-path-tree transition. A valid RP mapping does not show the shared tree is forwarding; neighbor, DF, RPF-like direction and OIL state still matter. The RP address being reachable does not imply a single physical RP device must receive every data packet. Likewise, a missing (S,G) entry is not automatically a fault because shared-tree state is expected. Keep the selected group mode explicit whenever interpreting multicast route output or comparing behavior with ordinary PIM Sparse Mode.

ReferenceConfiguration & state1 section · depth on demand

Design and configuration model

Enable bidirectional PIM capability on participating routers as required by the platform, configure the RP mapping for the intended bidirectional group range and ensure every router that forwards those groups has a consistent interpretation. The unicast route toward the RP address is critical because it influences the shared-tree direction and DF election behavior. Keep bidirectional and ordinary sparse-mode group ranges explicit so operators know which forwarding model to expect. Because the architecture deliberately avoids source-specific SPTs, do not tune or document it as though ordinary PIM-SM Register/SPT transitions should occur. Validate that multiaccess segments have a stable DF election and that RP reachability remains deterministic under routing changes.

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 7761

Authoritative/upstream documentation reviewed for bounded claims in Routing → Multicast → Bidirectional PIM. Documentation verification only; this is not observed lab or production Evidence.

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

Quick lookup tables

Bidirectional PIM · operational reference

Compact state and interpretation boundaries for fast lookup.

Bidir componentMeaning
RP addressTopological root reference
Shared treeCarries traffic in both directions
DF electionSelects upstream forwarder on multiaccess LAN
Source SPTNormally not used in Bidir-PIM model
Confirmation

Confirm action

Continue?