rfc-9961

MPLS Segment Routing Point-to-Multipoint (P2MP) Policy Ping

H. Bidgoli (Editor), Z. Ali, Z. Zhang, A. Budhiraja, D. Voyer
date2026-04 streamIETF areartg wgpim statusPROPOSED STANDARD pages9 canonicalhttps://www.rfc-editor.org/rfc/rfc9961 doi10.17487/RFC9961
Segment Routing (SR) Point-to-Multipoint (P2MP) Policies are used to define and manage explicit P2MP paths within a network. These policies are typically calculated via a controller-based mechanism and installed via, e.g., a Path Computation Element (PCE). In other cases, these policies can be installed using the Network Configuration Protocol (NETCONF) / YANG or a Command Line Interface (CLI). They are used to steer Multicast traffic along optimized paths from a Root to a set of Leaf routers. This document defines extensions to ping and traceroute mechanisms for an SR P2MP Policy with MPLS encapsulation to provide Operations, Administration, and Maintenance (OAM) capabilities. The extensions enable operators to verify connectivity, diagnose failures, and troubleshoot forwarding issues within SR P2MP Policy Multicast trees. By introducing new mechanisms for detecting failures and validating path integrity, this document enhances the operational robustness of P2MP Multicast deployments. Additionally, it ensures that existing MPLS and SR-based OAM tools can be effectively applied to networks utilizing SR P2MP Policies.

Extracted elements (22)

design-rationale §3.1.1

A new Target FEC Stack sub-TLV (SR MPLS P2MP Policy Tree Instance, Sub-Type 41) was required because existing P2MP RSVP-TE and Multicast LDP identifiers cannot uniquely identify SR P2MP Policy CPs and PTIs; each protocol uses its own identifier scheme.

mpls, measurement

design-rationale §3.1.1

Egress Address P2MP Responder sub-TLVs are excluded from SR P2MP Policy echo requests because, analogous to Multicast LDP, transit routers in an SR P2MP domain (often programmed via PCE) do not have visibility into downstream Leaf nodes. Only the Root node—where the SR P2MP Policy is programmed—knows the Leaf nodes.

mpls, measurement

design-rationale §3.1.2

The document reuses the same destination UDP port from RFC 8029 for SR P2MP Policy ping to maintain consistency with existing MPLS OAM mechanisms and facilitate seamless integration with deployed tools.

mpls, measurement

design-rationale §3.2.1.1

The SR MPLS P2MP Policy Tree Instance sub-TLV tests a specific PTI within a specific CP, not the CP itself, reflecting the granularity at which SR P2MP Policy connectivity needs to be verified—since a CP may contain multiple PTIs for Make-Before-Break operations.

mpls, measurement

design-rationale §3.1.1

Unlike Multicast LDP where the initiating LSR may not know all Leaf routers and thus requires a configurable TTL upper limit for traceroute, the SR P2MP Root node has full visibility into the Leaf nodes, providing a definitive way to estimate when traceroute processing ends. A configurable TTL limit is therefore an implementation choice rather than a requirement.

mpls, measurement

interoperability-note §3.1.3

For P2MP trees using non-adjacent Replication segments connected by a unicast path (e.g., via an SR Policy), SR P2MP OAM tools verify the Replication segments while unicast OAM tools verify the unicast path; the Replication-SID should not be exposed or examined on the unicast path. For ping, either Pipe Mode or Uniform Mode can be used.

mpls, measurement

interoperability-note §3.1.1

The fault detection procedures in RFC 6425 are applicable to all P2MP MPLS protocols, and this document explicitly extends their applicability to SR P2MP Policies. All considerations and limitations in RFC 6425 Section 6 apply to SR P2MP Policy ping as defined here.

mpls, measurement

interoperability-note §1

This specification applies exclusively to Replication Segments using MPLS encapsulation (Replication-SIDs) and does not cover SRv6. The mechanisms build upon RFC 6425 for P2MP MPLS OAM and reuse the same destination UDP port as RFC 8029.

mpls, measurement

normative-requirement §3.1.1 SHOULD NOT

