Pcornel
Networking · Routing › Multicast

Bidirectional PIM

Cheat sheet · https://pcornel.dk/topic.php?topic=649

Back to the Topic

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.

Remember

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.

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

Commands

show ip pim rp mapping
Display group-to-RP mappings.
ip pim bidir-enable
Enable bidirectional PIM on the router.
ip pim rp-address <rp-address> bidir
Set a static bidirectional PIM rendezvous point.

Verify in this order

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

Where it usually breaks

underlay/interface reachability → protocol adjacency/session → received/originated state → policy → best path/RIB → FIB/adjacency → traffic path

Bidirectional PIM · operational reference

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

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=649

Confirmation

Confirm action

Continue?