Study guide

8.2 Protocol Independent Multicast Sparse Mode (PIM-SM) and Rendezvous Point Discovery

Cisco ENCOR 350-401 CCNP Enterprise Core

Track your progress as you read

Finished sections get a check mark.

1 Introduction & Exam Overview

0.1 Cisco 350-401 ENCOR Exam Logistics, Blueprint Structure, and Certification Paths 0.2 Preparation Strategy, Lab Environment Setup, and Practical Test Pacing

2 Enterprise Campus Architecture and High Availability

1.1 Enterprise Network Design: Two-Tier, Three-Tier, Fabric, and Cloud Architectures 1.2 High Availability Architecture: Device Redundancy, FHRPs, and Stateful Switchover (SSO) 1.3 Quality of Service (QoS) Architecture, Classification, Queuing, and Configuration Interpretation

3 Cisco Software-Defined Architecture: SD-WAN and SD-Access

2.1 Cisco Catalyst SD-WAN: Control, Management, and Data Planes 2.2 Cisco SD-Access Architecture: Control Plane, Data Plane, and Fabric Node Roles 2.3 SD-Access Campus Interoperability: Integrating Traditional Networks with Fabric

4 Device and Network Virtualization Technologies

3.1 Device Virtualization: Type 1/2 Hypervisors, Virtual Machines, and Virtual Switching 3.2 Data Path Virtualization: VRF-Lite, GRE Tunneling, and IPsec VPN Fundamentals 3.3 Network Virtualization Overlays: LISP and VXLAN Encapsulation Mechanics

5 Layer 2 Infrastructure: Trunking, EtherChannel, and Spanning Tree

4.1 802.1Q Trunking, Native VLAN, and Dynamic Trunking Protocol Troubleshooting 4.2 EtherChannel Bundling: Static, LACP, and PAgP Implementation and Verification 4.3 Spanning Tree Architecture: RSTP, MST, and STP Protection Mechanisms

6 Layer 3 Routing: OSPF Multi-Area and Protocol Comparison

5.1 Enterprise Routing Principles: Distance Vector vs. Link-State, EIGRP, and OSPF 5.2 OSPFv2 and OSPFv3 Multi-Area Architecture: LSAs, Area Types, and Summarization 5.3 Policy-Based Routing (PBR) Architecture, Configuration, and Route-Maps

7 Exterior Routing: BGP Peering and Path Selection

6.1 External BGP (eBGP) Peering, States, Neighbor Adjacencies, and Timers 6.2 BGP Path Attributes and the Step-by-Step Best Path Selection Algorithm

8 IP Services and First-Hop Redundancy

7.1 Time Synchronization: Network Time Protocol (NTP) and Precision Time Protocol (PTP) 7.2 Network Address Translation: Static NAT, Dynamic NAT, and PAT/Overload 7.3 First Hop Redundancy Protocols: HSRP and VRRP Implementation and Failover

9 IP Multicast Architecture and Protocols

8.1 Multicast Addressing, IGMPv2/v3 Host Membership, and the RPF Check 8.2 Protocol Independent Multicast Sparse Mode (PIM-SM) and Rendezvous Point Discovery 8.3 Anycast RP with MSDP, Source-Specific Multicast (SSM), and Bidirectional PIM

10 Network Diagnostics, Monitoring, and Telemetry

9.1 Network Diagnostic Tools: Conditional Debugging, Traceroute, SNMPv3, and Syslog Logging 9.2 Flexible NetFlow (FNF) Architecture: Flow Records, Exporters, and Monitors 9.3 Switched Port Analyzer: Local SPAN, Remote SPAN (RSPAN), and Encapsulated RSPAN (ERSPAN)

11 Performance Monitoring and Model-Driven Assurance

10.1 IP Service Level Agreements (IP SLA) Probes, Responder, and Route Tracking 10.2 Cisco Catalyst Center: Assurance Dashboards, AI Analytics, and Machine Reasoning Workflows 10.3 Model-Driven Telemetry and Programmable Interfaces: NETCONF and RESTCONF Verification

12 Device Access Control and AAA Architecture

11.1 Device Line Protection: Console, Aux, VTY, Local Authentication, and Privilege Levels 11.2 AAA Architecture: Comparing RADIUS vs. TACACS+ and Method List Configuration

13 Infrastructure Security: ACLs, CoPP, and API Security

12.1 IPv4 and IPv6 Access Control Lists (ACLs): Standard, Extended, and Named Rules 12.2 Control Plane Policing (CoPP): Protecting the Route Processor with MQC 12.3 REST API Security: Token Authentication, TLS Transport, and Rate Limiting

