Part XVIII - Multicast Advanced

22. Multicast Advanced

PIM-SSM, RPF checks, RP discovery, MSDP Anycast-RP, Bidir-PIM, BIER forwarding, and multicast design in EVPN-VXLAN fabrics.

1. 18.7 - PIM-SSM

Source-Specific Multicast removes the Rendezvous Point from the data path and the control plane. A receiver joins (S,G) directly by sending an IGMPv3 INCLUDE report for a known source and group, normally inside 232.0.0.0/8.

ModeHost signalTree stateOperational result
PIM-SM ASMJoin group G.Start with (*,G), then optional (S,G).Needs RP discovery and source registration.
PIM-SSMJoin source S and group G.Only (S,G).No RP, no shared-tree congestion, cleaner source policy.

2. 18.8 - RPF

Reverse Path Forwarding is multicast loop prevention. The router accepts a multicast packet only when it arrives on the interface the routing table would use to reach the packet source. For (S,G)state the lookup is toward source S; for (*,G) state it is toward the RP.

In production, the RPF route can come from the unicast RIB or from an MRIB tuned for multicast. The MRIB is useful when the best unicast path is asymmetric or when multicast needs a different upstream than normal traffic.

3. 18.9 - AutoRP and BSR

Static RP configuration works in small labs but becomes fragile across a routed domain. AutoRP and BSR distribute group-to-RP mappings so every PIM router can build shared trees consistently.

MechanismHow it advertises RPsFailure modelBest use
AutoRPC-RP announces to 224.0.1.39; Mapping Agent publishes to 224.0.1.40.Mapping Agent role must be redundant; bootstrap needs dense-mode treatment.Cisco-heavy networks and legacy campus designs.
BSRC-RPs unicast to elected BSR; BSR floods Bootstrap messages hop by hop.BSR election is distributed; routers hash to select RP.Standards-based PIM-SM domains.

4. 18.10 - MSDP and Anycast-RP

MSDP connects PIM-SM domains by advertising active sources between RPs. When a source registers with one RP, that RP sends a Source-Active message containing (S,G,RP). A remote RP with interested receivers can then join the source tree toward S.

Anycast-RP uses the same RP address on multiple routers. Unicast routing sends each source or receiver to the nearest RP, while MSDP synchronizes source knowledge between the RP nodes. The group-to-RP address stays stable during RP failure or maintenance.

5. 18.11 - Bidir-PIM

Bidirectional PIM is optimized for many-to-many groups. It keeps only (*,G) state, forwards traffic both toward and away from the RP-rooted shared tree, and elects a Designated Forwarder on each link to decide which router may forward upstream.

The tradeoff is path optimality. Bidir-PIM avoids source registration and (S,G)state explosion, but traffic follows the shared tree rather than switching to a per-source shortest path tree.

6. 18.12 - BIER

Bit Index Explicit Replication changes the multicast scaling problem. The ingress router encodes intended egress routers in a bitstring, and each transit router uses its Bit Index Forwarding Table to copy packets only to next hops whose masks intersect the remaining bitstring.

  • Core routers keep BIFT state, not per-group (*,G) or (S,G) state.
  • Ingress BFRs own receiver expansion and set bits for the egress BFRs that need the packet.
  • BIER-TE adds explicit traffic-engineered paths while preserving bitstring-based replication.

7. 18.13 - Multicast in EVPN-VXLAN

VXLAN fabrics must carry BUM traffic across VTEPs. The simplest model is ingress replication, where the source VTEP sends one VXLAN copy to every remote VTEP in the VNI. Underlay multicast moves replication into the fabric, while EVPN selective multicast advertises receiver interest through BGP.

DesignReplication pointControl planeWhen it fits
Ingress replicationSource VTEP.EVPN IMET plus flood list.Small to medium fabrics or underlays without multicast.
Underlay multicastPIM tree in the IP underlay.PIM-SM or PIM-SSM between VTEPs.Large BUM fanout where head-end copies are expensive.
Selective multicastOnly interested VTEPs.BGP EVPN Type 6 and OISM Type 9/10.Optimized tenant multicast and inter-subnet multicast.

8. Quiz / Interview Checks

Review questions
  1. Why does PIM-SSM not need an RP, and what IGMPv3 feature does it require?
  2. For (S,G) and (*,G), what address does the RPF lookup target?
  3. Compare AutoRP and BSR. Which one is standards-based, and why does AutoRP have a bootstrap problem?
  4. What does an MSDP Source-Active message contain, and how does it support Anycast-RP?
  5. Why does Bidir-PIM scale better for many-to-many groups than normal PIM-SM?
  6. How does BIER forward multicast without keeping per-group state in the core?
  7. When would you choose EVPN-VXLAN ingress replication over underlay multicast?