Egress Address P2MP Responder sub-TLVs SHOULD NOT be used when an echo request carries an SR P2MP Policy MPLS CP FEC, because transit routers lack visibility into downstream Leaf nodes in SR P2MP deployments (unlike RSVP-TE). A node receiving such sub-TLVs will not respond.

mpls, measurement

normative-requirement §3.1.3 MUST

For P2MP tree traceroute over non-adjacent Replication segments connected via a unicast path, the TTL mode MUST be set to Pipe Mode on the router where the unicast path starts, to ensure the traceroute packet reaches the downstream Replication segment.

mpls, measurement

normative-requirement §3.1.2 MUST

Implementations MUST account for the fact that an SR P2MP Policy may contain multiple CPs, and each CP may consist of multiple PTIs.

mpls

normative-requirement §3.1.2 SHOULD

Implementations SHOULD support the ability to individually test each CP and its corresponding PTI using ping and traceroute mechanisms.

mpls, measurement

normative-requirement §3.1.1 RECOMMENDED

It is RECOMMENDED (per RFC 6425 Section 4.3.1) that traceroute operations provide for a configurable upper limit on TTL values; however, for SR P2MP Policy this may not be necessary since the Root node has visibility of all Leaf nodes.

mpls, measurement

normative-requirement §3.1.2 SHOULD

SR P2MP Policies SHOULD follow the common procedures specified in RFC 6425 for P2MP MPLS LSPs, and the same destination UDP port defined in RFC 8029 is reused for consistency with existing MPLS OAM mechanisms.

mpls, measurement

normative-requirement §3.2.1 MUST

The echo request message MUST include a Target FEC Stack TLV that explicitly specifies the CP and PTI under test in order to correctly identify the Replication segment associated with a given CP and PTI.

mpls, measurement

normative-requirement §3.2.1.1 MUST

The Reserved field in the SR MPLS P2MP Policy Tree Instance sub-TLV MUST be set to zero by the sender and should be ignored by the receiver.

mpls

normative-requirement §5 RECOMMENDED

To avoid potential Denial-of-Service attacks, it is RECOMMENDED that implementations regulate the LSP ping traffic going to the control plane, and a rate limiter SHOULD be applied to the well-known UDP port allocated for this service.

mpls, security, measurement

normative-requirement §3.1.2 MUST

When a downstream node capable of understanding the Replication-SID receives a ping or traceroute packet, it MUST process the request and generate a response even if the CP and its PTI are not currently the active path.

mpls, measurement

protocol-element §3.2.1

A new sub-TLV called the SR MPLS P2MP Policy Tree Instance sub-TLV (Sub-Type 41, variable length) is introduced to uniquely identify a specific PTI within a specific CP of an SR P2MP Policy in echo request messages. It is assigned from the 'Sub-TLVs for TLV Types 1, 16, and 21' registry under the Target FEC Stack (Type 1) entry.

mpls, measurement

registry §4

IANA has assigned sub-type value 41 for the 'SR MPLS P2MP Policy Tree Instance' sub-TLV in the 'Sub-TLVs for TLV Types 1, 16, and 21' registry under the 'Multiprotocol Label Switching (MPLS) Label Switched Paths (LSPs) Ping Parameters' registry group, assigned from the Standards Action range 0-16383 under Target FEC Stack (Type 1).

mpls, registry, measurement

security-consideration §5

SR P2MP Policy ping is susceptible to the same three attack vectors described in RFC 8029 Section 5. Implementations should follow the procedures and recommendations from RFC 8029 Section 5 and RFC 6425 Section 8 (which references RFC 4379) to mitigate these vectors, specifically including rate limiting of LSP ping traffic to the control plane.

mpls, security, measurement

wire-format §3.2.1.1

The SR MPLS P2MP Policy Tree Instance sub-TLV value field contains: Address Family (2 octets, IPv4/IPv6 only), Address Length (1 octet, 4 for IPv4 or 16 for IPv6), Reserved (1 octet, must be zero), Root (variable, 4 or 16 octets), Tree-ID (4 octets), and Instance-ID (2 octets). This format follows Section 2.3 of RFC 9960.

mpls, measurement