14 Enterprise Network Security Design: ISE, TrustSec, and MACsec

13.1 Endpoint Security Architecture: 802.1X, Cisco ISE Posture, and Profiling 13.2 Next-Generation Firewalls (FTD) and Enterprise Threat Defense Design 13.3 Cisco TrustSec (Security Group Tags) and MACsec (802.1AE) Layer 2 Encryption

15 Network Automation Fundamentals: Python, JSON, and YANG

14.1 Python Fundamentals for Network Engineers: Data Types, Control Flow, and Libraries 14.2 JSON Data Encoding: Syntax, Formatting Rules, and Python Serialization 14.3 YANG Data Modeling: Modules, Tree Structures, and Data Representation

16 Controller REST APIs and RESTCONF Implementation

15.1 Cisco Catalyst Center Intent APIs and Authentication Workflows 15.2 Cisco Catalyst SD-WAN Manager (vManage) REST APIs and Device Interaction 15.3 RESTCONF Protocol Operations: HTTP Verbs, Datastores, and Response Codes

17 Event-Driven Automation and Infrastructure Orchestration

16.1 Cisco Embedded Event Manager (EEM) Applet Architecture and Event Detectors 16.2 Configuration Management: Comparing Ansible, Puppet, Chef, and SaltStack 16.3 Infrastructure as Code (IaC) Principles with Terraform in Enterprise Networks

8.2 Protocol Independent Multicast Sparse Mode (PIM-SM) and Rendezvous Point Discovery

Key Takeaways Explain This Topic AI

Multicast distribution trees dictate packet propagation paths, utilizing either Source-Based Shortest Path Trees (S, G) rooted directly at the sending host or Shared Trees (*, G) rooted at a centralized Rendezvous Point (RP).

PIM Sparse Mode (PIM-SM, RFC 7761) operates on an explicit-join model where traffic is forwarded only to subnets with active receivers, electing a Designated Router (DR) based on highest priority (default 1) and then highest IP address.

The first-hop router registers active multicast sources with the RP by encapsulating multicast data inside unicast PIM Register messages (IP protocol 103) until it receives a PIM Register-Stop message.

The last-hop router initiates Shortest Path Tree (SPT) switchover upon receiving the initial packet over the (*, G) shared tree, issuing an (S, G) Join toward the source and an (S, G) Prune toward the RP to optimize path latency.

Rendezvous Point discovery mechanisms include manual Static RP configuration, Cisco proprietary Auto-RP utilizing candidate announcements (224.0.1.39) and mapping agents (224.0.1.40), and IETF Bootstrap Router (BSR, RFC 5059) distributing dynamic RP-sets via hop-by-hop Bootstrap Messages to 224.0.0.13.

Last updated: October 2026

Protocol Independent Multicast Sparse Mode (PIM-SM) and Rendezvous Point Discovery

In enterprise campus and wide area networks, dynamic multicast routing protocols construct distribution trees that deliver streams from senders to receivers. Protocol Independent Multicast (PIM) is the industry standard for constructing these distribution trees. PIM is termed "protocol independent" because it does not maintain its own topology discovery mechanism; instead, it relies on the router's existing unicast routing table—populated by OSPF, EIGRP, BGP, or static routes—to perform Reverse Path Forwarding (RPF) checks. PIM Sparse Mode (PIM-SM, standardized in RFC 7761) uses an explicit-join forwarding model, delivering traffic only to network segments with active, verified receivers.

Multicast Distribution Trees: Shared Trees (*, G) vs. Source Trees (S, G)

Multicast data traverses networks across two architectural tree topologies:

Source-Based Shortest Path Trees (SPT): An SPT is rooted directly at the transmitting source host and creates branches downward toward every active receiver. In the multicast routing table ( mroute ), an SPT entry is designated as (S, G) , pronounced "S comma G," where S represents the specific unicast IP address of the source and G represents the multicast group address. Because packets flow along the most direct path calculated by the underlying unicast IGP, SPTs provide optimal latency and throughput. However, if a network contains hundreds of sources transmitting to various groups, every transit router must maintain individual state information for every (S, G) pair, significantly increasing router memory consumption.

