Use it for groups with many sources, such as trading or conferencing, and when bidir groups do not work.
Bidirectional Shared Tree
The bidirectional shared tree is the single tree per group in Bidir-PIM: rooted at the RP address, it carries traffic from any source up towards the RP and down to every receiver, without per-source state.
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.
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
Operational reference
Fast context before you go deeper.
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 Common mistakes Narrow the fault
- Mixing bidir and sparse-mode RP definitions for the same groups.
- Expecting source-specific trees — bidir never builds (S,G) state.
Step 2 Bidir considerations Narrow the fault
- All routers in the domain must support Bidir-PIM for those groups.
- The RP placement matters more, since all traffic flows through the tree near it.
- Designated Forwarder election per link — check with
show ip pim interface df. - Not every platform supports Bidir in hardware.
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.
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.
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-enableand the RP definition.
ReferenceWhat it is1 section · depth on demand
When to use Bidir-PIM
Bidirectional PIM uses only (*,G) state and forwards traffic up and down the shared tree through a Designated Forwarder on each link. It suits many-to-many applications (trading feeds, conferencing) with many sources, where (S,G) state would explode. There is no SPT switchover and no register process; traffic always passes near the RP. Configure with ip pim bidir-enable and an RP marked bidir.
ReferenceImportant terms & boundaries3 sections · depth on demand
Key points
- Shared tree is the primary forwarding structure
- Designed for many-to-many scale
- Upstream/downstream direction is tied to the RP-rooted topology
- Verify platform-specific DF/RPF behavior when troubleshooting Bidir-PIM segments.
In depth
The bidirectional shared tree
BIDIR-PIM builds one shared tree per group that carries traffic both towards the root and away from it. RFC 5015 describes it as a PIM sparse mode variant where all senders and receivers of a group share the tree, routers keep only group-level (*,G) state and no per-source state, and sources send natively, without Register messages.
How traffic moves (RFC 5015)
| Direction | Path |
|---|---|
| Upstream | From the source towards the Rendezvous Point Link (RPL) |
| Downstream | From the tree towards receivers |
| Branch points | Routers forward to downstream receivers as traffic passes up |
Designated forwarders
On each link except the RPL, one Designated Forwarder (DF) is elected per RP address, using unicast metrics to the RPA; the best route wins. The DF forwards downstream traffic onto the link and carries upstream traffic from the link towards the RPL. That replaces the RPF check of unidirectional PIM.
Compared with PIM-SM
| PIM-SM | BIDIR-PIM | |
|---|---|---|
| Source state | (S,G) entries per source | None |
| Registers | Yes | No |
| SPT switchover | Yes | No |
| Suited for | One-to-many, few sources | Many-to-many, many sources |
R1(config)# ip pim bidir-enable
R1(config)# ip pim rp-address 10.255.0.9 BIDIR-GROUPS bidir
R2# show ip mroute 239.200.1.1
(*, 239.200.1.1), 00:44:10/00:02:31, RP 10.255.0.9, flags: BC
Bidir-Upstream: GigabitEthernet0/0/2, RPF nbr 10.0.23.3
Outgoing interface list:
Vlan110, Forward/Sparse, 00:44:10/00:02:31
GigabitEthernet0/0/2, Bidir-Upstream/Sparse, 00:44:10/00:00:00
R2# show ip pim interface df
Flag B marks a bidirectional group; the upstream interface also appears in the outgoing list.
Use cases (RFC 5015)
The design suits many-to-many applications such as trading feeds, collaboration and some industrial protocols, where many hosts are both senders and receivers of one group.
Documented example, not captured output.
Quick reference
Bidirectional PIM is designed for many-to-many multicast, where every participant may also be a source. Instead of building one tree per source, it builds one shared tree per group rooted at the RP, and traffic flows up and down that tree. That keeps router state small even with thousands of sources, at the cost of less optimal paths.
Bidirectional PIM builds one shared tree per group rooted at the RP, with traffic flowing both up and down the tree — no source registration or (S,G) state. It scales well for many-to-many applications (financial trading with many sources).
ip pim bidir-enable
ip pim rp-address 10.255.0.100 bidir
show ip pim interface df ! designated forwarder per link
A designated forwarder per link replaces RPF checks for traffic towards the RP.
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 → Bidirectional PIM → Bidirectional Shared Tree. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://www.rfc-editor.org/rfc/rfc7761.html · confidence 94%