Shared Distribution Trees (RPT - Rendezvous Point Tree): A shared tree is rooted at a centralized anchor node called the Rendezvous Point (RP) rather than at the source itself. Shared tree entries are designated as (*, G) , pronounced "star comma G," where the asterisk ( * ) acts as a wildcard representing any source sending to group G . All sources transmit their data to the RP, which then replicates the packets down the branches of the shared tree to active receivers. Shared trees drastically reduce memory utilization on core routers because all sources for a given group consolidate into a single (*, G) state entry. However, routing traffic through an intermediate RP can introduce sub-optimal, dog-legged forwarding paths that increase packet latency and create bandwidth bottlenecks at the RP.

Shortest Path Tree (S, G) vs. Shared Tree (*, G)

  • Dimension / Characteristic Source Tree (S, G) — SPT Shared Tree (*, G) — RPT
  • Root Location Directly at the sending source host Centralized Rendezvous Point (RP)
  • Multicast Routing State Specific (S, G) state per source and group Wildcard (*, G) state per multicast group
  • Path Optimality Lowest latency; follows shortest IGP path Sub-optimal; traffic detours through the RP
  • Router Memory Scaling Higher memory overhead (O(S x G)) Minimal memory overhead (O(G))
  • Tree Initiation Receiver DR switches after initial packet Receiver DR initiates upon receiving IGMP join
  • Core Network Role Primary data forwarding path post-switchover Initial rendezvous point and shared transit
  • Protocol Independent Multicast Sparse Mode (PIM-SM) Architecture

PIM-SM operates on a "pull" model: network segments receive multicast streams only if they explicitly request them by sending PIM Join messages upstream.

PIM Designated Router (DR) Election Mechanics

On multiaccess shared media (such as Ethernet segments where multiple routers connect to the same switch VLAN), having every router forward multicast traffic or send registration messages would cause packet duplication. PIM-SM resolves this by electing a single Designated Router (DR) on each multiaccess LAN:

Hello Exchange: Routers exchange periodic PIM Hello messages (sent every 30 seconds to 224.0.0.13 with a hold time of 105 seconds) to discover neighbors and negotiate capabilities.

Priority Evaluation: The router with the highest configured PIM DR priority (configured via ip pim dr-priority <value> , default value of 1) wins the election.

IP Tiebreaker: If all routers share the same DR priority, the router with the highest numerical IP address on the interface becomes the DR.

The DR fulfills two critical responsibilities:

On the Source Subnet (First-Hop Router / FHR): The DR is solely responsible for intercepting multicast packets sent by local hosts and encapsulating them into unicast PIM Register messages directed to the RP.

On the Receiver Subnet (Last-Hop Router / LHR): The DR receives IGMP Membership Reports from local hosts and originates upstream PIM Join/Prune messages toward the RP or source.

PIM-SM End-to-End Operational Lifecycle

The operation of PIM-SM progresses through three structured phases: shared tree construction, source registration, and Shortest Path Tree switchover. [Source] ---> (FHR / DR) ===== Unicast PIM Register =====> [ RP ]

  • |
  • | (*, G) Shared
  • | Tree
  • v
  • [Receiver] <-- (LHR / DR) <========= (S, G) Join ========= [Transit Router]
  • (SPT Switchover initiates)
  • Phase 1: Receiver Joins and Shared Tree Construction

A client host signals its intention to receive group 239.1.1.1 by transmitting an IGMP Membership Report onto its local subnet.

The Last-Hop Router (LHR), acting as the receiver DR, receives the IGMP report, instantiates a (*, 239.1.1.1) entry in its multicast routing table, and adds its local host-facing interface to the Outgoing Interface List (OIL).

The LHR determines the IP address of the Rendezvous Point (RP) for group 239.1.1.1 and performs an RPF lookup toward the RP.

The LHR transmits a PIM (*, G) Join message out its RPF interface toward the RP.

Each intermediate router along the path processes the Join, instantiates a (*, G) entry, adds the incoming interface to its OIL, and forwards the Join hop-by-hop until it reaches the RP. This establishes the shared Rendezvous Point Tree (RPT).

Phase 2: Source Registration and Unicast Tunneling

A multicast source begins transmitting packets destined for 239.1.1.1 .

The First-Hop Router (FHR), acting as the source DR, intercepts these native multicast packets. Because the FHR does not yet have an established tree to the RP, it encapsulates the entire multicast packet inside a unicast IP packet header (protocol 103) called a PIM Register message.

The FHR unicasts the PIM Register packet directly to the RP's IP address.

Upon receiving the Register packet, the RP decapsulates the packet and injects the original multicast data into the (*, G) shared tree, delivering it down to active receivers.

Concurrently, the RP initiates a native (S, G) Join hop-by-hop back toward the source IP address. Once intermediate routers complete this path, multicast packets flow natively from the FHR to the RP without encapsulation.

The RP then transmits a unicast PIM Register-Stop message back to the FHR, instructing the FHR to cease CPU-intensive unicast encapsulation.

Phase 3: Shortest Path Tree (SPT) Switchover and Pruning

The Last-Hop Router (LHR) receives the first native multicast packet flowing down the (*, G) shared tree from the RP.

By default in Cisco IOS XE, the SPT switchover threshold is set to zero ( ip pim spt-threshold 0 ). This instructs the LHR to switch immediately to the optimal Shortest Path Tree upon receiving the very first packet.

The LHR inspects the source IP address in the packet header and performs an RPF lookup directly toward the source.

The LHR sends an (S, G) Join upstream toward the source along the shortest IGP path.

As native packets begin arriving over the new (S, G) tree, the LHR transmits a PIM Prune message (with the RPT-bit set) upstream toward the RP along the shared tree. This prunes the LHR from the (*, G) tree for that specific source, preventing duplicate packet delivery. Traffic now flows along the low-latency Shortest Path Tree directly from source to receiver.

Dynamic Rendezvous Point Discovery Mechanisms

Deploying static RP configurations ( ip pim rp-address <ip> ) requires manual provisioning across every network router. If an RP fails, static configurations cannot automate failover without third-party scripting. To resolve this, dynamic RP discovery mechanisms automate RP assignment and redundancy.

Cisco Auto-RP

Auto-RP is a Cisco-proprietary protocol that automates RP discovery using two primary functional roles:

Candidate RPs (C-RPs): Routers configured to act as potential RPs advertise their availability by sending periodic RP-Announce messages every 60 seconds to the reserved multicast address 224.0.1.39 ( CISCO-RP-ANNOUNCE ).

RP Mapping Agents (MAs): Specialized routers listen to 224.0.1.39 , collect all C-RP announcements, resolve conflicts by electing the candidate with the highest IP address for each group range, and broadcast the active group-to-RP mappings every 60 seconds to 224.0.1.40 ( CISCO-RP-DISCOVERY ).

Because Auto-RP relies on multicast packets ( 224.0.1.39 and 224.0.1.40 ) to distribute RP information, routers face a circular dependency: they cannot route multicast traffic without an RP, but they need multicast to find the RP. Cisco addresses this using PIM Sparse-Dense Mode (where interfaces operate in dense mode for groups without an RP) or by configuring ip pim autorp listener , which selectively floods the two Auto-RP control groups in dense mode across sparse-mode interfaces.

IETF Bootstrap Router (BSR) Protocol

Standardized in RFC 5059, the Bootstrap Router (BSR) protocol is an open-standard dynamic RP discovery mechanism integrated into PIM version 2. BSR eliminates the circular dependency of Auto-RP by using hop-by-hop link-local multicast:

BSR Election: Routers configured as Candidate BSRs (C-BSRs) exchange Bootstrap Messages (BSMs) sent to the link-local multicast address 224.0.0.13 with TTL=1. The router with the highest BSR priority (default 0) is elected; ties are broken by the highest IP address .

C-RP Registration: Candidate RPs (C-RPs) transmit unicast Candidate-RP-Advertisement messages directly to the elected BSR's IP address.

RP-Set Flooding: The elected BSR compiles all valid C-RPs into an RP-Set and floods BSM packets hop-by-hop throughout the PIM domain every 60 seconds using 224.0.0.13 . Routers validate BSMs using RPF checks toward the BSR.

Deterministic Hash Selection: Every router in the domain receives the complete RP-Set and independently runs a standardized hash function over the group address and candidate list, selecting the exact same RP for any given multicast group without requiring a centralized mapping agent.

Comparison of Rendezvous Point Discovery Methods

  • Feature / Metric Static RP Cisco Auto-RP IETF Bootstrap Router (BSR)
  • Standardization Universal / Proprietary Cisco Proprietary IETF Open Standard (RFC 5059)

Control Messages None; manual CLI entry Multicast (224.0.1.39 / 224.0.1.40) Link-Local Multicast (224.0.0.13, TTL=1)

Dense Mode Requirement None Requires Sparse-Dense or Auto-RP Listener None; native PIMv2 hop-by-hop flooding

Arbitration Mechanism Manual configuration Mapping Agent selects highest IP Deterministic hash mask across RP-Set

Failover Convergence None (manual reconfiguration) 3 missed announcements (~180 seconds) 3 missed BSM intervals (~130 seconds)

RP-Set Distribution None Mapping Agent advertises winners only BSR advertises complete candidate RP-Set