SPRING Working Group R. Gandhi, Ed. Internet-Draft C. Filsfils Intended status: Standards Track Cisco Systems, Inc. Expires: 19 May 2027 B. Janssens Colt M. Chen Huawei R. Foote Nokia 15 November 2026 Performance Measurement Using Simple Two-Way Active Measurement Protocol (STAMP) for Segment Routing over the MPLS Data Plane draft-ietf-spring-stamp-srpm-mpls-14 Abstract Segment Routing (SR) can be used to steer packets through a network employing source routing. SR can be applied to both MPLS (SR-MPLS) and IPv6 (SRv6) data planes. This document specifies procedures for performance measurement in SR-MPLS networks using the Simple Two-Way Active Measurement Protocol (STAMP), as specified in RFC 8762, along with its optional extensions specified in RFC 8972 and the SR- specific extensions specified in RFC 9503. These procedures measure SR-MPLS paths, including Segment Lists of SR Policies, SR-MPLS IGP best paths, and SR-MPLS IGP Flexible Algorithm (Flex-Algo) paths, as well as Layer-3 services and point-to-point Layer-2 services carried over those paths. Status of This Memo This Internet-Draft is submitted in full conformance with the provisions of BCP 78 and BCP 79. Internet-Drafts are working documents of the Internet Engineering Task Force (IETF). Note that other groups may also distribute working documents as Internet-Drafts. The list of current Internet- Drafts is at https://datatracker.ietf.org/drafts/current/. Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as "work in progress." This Internet-Draft will expire on 19 May 2027. Gandhi, et al. Expires 19 May 2027 [Page 1] Internet-Draft STAMP for Segment Routing over MPLS November 2026 Copyright Notice Copyright (c) 2026 IETF Trust and the persons identified as the document authors. All rights reserved. This document is subject to BCP 78 and the IETF Trust's Legal Provisions Relating to IETF Documents (https://trustee.ietf.org/ license-info) in effect on the date of publication of this document. Please review these documents carefully, as they describe your rights and restrictions with respect to this document. Code Components extracted from this document must include Revised BSD License text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Revised BSD License. Table of Contents 1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . 3 2. Conventions Used in This Document . . . . . . . . . . . . . . 5 2.1. Requirements Language . . . . . . . . . . . . . . . . . . 5 2.2. Terminology . . . . . . . . . . . . . . . . . . . . . . . 5 2.3. Abbreviations . . . . . . . . . . . . . . . . . . . . . . 6 3. Overview . . . . . . . . . . . . . . . . . . . . . . . . . . 7 4. Measurement Modes . . . . . . . . . . . . . . . . . . . . . . 9 4.1. Two-Way Measurement Mode . . . . . . . . . . . . . . . . 9 4.2. One-Way Measurement Mode . . . . . . . . . . . . . . . . 10 4.3. Loopback Measurement Mode . . . . . . . . . . . . . . . . 11 4.4. Loopback with TSF Measurement Mode . . . . . . . . . . . 12 5. STAMP Reference Model . . . . . . . . . . . . . . . . . . . . 12 5.1. STAMP for One-Way Measurement Mode . . . . . . . . . . . 15 5.2. STAMP for Loopback and Loopback with TSF Measurement Modes . . . . . . . . . . . . . . . . . . . . . . . . . . 16 5.3. Measurement Mode Comparison for STAMP . . . . . . . . . . 17 5.3.1. STAMP TLV Applicability . . . . . . . . . . . . . . . 17 5.4. STAMP Session Identifier for SR-MPLS . . . . . . . . . . 19 6. Encapsulations for Two-Way Measurement Mode . . . . . . . . . 19 6.1. Session-Sender Test Packet . . . . . . . . . . . . . . . 20 6.2. Session-Sender Test Packet for SR-MPLS Data Plane . . . . 20 6.2.1. Session-Sender Test Packet for SR-MPLS Paths . . . . 20 6.2.2. Session-Sender Test Packet for Layer-3 Services over an SR-MPLS Path . . . . . . . . . . . . . . . . . . . . 22 6.2.3. Session-Sender Test Packet for Layer-2 Services over an SR-MPLS Path . . . . . . . . . . . . . . . . . . . . 23 6.3. Session-Reflector Test Packet . . . . . . . . . . . . . . 24 6.3.1. Session-Reflector Test Packet for an SR-MPLS Path . . 26 6.3.2. Session-Reflector Test Packet for an L3 Service Over an SR-MPLS Path . . . . . . . . . . . . . . . . . . . . 27 6.3.3. Session-Reflector Test Packet for an L2 Service Over an SR-MPLS Return Path . . . . . . . . . . . . . . . . . 27 Gandhi, et al. Expires 19 May 2027 [Page 2] Internet-Draft STAMP for Segment Routing over MPLS November 2026 7. Encapsulations for One-Way Measurement Mode . . . . . . . . . 27 8. Encapsulations for Loopback Measurement Mode . . . . . . . . 28 8.1. Loopback Measurement Mode for SR-MPLS Paths . . . . . . . 28 8.1.1. SR-MPLS Return Path . . . . . . . . . . . . . . . . . 30 8.1.2. IP Return Path . . . . . . . . . . . . . . . . . . . 30 8.2. Loopback Measurement Mode for Layer-3 Services over an SR-MPLS Path . . . . . . . . . . . . . . . . . . . . . . 30 8.2.1. SR-MPLS Return Path . . . . . . . . . . . . . . . . . 32 8.2.2. IP Return Path . . . . . . . . . . . . . . . . . . . 32 8.3. Loopback Measurement Mode for Layer-2 Services over an SR-MPLS Path . . . . . . . . . . . . . . . . . . . . . . 32 8.3.1. SR-MPLS Return Path . . . . . . . . . . . . . . . . . 33 8.3.2. IP Return Path . . . . . . . . . . . . . . . . . . . 34 9. Encapsulations for Loopback with TSF Measurement Mode . . . . 34 9.1. STAMP TSF Network Actions . . . . . . . . . . . . . . . . 34 9.1.1. TSF Network Action Node Capability . . . . . . . . . 36 10. ECMP Measurement in SR-MPLS Networks . . . . . . . . . . . . 37 11. Implementation Status . . . . . . . . . . . . . . . . . . . . 38 11.1. Cisco Implementation . . . . . . . . . . . . . . . . . . 38 12. Operational and Manageability Considerations . . . . . . . . 39 12.1. Measurement Mode and Parameters . . . . . . . . . . . . 39 12.2. MTU Considerations . . . . . . . . . . . . . . . . . . . 40 12.3. STAMP Session Scale . . . . . . . . . . . . . . . . . . 41 12.4. STAMP Session State Notification . . . . . . . . . . . . 41 12.5. Operational Considerations for TSF . . . . . . . . . . . 42 12.6. Operational Considerations for Path Changes . . . . . . 43 12.7. Destination UDP Port Number Considerations . . . . . . . 43 13. Security Considerations . . . . . . . . . . . . . . . . . . . 44 13.1. Security Considerations for Measurement Modes . . . . . 45 13.2. Security Considerations for TSF . . . . . . . . . . . . 46 13.3. Privacy Considerations . . . . . . . . . . . . . . . . . 47 14. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 47 15. References . . . . . . . . . . . . . . . . . . . . . . . . . 47 15.1. Normative References . . . . . . . . . . . . . . . . . . 47 15.2. Informative References . . . . . . . . . . . . . . . . . 49 Acknowledgments . . . . . . . . . . . . . . . . . . . . . . . . . 51 Contributors . . . . . . . . . . . . . . . . . . . . . . . . . . 51 Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . 52 1. Introduction Segment Routing (SR) [RFC8402] can be used to steer packets through a network employing source routing. SR can be applied to both MPLS (SR-MPLS) and IPv6 (SRv6) data planes. SR can take advantage of Equal-Cost Multipath (ECMP) between source and transit nodes, between transit nodes, and between transit and destination nodes. SR Policies, as specified in [RFC9256], are used to steer traffic through specific user-defined paths, each represented by a list of Gandhi, et al. Expires 19 May 2027 [Page 3] Internet-Draft STAMP for Segment Routing over MPLS November 2026 segments. A comprehensive SR performance measurement toolset is essential for measuring network performance and meeting Service Level Agreements (SLAs). The Simple Two-Way Active Measurement Protocol (STAMP), as specified in [RFC8762], provides the capability to measure various performance metrics in IP networks without the use of a control channel to pre- signal session parameters. [RFC8972] specifies optional extensions in the form of Type-Length-Value (TLV) objects for STAMP, and [RFC9503] further augments that framework to define STAMP extensions for SR networks. This document specifies procedures for measuring performance in SR- MPLS networks using STAMP as specified in [RFC8762], along with the optional extensions specified in [RFC8972] and the SR-specific extensions specified in [RFC9503]. The procedures in this document measure SR-MPLS paths [RFC8402] including Segment Lists of SR Policies [RFC9256], SR-MPLS IGP best paths, and SR-MPLS IGP Flexible Algorithm (Flex-Algo) paths [RFC9350], as well as Layer-3 (L3) services and point-to-point Layer-2 (L2) services carried over those paths. The procedures specified in this document are intended for deployment in a single network administrative domain. STAMP requires protocol support as specified in [RFC8762] on the Session-Reflector to process the received STAMP-Test packets, including optional TLVs specified in [RFC8972], and to generate Session-Reflector test packets and reflect received TLVs. In addition, use of the UDP port number in STAMP-Test packets exposes the Session-Reflector to security threats and requires rate limiting and consideration of operational impacts. In practice, these requirements lead implementations to process STAMP-Test packets on an exception path (e.g., by punting them from the IP- or MPLS-forwarding fast path). This limits the frequency of STAMP-Test packets and the ability to provide shorter measurement intervals. This document defines new mechanisms to enhance the procedures for performance measurement using STAMP, improve scalability by supporting a larger number of STAMP sessions, and shorten the measurement interval for SR-MPLS paths by defining three new measurement modes: one-way measurement mode, loopback measurement mode, and loopback with Timestamp and Forward (TSF) measurement mode. The loopback measurement mode and the loopback with TSF measurement mode take advantage of source routing. Gandhi, et al. Expires 19 May 2027 [Page 4] Internet-Draft STAMP for Segment Routing over MPLS November 2026 This document covers procedures for point-to-point L2 services carried over SR-MPLS paths. These procedures use the Type 3 exception (TTL=1 in the ultimate L2 service label) for control-plane termination, as specified in [I-D.ietf-mpls-stamp-pw]. Procedures for measurement modes of non-SR-MPLS LSPs (e.g., LDP- signaled LSPs) and pseudowires that are not carried over SR-MPLS paths are outside the scope of this document. This document also does not cover the use of the Type 4 (Generic-Associated-Label-based) or Type 1 (Control-Word-based) exception procedures defined in [I-D.ietf-mpls-stamp-pw] to encapsulate SR-MPLS paths or L3 and L2 services carried over those paths in the measurement modes specified here. 2. Conventions Used in This Document 2.1. Requirements Language The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in BCP 14 [RFC2119] [RFC8174] when, and only when, they appear in all capitals, as shown here. 2.2. Terminology This document uses the terms Session-Sender, Session-Reflector, and STAMP-Test packet as defined in [RFC8762]. This document uses timestamps T1, T2, T3, and T4 and the one-way delay metric (T2 - T1), the two-way delay metric ((T4 - T1) - (T3 - T2)), and the round-trip delay metric (T4 - T1), as defined in Section 2.4 of [RFC6374]. Round-trip delay: Section 2.7.2 of [RFC2681] defines round-trip delay as the wire-time interval from when a test packet leaves the source's network interface (T1) until the corresponding response packet has completely arrived there (T4). When the packet arrives at the destination, the destination sends a corresponding response to the source as soon as possible (Section 2.6 of [RFC2681]). The time at the destination between packet receipt (T2) and response transmission (T3) is ideally zero; any nonzero time adds error and uncertainty to the round-trip measurement (Section 2.7.2 of [RFC2681]; Section 2.7.3 of [RFC2681]). Gandhi, et al. Expires 19 May 2027 [Page 5] Internet-Draft STAMP for Segment Routing over MPLS November 2026 2.3. Abbreviations +==============+====================================+=============+ | Abbreviation | Expansion | Reference | +==============+====================================+=============+ | BoS | Bottom of Stack | [RFC9994] | +--------------+------------------------------------+-------------+ | ECMP | Equal-Cost Multipath | [RFC6790] | +--------------+------------------------------------+-------------+ | HMAC | Hashed Message Authentication Code | [RFC6234] | +--------------+------------------------------------+-------------+ | L2VPN | Layer-2 Virtual Private Network | [RFC4026] | +--------------+------------------------------------+-------------+ | L3VPN | Layer-3 Virtual Private Network | [RFC4026] | +--------------+------------------------------------+-------------+ | LSE | Label Stack Entry | [RFC9994] | +--------------+------------------------------------+-------------+ | MBZ | Must Be Zero | [RFC8762] | +--------------+------------------------------------+-------------+ | MNA | MPLS Network Action | [RFC9994] | +--------------+------------------------------------+-------------+ | MPLS | Multiprotocol Label Switching | [RFC3032] | +--------------+------------------------------------+-------------+ | NTP | Network Time Protocol | [RFC5905] | +--------------+------------------------------------+-------------+ | PHP | Penultimate Hop Popping | [RFC3031] | +--------------+------------------------------------+-------------+ | PTP | Precision Time Protocol | [IEEE.1588] | +--------------+------------------------------------+-------------+ | S bit | Bottom of Stack bit | [RFC3032] | +--------------+------------------------------------+-------------+ | SHA | Secure Hash Algorithms | [RFC6234] | +--------------+------------------------------------+-------------+ | SID | Segment Identifier | [RFC8402] | +--------------+------------------------------------+-------------+ | SR | Segment Routing | [RFC8402] | +--------------+------------------------------------+-------------+ | SR-MPLS | Segment Routing over the MPLS data | [RFC8402] | | | plane | | +--------------+------------------------------------+-------------+ | SSID | STAMP Session Identifier | [RFC8972] | +--------------+------------------------------------+-------------+ | STAMP | Simple Two-Way Active Measurement | [RFC8762] | | | Protocol | | +--------------+------------------------------------+-------------+ | TC | Traffic Class | [RFC5462] | +--------------+------------------------------------+-------------+ | TLV | Type-Length-Value | [RFC8972] | Gandhi, et al. Expires 19 May 2027 [Page 6] Internet-Draft STAMP for Segment Routing over MPLS November 2026 +--------------+------------------------------------+-------------+ | TSF | Timestamp and Forward | This | | | | document | +--------------+------------------------------------+-------------+ | TTL | Time to Live | [RFC3032] | +--------------+------------------------------------+-------------+ | VPN | Virtual Private Network | [RFC4026] | +--------------+------------------------------------+-------------+ Table 1: Abbreviations 3. Overview For performance measurement in SR-MPLS networks, the STAMP Session- Sender and Session-Reflector use the STAMP-Test packets specified in [RFC8762], along with optional extensions specified in [RFC8972]. The STAMP-Test packets are encapsulated using an IP/UDP header, as specified in [RFC8762]. In this document, STAMP-Test packets use an IP/UDP header and are further encapsulated with an MPLS header for use in SR-MPLS networks. In SR-MPLS networks, STAMP-Test packets can use one of the following measurement modes, which differ in how the Session-Reflector processes the packets: 1. Two-Way measurement mode: The Session-Reflector generates and transmits Session-Reflector test packets (see Section 4.1). 2. One-Way measurement mode: The Session-Reflector does not generate or transmit Session- Reflector test packets (see Section 4.2). 3. Loopback measurement mode: The Session-Reflector does not perform STAMP processing (see Section 4.3). 4. Loopback with TSF measurement mode: The Session-Reflector writes the receive timestamp in the fast path but does not perform STAMP processing (see Section 4.4). Gandhi, et al. Expires 19 May 2027 [Page 7] Internet-Draft STAMP for Segment Routing over MPLS November 2026 Note that the two-way measurement mode is specified as part of the STAMP process in [RFC8762] and is further specified for SR-MPLS networks in this document. The other measurement modes are new, specific to SR-MPLS networks, and are not specified in [RFC8762]. STAMP-Test packets are transmitted on the same path as the data traffic flow being measured to measure the delay and packet loss experienced by the data traffic flow, using the same MPLS encapsulation. * STAMP-Test packets are transmitted on various transport data paths in the network to measure the delay and packet loss experienced by the traffic forwarded on those paths. * STAMP-Test packets are transmitted over L3 and point-to-point L2 services in the network to measure the delay and packet loss experienced by the traffic carried by those services. Typically, STAMP Session-Reflector test packets are transmitted along an IP path between the Session-Reflector and Session-Sender. The forward-direction path and the return path of STAMP-Test packets are not guaranteed to match, even for directly connected nodes. In SR- MPLS networks, the same path (i.e., the same set of links and nodes) might be desirable for the STAMP-Test packets in both directions, for example, in an ECMP environment. This is achieved as follows: * In two-way measurement mode: The optional STAMP extensions for SR-MPLS networks, as specified in [RFC9503], are used. The STAMP Session-Reflector uses the return path parameters for the Session-Reflector test packet from the STAMP extensions in the received Session-Sender test packet, as specified in [RFC9503]. * In the loopback measurement mode and the loopback with TSF measurement mode: Both the forward path and the return path are included in the MPLS encapsulation of the Session-Sender test packets using source routing. The procedures in this document measure delay and packet loss in SR- MPLS networks by transmitting and receiving STAMP-Test packets. The optional STAMP extensions specified in [RFC8972] are used for direct measurement in SR-MPLS networks. Gandhi, et al. Expires 19 May 2027 [Page 8] Internet-Draft STAMP for Segment Routing over MPLS November 2026 4. Measurement Modes In Figures 1 through 4, the nodes S1 and R1 may be connected via an SR-MPLS path [RFC8402]. The SR-MPLS path may be a Segment List of an SR Policy [RFC9256] on node S1 (referred to as the "head-end") with node R1 as the destination (referred to as the "endpoint"), an SR-MPLS IGP best path, or an SR-MPLS IGP Flex-Algo path [RFC9350]. Additionally, an L3 or L2 VPN service may be carried over the SR-MPLS path between nodes S1 and R1. 4.1. Two-Way Measurement Mode As shown in Figure 1, in two-way measurement mode, the STAMP Session- Sender S1 initiates a Session-Sender test packet, and the STAMP Session-Reflector R1 generates and transmits a Session-Reflector test packet. The Session-Reflector test packet is sent to the Session- Sender S1 on either the same path (i.e., the same set of links and nodes) or a different path in the reverse direction from the path taken toward the Session-Reflector R1. T1 T2 / \ +-------+ Session-Sender Test Packet +-------+ | | - - - - - - - - - - - - - - - ->| | | S1 |=================================| R1 | | |<- - - - - - - - - - - - - - - - | | +-------+ Session-Reflector test packet +-------+ \ / T4 T3 STAMP Session-Sender STAMP Session-Reflector Figure 1: Reference Topology for Two-Way Measurement Mode T1 is a transmit timestamp, and T4 is a receive timestamp added by node S1. T2 is a receive timestamp, and T3 is a transmit timestamp added by node R1. All four timestamps are used by the Session-Sender to measure the two-way delay metric, defined as ((T4 - T1) - (T3 - T2)) in Section 2.2. Timestamps T1 and T2 are used by the Session- Sender to measure the forward one-way delay metric, defined as (T2 - T1) in Section 2.2. Note that the delay value (T4 - T3), measured by the Session-Sender, is the reverse one-way delay metric. The "two- way delay" is the sum of the one-way delays in each direction and reflects the delay of the bidirectional path, irrespective of processing delays within the Session-Reflector. Gandhi, et al. Expires 19 May 2027 [Page 9] Internet-Draft STAMP for Segment Routing over MPLS November 2026 In two-way measurement mode, the round-trip delay interval (T4 - T1) includes the Session-Reflector processing time, including handling the UDP header in the exception path, generating the Session- Reflector test packet, and reflecting optional TLVs. The two-way delay metric subtracts the Session-Reflector interval (T3 - T2) from the round-trip delay interval. The computation of the one-way delay metric requires the clocks on the Session-Sender and the Session-Reflector to be synchronized, e.g., using either PTPv2 [IEEE.1588] or NTPv4 [RFC5905]. In two-way measurement mode, round-trip packet loss, near-end packet loss (forward direction), and far-end packet loss (backward direction) can be measured. Note that packet loss measurement does not require the clocks on the Session-Sender and the Session- Reflector to be synchronized using either PTPv2 or NTPv4. 4.2. One-Way Measurement Mode As shown in Figure 2, in one-way measurement mode, the STAMP Session- Sender S1 initiates a Session-Sender test packet. Upon receiving a Session-Sender test packet, the STAMP Session-Reflector does not transmit a Session-Reflector test packet. T1 T2 / \ +-------+ Session-Sender Test Packet +-------+ | | - - - - - - - - - - - - - - - ->| | | S1 |=================================| R1 | | | | | +-------+ +-------+ STAMP Session-Sender STAMP Session-Reflector Figure 2: Reference Topology for One-Way Measurement Mode T1 is a transmit timestamp added by node S1 and T2 is a receive timestamp added by node R1. Timestamps T1 and T2 are used by the Session-Reflector to measure the one-way delay metric, defined as (T2 - T1) in Section 2.2. The computation of the one-way delay metric requires the clocks on the Session-Sender and the Session-Reflector to be synchronized using either PTPv2 or NTPv4. In one-way measurement mode, forward-direction packet loss can be measured. The Session-Reflector compares the Session-Sender Sequence Number in each received Session-Sender test packet with the sequence Gandhi, et al. Expires 19 May 2027 [Page 10] Internet-Draft STAMP for Segment Routing over MPLS November 2026 number in the previously received packet. An increase of k indicates that k-1 test packets were not received, accounting for sequence- number wraparound. This measurement is available at the Session- Reflector. Note that packet loss measurement does not require the clocks on the Session-Sender and the Session-Reflector to be synchronized using either PTPv2 or NTPv4. 4.3. Loopback Measurement Mode As shown in Figure 3, in loopback measurement mode, the STAMP Session-Sender S1 initiates a Session-Sender test packet to measure the round-trip delay using source routing. The node R1 at the end of the configured forward path forwards the received STAMP-Test packet along the configured return path using its MPLS and service forwarding state in the data plane. The node R1 does not need to support STAMP or maintain a STAMP session. T1 / +-------+ Session-Sender Test Packet +-------+ | | - - - - - - - - - - - - - - - - | | | S1 |================================|| R1 | | |<- - - - - - - - - - - - - - - - | | +-------+ Session-Sender test packet +-------+ \ (Return) T4 STAMP Session-Sender STAMP Session-Reflector (Loopback, Forward) Figure 3: Reference Topology for Loopback Measurement Mode T1 is a transmit timestamp and T4 is a receive timestamp added by node S1. The Session-Sender uses them to measure the round-trip delay metric, defined as (T4 - T1) in Section 2.2. This delay includes test packet processing on the node R1 in the data plane. The processing delay includes only the time required to forward the test packet from the incoming interface to the outgoing interface in the data plane. The node R1 does not timestamp the test packets and therefore does not require a timestamping capability. In loopback measurement mode, only round-trip packet loss can be measured. Gandhi, et al. Expires 19 May 2027 [Page 11] Internet-Draft STAMP for Segment Routing over MPLS November 2026 4.4. Loopback with TSF Measurement Mode As shown in Figure 4, in loopback with TSF measurement mode, the STAMP Session-Sender S1 initiates a Session-Sender test packet in loopback measurement mode using source routing. The TSF mechanism optimizes the operation of punting the test packet from the data- plane fast path for control-plane processing and generating the return Session-Sender test packet on the STAMP Session-Reflector R1, because timestamp writing is implemented in the data-plane fast path. This helps achieve a higher number of STAMP sessions and faster measurement intervals. T1 T2 / \ +-------+ Session-Sender Test Packet +-------+ | | - - - - - - - - - - - - - - - - | | | S1 |================================|| R1 | | |<- - - - - - - - - - - - - - - - | | +-------+ Session-Sender test packet +-------+ \ (Return) T4 STAMP Session-Sender STAMP Session-Reflector (Loopback, TSF) Figure 4: Reference Topology for Loopback with TSF Measurement Mode T1 is a transmit timestamp and T4 is a receive timestamp added by node S1. The Session-Reflector R1 writes the receive timestamp (T2) in the received STAMP-Test packet in the fast path in the data plane, without punting the test packet from the fast path in the data plane for control-plane STAMP processing. In this mode, a node that performs the TSF network action needs to support the applicable TSF flag, as specified in Section 9.1.1. Timestamps T1 and T2 are used by the Session-Sender to measure the one-way delay metric, defined as (T2 - T1) in Section 2.2. Timestamps T1 and T4 are used by the Session-Sender to measure the round-trip delay metric, defined as (T4 - T1) in Section 2.2. In loopback with TSF measurement mode, only round-trip packet loss can be measured. 5. STAMP Reference Model The STAMP Reference Model from [RFC8762], augmented with an SDN Controller for Configuration and Management and typical measurement parameters for a STAMP session, is shown in Figure 5. Gandhi, et al. Expires 19 May 2027 [Page 12] Internet-Draft STAMP for Segment Routing over MPLS November 2026 +------------+ | SDN | | Controller | +------------+ / \ Measurement Mode / \ Stateful or Stateless Destination UDP Port Number / \ Destination UDP Port Number Authentication Mode / \ Authentication Mode Authentication Key / \ Authentication Key Timestamp Format / \ Timestamp Format SSID / \ SSID Metric Types / \ v v +-------+ +-------+ | | STAMP | | | S1 |==========| R1 | | | Session | | +-------+ +-------+ STAMP Session-Sender STAMP Session-Reflector Figure 5: STAMP Reference Model The procedures specified in [RFC8762] and [RFC8972] correspond to the two-way measurement mode defined in this document. The STAMP-Test packet payloads specified in [RFC8972] are transported using an IPv4 or IPv6 header and a UDP header. The IPv4 or IPv6 header and the UDP header follow the procedures specified in Section 3.1 of [I-D.ietf-ippm-stamp-ext-hdr]. The same or a different destination UDP port number may be used for STAMP sessions for SR-MPLS paths and for L3 and L2 services carried over SR-MPLS paths, subject to the mode-specific UDP port selection rules in Section 12. Similarly, the same or a different source UDP port number can be used for STAMP sessions for SR-MPLS paths and for L3 and L2 services carried over those paths. The Session-Reflector mode can be either Stateful or Stateless, as specified in Section 4 of [RFC8762]. Stateless Session-Reflector mode is applicable only in two-way measurement mode. For two-way and one-way measurement modes, when authentication is used, the Session-Sender and Session-Reflector MUST be configured with the same HMAC key, as specified in Section 4.4 of [RFC8762]. In loopback measurement mode, the Session-Sender can use an HMAC key to add an HMAC to its test packet and verify the HMAC when the packet is returned; the Session-Reflector forwards the packet without validating the HMAC and does not need the key. Gandhi, et al. Expires 19 May 2027 [Page 13] Internet-Draft STAMP for Segment Routing over MPLS November 2026 The supported timestamp formats are a 64-bit truncated Precision Time Protocol (PTPv2) timestamp [IEEE.1588] and a 64-bit Network Time Protocol (NTPv4) timestamp [RFC5905]. The Z field identifies the timestamp format used by the STAMP Session-Sender and Session- Reflector, as specified in Section 4.2.1 of [RFC8762]. Examples of delay metrics are one-way delay, two-way delay, forward one-way delay, and reverse one-way delay, as specified in [RFC8762]. Examples of packet loss metric types are round-trip packet loss, near-end packet loss (forward direction), and far-end packet loss (backward direction), as specified in [RFC8762]. TTL and Hop Limit values in the STAMP-Test packets are set as follows: * The IPv4 TTL or the IPv6 Hop Limit MUST be set to 255, as specified in Section 4.3 of [I-D.ietf-mpls-stamp-pw]. * In SR-MPLS encapsulations, the TTL of each MPLS label MUST be set to 255, including every label in a Segment List, every return-path transport label, and the MNA label (see Section 9.1). * The ultimate L2VPN label that invokes the Type 3 exception for control-plane processing MUST have a TTL of 1: - For two-way and one-way measurement modes, this is the forward- direction L2VPN label at the Session-Reflector. - For two-way measurement mode, it is also the reverse-direction L2VPN label at the Session-Sender. - For loopback measurement mode, it is the return-direction L2VPN label at the Session-Sender. * In loopback measurement mode, the Session-Reflector forwards the packet in the data plane using the SR-MPLS return-path labels and does not terminate it for STAMP control-plane processing. The Flow Label field is set as follows: * The Flow Label field in the IPv6 header of each Session-Sender test packet MUST be set to the value used by the data packets for the IPv6 traffic flow being measured by the Session-Sender. * Unless local policy explicitly specifies otherwise, the Session- Reflector MUST set the Flow Label field in its test packet to the value received in the Session-Sender test packet. Gandhi, et al. Expires 19 May 2027 [Page 14] Internet-Draft STAMP for Segment Routing over MPLS November 2026 * Local policy MAY specify that the Session-Reflector replaces the received value with a locally configured value. A Software-Defined Networking (SDN) controller can be used for the configuration and management of STAMP sessions, as specified in [RFC8762]. The controller can also receive streaming telemetry of operational data. The YANG data model for STAMP, defined in [I-D.ietf-ippm-stamp-yang], can be used to configure Session-Senders and Session-Reflectors and to stream telemetry of operational data. In two-way measurement mode, the Session-Sender retrieves timestamp T1, T2, and T3 from the received Session-Reflector test packet as specified in [RFC8762] and collects the receive timestamp T4 locally. 5.1. STAMP for One-Way Measurement Mode In one-way measurement mode, the Session-Reflector MUST operate in Stateful mode. In one-way measurement mode, one of the following configurations for the destination UDP port number is used: * A different destination UDP port number MAY be selected instead of the UDP port number used by the Session-Reflector for the two-way measurement mode. A different UDP port number does not by itself signal the measurement mode. When a different UDP port is used, the Session-Reflector MUST associate packets received on that UDP port with the configured one-way session. Destination UDP port selection and endpoint configuration are specified in Section 12.7. * If the same Session-Reflector UDP port number is used for one-way and two-way measurement modes, the Session-Sender MUST include the "No Reply Requested" flag in the Control Code Sub-TLV within the Return Path TLV defined in [RFC9503]. The Session-Reflector MUST process this Control Code Sub-TLV in one-way measurement mode and MUST NOT transmit Session-Reflector test packets in response. In one-way measurement mode, the Session-Reflector retrieves timestamp T1 from the Timestamp field of the received Session-Sender test packet and collects the receive timestamp T2 locally. Gandhi, et al. Expires 19 May 2027 [Page 15] Internet-Draft STAMP for Segment Routing over MPLS November 2026 5.2. STAMP for Loopback and Loopback with TSF Measurement Modes In the loopback measurement mode and the loopback with TSF measurement mode, the node at the end of the forward path (referred to as the Session-Reflector in this document) MUST process the MPLS header according to the specified forwarding procedure, MUST NOT perform STAMP processing, MUST NOT modify the STAMP-Test packet except where the TSF procedure explicitly requires timestamp modification, and MUST forward the packet using the specified return- path mechanism. A node performing the TSF action MUST support the applicable TSF flag, as specified in Section 9.1.1. The Session-Sender MUST set the destination UDP port number to the UDP port number it uses to receive return Session-Sender test packets. This UDP port MUST NOT be 862, which is the default UDP port number used by the Session-Reflector. The same UDP port number MAY be used as both the destination and source UDP port numbers in the Session-Sender test packets. Port selection is summarized in Section 12. The "Session-Sender Sequence Number", the "Session-Sender Timestamp", the "Session-Sender Error Estimate", and the "Session-Sender TTL" fields in the Session-Reflector test packet, shown in Figure 5 of [RFC8762], MUST be set to zero in the transmitted Session-Sender test packets, as specified in [RFC8762]. These fields MUST be ignored in the return Session-Sender test packets received at the Session-Sender in the loopback measurement mode and the loopback with TSF measurement mode. In both the loopback measurement mode and the loopback with TSF measurement mode, the Session-Sender adds the transmit timestamp (T1) to the payload of the Session-Sender test packet. In loopback measurement mode, the Session-Sender retrieves timestamp T1 from the Timestamp field of the returned Session-Sender test packet and collects the receive timestamp T4 locally. In loopback with TSF measurement mode, the Session-Reflector writes the receive timestamp (T2) in the received STAMP-Test packet in the fast path in the data plane, without punting the test packet from the fast path in the data plane for control-plane STAMP processing. The Session-Sender retrieves timestamp T1 from the Timestamp field of the returned Session-Sender test packet. It retrieves timestamp T2 from the location of the Receive Timestamp field and collects the receive timestamp T4 locally. Gandhi, et al. Expires 19 May 2027 [Page 16] Internet-Draft STAMP for Segment Routing over MPLS November 2026 5.3. Measurement Mode Comparison for STAMP +========+=========+=========+=======+========+===========+=========+ |Mode |STAMP |Timestamp|Delay |Loss |Direct |Reference| | |Reflector| |Metrics|Metrics |Measurement| | +========+=========+=========+=======+========+===========+=========+ |Two-Way |Stateful |T1/T2/T3/|OW, TW |One- |Applicable |[RFC8762]| | |or |T4 | |Way, | | | | |Stateless| | |Round- | | | | | | | |trip | | | +--------+---------+---------+-------+--------+-----------+---------+ |One-Way |Stateful |T1/T2 |OW |One-Way |Applicable |This | | | | | | | |document | +--------+---------+---------+-------+--------+-----------+---------+ |Loopback|N/A |T1/T4 |RT |Round- |Not |This | | | | | |trip |Applicable |document | +--------+---------+---------+-------+--------+-----------+---------+ |Loopback|N/A |T1/T2/T4 |OW, RT |Round- |Not |This | |with TSF| | | |trip |Applicable |document | +--------+---------+---------+-------+--------+-----------+---------+ Table 2: Measurement Mode Comparison for Applicability in STAMP Delay metric abbreviations and clock synchronization requirements: * OW: One-way delay metric (T2 - T1); computation requires clock synchronization. * TW: Two-way delay metric ((T4 - T1) - (T3 - T2)); computation does not require clock synchronization. * RT: Round-trip delay metric (T4 - T1); computation does not require clock synchronization. 5.3.1. STAMP TLV Applicability The following STAMP TLVs specified for the two-way measurement mode are applicable in the one-way measurement mode, the loopback measurement mode, and the loopback with TSF measurement mode: * Type 1 (Extra Padding) [RFC8972]. Type 8 (HMAC) [RFC8972] is applicable in the one-way measurement mode and the loopback measurement mode, but is not applicable in the loopback with TSF measurement mode. Within Type 10 (Return Path) [RFC9503], the following Sub-TLVs are applicable: Gandhi, et al. Expires 19 May 2027 [Page 17] Internet-Draft STAMP for Segment Routing over MPLS November 2026 * Control Code Sub-TLV: - When the same Session-Reflector UDP port number is used for one-way and two-way sessions, the "No Reply Requested" requirement specified in Section 5.1 applies. - The "Reply Requested on the Same Link" value is applicable in two-way measurement mode. * The Return IPv4 or IPv6 Address (Sub-TLV Type 2) is applicable only in two-way measurement mode. * The SR-MPLS Label Stack of the Return Path (Sub-TLV Type 3) is applicable only in two-way measurement mode. Type 5 (Direct Measurement) [RFC8972] is applicable in the two-way measurement mode and the one-way measurement mode. It is not applicable in the loopback measurement mode or the loopback with TSF measurement mode. In the two-way measurement mode and the one-way measurement mode, Type 9 (Destination Node IPv4 or IPv6 Address) [RFC9503] carries the Session-Reflector IP address. In the loopback measurement mode and the loopback with TSF measurement mode, it carries the Session-Sender IP address. The following STAMP TLVs specified for the two-way measurement mode are not applicable in the one-way measurement mode, the loopback measurement mode, and the loopback with TSF measurement mode: * Type 2 (Location) [RFC8972]. * Type 3 (Timestamp Information) [RFC8972]. * Type 4 (Class of Service) [RFC8972]. * Type 6 (Access Report) [RFC8972]. * Type 7 (Follow-Up Telemetry) [RFC8972]. * Type 12 (Reflected Test Packet Control) [RFC10052]. * Reflected Fixed Header Data [I-D.ietf-ippm-stamp-ext-hdr]. A STAMP session operating in the one-way measurement mode, the loopback measurement mode, or the loopback with TSF measurement mode MUST ignore any TLV listed above that is not applicable to that mode when the session receives a STAMP-Test packet containing that TLV. Gandhi, et al. Expires 19 May 2027 [Page 18] Internet-Draft STAMP for Segment Routing over MPLS November 2026 5.4. STAMP Session Identifier for SR-MPLS For SR-MPLS paths, the Session-Sender and Session-Reflector MUST identify STAMP sessions using the procedures specified in Section 3.3 of [I-D.ietf-mpls-stamp-pw] for test packets with an IP/UDP header. As specified in Section 3.3 of [I-D.ietf-mpls-stamp-pw], the Session- Sender MUST include a nonzero SSID in each Session-Sender test packet. The following procedures apply to STAMP session identification using the SSID in each measurement mode: * Two-way measurement mode: A Session-Reflector that receives a Session-Sender test packet with an SSID of zero follows the procedure specified in [RFC8972]. For a nonzero SSID, the Session-Reflector MUST use the SSID to identify the configured session and MUST copy the SSID into its reply as specified in [RFC8972]. A Session-Sender that receives a Session-Reflector test packet with a zero SSID MAY stop the session, as specified in Section 3 of [RFC8972]. * One-way measurement mode: A Session-Reflector that receives a Session-Sender test packet with an SSID of zero MUST discard it. For a nonzero SSID, the Session-Reflector MUST use the SSID to identify the configured session. The Session-Reflector MUST associate each received Session-Sender test packet with a STAMP session using the Source IP address, the SSID, the destination UDP port number, and the measurement mode configured locally for that SSID. * Loopback measurement mode and loopback with TSF measurement mode: The Session-Sender MUST identify a returned Session-Sender test packet using the source IP address, SSID, destination UDP port number, and measurement mode configured locally for that SSID. The returned test packet is the Session-Sender's own test packet, so its source IP address identifies the Session-Sender and cannot be used as the Session-Reflector address for session identification. The Session-Sender MUST discard a returned Session-Sender test packet with a zero or non-matching SSID. These fields identify the local STAMP session on the Session- Sender but do not identify the endpoint node that forwarded the packet; the intended endpoint node is determined by the provisioned forward path and service label. 6. Encapsulations for Two-Way Measurement Mode Gandhi, et al. Expires 19 May 2027 [Page 19] Internet-Draft STAMP for Segment Routing over MPLS November 2026 6.1. Session-Sender Test Packet The content of a Session-Sender test packet is shown in Figure 6. The Session-Sender transmits the test packet payload, as specified in Section 3 of [RFC8972], with an IP header and a UDP header [RFC768]. +---------------------------------------------------------------+ | IP Header | . Source IP Address = Session-Sender IP Address . . Destination IP Address = Session-Reflector IP Address . . IPv4 Protocol or IPv6 Next-header = 17 (UDP) . . . +---------------------------------------------------------------+ | UDP Header | . Source Port = Selected by Session-Sender . . Destination Port = User-configured Destination Port Or 862 . . . +---------------------------------------------------------------+ | Payload = Test Packet as specified in Figure 1 and Figure 3 | . in Section 3 of RFC 8972 . . . +---------------------------------------------------------------+ Figure 6: Content of Session-Sender Test Packet 6.2. Session-Sender Test Packet for SR-MPLS Data Plane 6.2.1. Session-Sender Test Packet for SR-MPLS Paths A Session-Sender test packet using the same SR-MPLS encapsulation as the data traffic on the path is shown in Figure 7. 0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Label(1) (Top of Stack) | TC |S| TTL | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ . . . . +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Label(n) | TC |S| TTL | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Test Packet as shown in Figure 6 | . . +---------------------------------------------------------------+ Figure 7: Content of Session-Sender Test Packet for an SR-MPLS Path Gandhi, et al. Expires 19 May 2027 [Page 20] Internet-Draft STAMP for Segment Routing over MPLS November 2026 6.2.1.1. SR Policy Paths A valid Candidate Path of an SR Policy contains one or more Segment Lists, each of which is a stack of MPLS labels [RFC9256]. To measure delay for an SR Policy, the Session-Sender SHOULD transmit test packets for each Segment List selected for monitoring, using a separate STAMP session for each list. The Candidate Paths and Segment Lists selected for monitoring depend on the operational objective, as described in Section 12.6. Each SR-MPLS Segment List contains a list of 32-bit Label Stack Entries (LSEs), where each LSE includes a 20-bit label value, an 8-bit Time to Live (TTL) field, a 3-bit Traffic Class (TC) field, and a 1-bit Bottom of Stack (BoS) field [RFC3032]. The IP header's Source IP Address field MUST contain the IP address of the SR Policy's head-end node. There are two cases for the SR Policy endpoints, as described below. 1. If the SR Policy's endpoint is specified and is not the null endpoint, its IP address MUST be used as the Destination IP Address in the IP header. 2. For an SR Policy with Color-Only Destination Steering, where the endpoint is an unspecified IPv4 address (the null endpoint is 0.0.0.0, as specified in Section 8.8.1 of [RFC9256]), an IPv4 loopback address from the 127/8 range is used as the Destination IP Address in the IPv4 header. For IPv6 traffic, the Session-Sender's IPv6 address is used as the Source IP Address, and an IPv6 address from the Dummy IPv6 Prefix 100:0:0:1::/64 block [RFC9780] [IANA-IPv6-REG] is used as the Destination IP Address in the IPv6 header. In this case, the Segment List of the Session-Sender test packets MUST end with a label that causes the packets to be delivered to the Session-Reflector at the SR Policy endpoint (for example, by adding the Prefix SID label of the endpoint in the Segment List). Gandhi, et al. Expires 19 May 2027 [Page 21] Internet-Draft STAMP for Segment Routing over MPLS November 2026 Because a non-routable destination IP address does not identify the Session-Reflector, the Session-Sender SHOULD include the Type 9 ("Destination Node IPv4 or IPv6 Address") STAMP TLV defined in [RFC9503], with the IP address of the intended Session-Reflector. When a non-routable destination IP address as described in Section 5.1 of [I-D.ietf-mpls-stamp-pw] is used, and the intended destination node is not verified by other means, a misforwarded STAMP-Test packet or a packet whose Segment List ends early may be processed by another node and produce an incorrect measurement without indication. 6.2.1.2. SR-MPLS IGP Paths Each IGP Flex-Algo path and IGP best path in SR-MPLS networks [RFC9350] has Prefix SID labels advertised by the nodes. The Session-Sender test packet uses the Prefix SID labels. The forward-direction MPLS label stack carries the Session- Reflector's Prefix SID label: the Flex-Algo Prefix SID for an IGP Flex-Algo path, and the IGP Prefix SID for an IGP best path. The SR- MPLS Segment List Sub-TLV in the Return Path TLV carries the Session- Sender's Prefix SID label for the reverse direction, as specified in Section 6.3.1. An IGP Prefix SID label identifies a destination within an IGP or Flex-Algo forwarding context; it does not identify a specific SR-MPLS path. A test packet using an IGP Prefix SID therefore measures forwarding according to the IGP-selected path, which may include multiple ECMP paths. Section 10 describes how the Session-Sender can influence the ECMP paths using hashing inputs, although it generally cannot deterministically select a particular path. This differs from measuring a specific SR Policy Segment List of a valid Candidate Path, as described above. However, a Segment List can itself encounter multiple ECMP paths when it uses an IGP Prefix SID label. 6.2.2. Session-Sender Test Packet for Layer-3 Services over an SR-MPLS Path To measure delay for an L3 service carried over an SR-MPLS path, the Session-Sender MUST use the SR-MPLS label stack of the data packets transmitted over the L3 service, including the L3 Virtual Private Network (L3VPN) label advertised by the Session-Reflector, to encapsulate the Session-Sender test packets, as shown in Figure 8. Gandhi, et al. Expires 19 May 2027 [Page 22] Internet-Draft STAMP for Segment Routing over MPLS November 2026 0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Label(1) (Top of Stack) | TC |S| TTL | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ . . . . +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | L3VPN Label | TC |S| TTL | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Test Packet as shown in Figure 6 | . Destination IP Address in L3VPN table . . Source IP Address in L3VPN table-reverse direction . . . +---------------------------------------------------------------+ Figure 8: Content of Session-Sender Test Packet for an L3 Service over an SR- MPLS Path An IP header, as shown in Figure 6, is added to the Session-Sender test packets after the MPLS header. The Destination IP Address in the IP header MUST be reachable via the IP table lookup associated with the L3VPN label added for the L3 service on the Session- Reflector. The Source IP Address in the IP header of the Session- Sender test packets MUST be reachable via the IP table lookup associated with the L3 service in the reverse direction. 6.2.3. Session-Sender Test Packet for Layer-2 Services over an SR-MPLS Path To measure a point-to-point L2VPN service carried over an SR-MPLS path, the Session-Sender MUST use the SR-MPLS label stack of the data packets transmitted over the L2VPN service, including the L2VPN label advertised by the Session-Reflector, to encapsulate the Session- Sender test packets, as shown in Figure 9. Gandhi, et al. Expires 19 May 2027 [Page 23] Internet-Draft STAMP for Segment Routing over MPLS November 2026 0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Label(1) (Top of Stack) | TC |S| TTL | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ . . . . +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | L2VPN Label | TC |1| TTL=1 | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Test Packet as shown in Figure 6 | . . +---------------------------------------------------------------+ Figure 9: Content of Session-Sender Test Packet for an L2 Service over an SR- MPLS Path For two-way and one-way measurement modes, the Session-Sender MUST set the TTL of the ultimate forward-direction L2VPN label to 1. This invokes the Type 3 exception specified in [I-D.ietf-mpls-stamp-pw] and terminates the test packet for control-plane processing on the Session-Reflector. The Session-Sender MUST add an IP header, as shown in Figure 6, to the Session-Sender test packets after the MPLS header. The header MUST contain the Session-Sender IP address as the Source IP Address and the Session-Reflector IP address as the Destination IP Address. 6.3. Session-Reflector Test Packet In two-way measurement mode, the Session-Reflector transmits the Session-Reflector test packets over SR-MPLS paths, L3 services, or L2 services carried over SR-MPLS paths in the reverse direction toward the Session-Sender. The Session-Reflector decapsulates the MPLS header, if present, from the received Session-Sender test packet. The Session-Reflector MUST generate the Session-Reflector test packet using the source and destination IP addresses and UDP port numbers extracted from the received Session-Sender test packet, except that a Return Address Sub-TLV, when present, specifies the destination IP address, as described in Section 6.3.1. The packet format is shown in Figure 10. Gandhi, et al. Expires 19 May 2027 [Page 24] Internet-Draft STAMP for Segment Routing over MPLS November 2026 +---------------------------------------------------------------+ | IP Header | . Source IP Address . . = Session-Reflector IP Address . . Destination IP Address . . = Source IP Address from Session-Sender Test Packet . . (unless overridden by Return Address Sub-TLV) . . IPv4 Protocol or IPv6 Next-header = 17 (UDP) . . . +---------------------------------------------------------------+ | UDP Header | . Source Port = Selected by Session-Reflector . . Destination Port . . = Source Port from Session-Sender Test Packet . . . +---------------------------------------------------------------+ | Payload = Test Packet as specified in Figure 2 and Figure 4 | . in Section 3 of RFC 8972 . . . +---------------------------------------------------------------+ Figure 10: Content of Session-Reflector Test Packet The Session-Reflector test packet fields are set as follows: * The payload contains the Session-Reflector test packet specified in Section 3 of [RFC8972]. * The source UDP port number in the received UDP header MUST be used as the destination UDP port number, and the destination UDP port number in the received UDP header MUST be used as the source UDP port number. * The source IP address in the received IP header MUST be used as the destination IP address unless a Return Address Sub-TLV is present, in which case the specified address MUST be used. * The Session-Reflector IP address MUST be used as the source IP address. The Session-Reflector MUST encapsulate the Session-Reflector test packets for transmission over SR-MPLS paths, L3 services, or L2 services carried over SR-MPLS paths in the reverse direction. Gandhi, et al. Expires 19 May 2027 [Page 25] Internet-Draft STAMP for Segment Routing over MPLS November 2026 6.3.1. Session-Reflector Test Packet for an SR-MPLS Path When the Session-Reflector receives an SR-MPLS Label Stack Sub-TLV in the Return Path TLV defined in [RFC9503], it MUST use the label stack carried in that Sub-TLV as the reverse-direction SR-MPLS path and encapsulate the Session-Reflector test packet with the corresponding MPLS label stack. The Session-Reflector MUST process a Control Code Sub-TLV as specified in Section 4.1.1 of [RFC9503]: * When the Reply Request flag indicates "No Reply Requested", the Session-Reflector MUST NOT transmit a Session-Reflector test packet and MUST terminate the received STAMP-Test packet. * When it indicates "Reply Requested on the Same Link", the Session- Reflector MUST transmit the Session-Reflector test packet over the incoming link in the reverse direction. * As specified in Section 4.1 of [RFC9503], a Control Code Sub-TLV cannot be included in the same Return Path TLV as a Return Address or SR-MPLS Label Stack Sub-TLV. A Return Address Sub-TLV MAY be present together with an SR-MPLS Label Stack Sub-TLV. When both are present, the Session-Reflector MUST use the label stack for the reverse SR-MPLS path and MUST use the Return Address as the destination IP address of the Session- Reflector test packet, as specified in Section 4.1.2 of [RFC9503]. Examples of specific SR-MPLS return paths include: * The SR-MPLS label stack of the associated reverse Candidate Path. * The Binding SID label of the reverse SR Policy. * The SR-MPLS Prefix SID label of the Session-Sender. For an SR-MPLS IGP Flex-Algo path, the SR-MPLS Label Stack Sub-TLV in the Return Path TLV carries the SR-MPLS Prefix SID label of the Session-Sender for the same SR-MPLS IGP Flex-Algo path and requests that the Session-Reflector transmit the Session-Reflector test packet over that path in the reverse direction. If no Return Path TLV is received, or if the received Return Path TLV contains neither a Control Code Sub-TLV nor an SR-MPLS Label Stack Sub-TLV, the Session-Reflector MUST transmit the Session-Reflector test packet over the locally selected reverse SR-MPLS path. Gandhi, et al. Expires 19 May 2027 [Page 26] Internet-Draft STAMP for Segment Routing over MPLS November 2026 If no reverse SR-MPLS path can be selected, the Session-Reflector MUST transmit the test packet shown in Figure 10 using IP forwarding. 6.3.2. Session-Reflector Test Packet for an L3 Service Over an SR-MPLS Path The Session-Reflector MUST transmit the Session-Reflector test packet using the reverse-direction L3 service label stack associated with the L3VPN label received for the forward-direction L3 service. The Session-Reflector MUST add the MPLS header using reachability information for the Source IP Address in the IP header of the received test packet. This address MUST be reachable through the IPv4 or IPv6 table lookup associated with the L3VPN label for the forward-direction L3 service instantiated on the Session-Reflector. The IP header shown in Figure 10 uses the source and destination IP addresses from the received IP header as its destination and source IP addresses, respectively. If the Session-Reflector cannot find the corresponding reverse- direction L3 service, it MUST drop the test packet and MUST NOT transmit a Session-Reflector test packet. 6.3.3. Session-Reflector Test Packet for an L2 Service Over an SR-MPLS Return Path The Session-Reflector MUST transmit the Session-Reflector test packet using the reverse-direction L2 service label stack associated with the L2VPN label received for the forward-direction L2 service. For two-way measurement mode, the Session-Reflector MUST set the TTL of the ultimate reverse-direction L2VPN label to 1. This invokes the Type 3 exception specified in [I-D.ietf-mpls-stamp-pw] and terminates the Session-Reflector test packet for control-plane processing on the Session-Sender. If the Session-Reflector cannot find the corresponding reverse- direction L2 service, it MUST drop the test packet and MUST NOT transmit a Session-Reflector test packet. 7. Encapsulations for One-Way Measurement Mode In one-way measurement mode for SR-MPLS paths and for L3 and L2 services carried over those paths, the Session-Sender transmits STAMP-Test packets using the encapsulations defined in Section 6.2. Because no Session-Reflector test packets are transmitted, the encapsulation defined in Section 6.3 does not apply. Gandhi, et al. Expires 19 May 2027 [Page 27] Internet-Draft STAMP for Segment Routing over MPLS November 2026 8. Encapsulations for Loopback Measurement Mode In loopback measurement mode for SR-MPLS paths and L3 and L2 services carried over SR-MPLS paths, the Session-Sender MUST transmit STAMP- Test packets. The Session-Sender MUST add an IP header for the return path to its test packets and MUST set the Destination IP Address to the Session-Sender IP address, as shown in Figure 11. +---------------------------------------------------------------+ | IP Header (Return Path) | . Source IP Address = Session-Sender IP Address . . Destination IP Address = Session-Sender IP Address . . IPv4 Protocol or IPv6 Next-header = 17 (UDP) . . . +---------------------------------------------------------------+ | UDP Header | . Source Port = Selected by Session-Sender . . Destination Port = Source Port . . . +---------------------------------------------------------------+ | Payload = Test Packet as specified in Figure 1 and Figure 3 | . in Section 3 of RFC 8972 . . . +---------------------------------------------------------------+ Figure 11: Content of Return Session-Sender Test Packet in Loopback Measurement Mode When an SR-MPLS return path is included, the forward-path and return- path labels form one MPLS label stack. Once the forward-path labels are consumed, the first return-path label is processed, and the packet is forwarded along the return path. The node at the end of the forward path does not need to identify the boundary between the paths or process the packet differently; it forwards the packet according to the label stack. 8.1. Loopback Measurement Mode for SR-MPLS Paths In loopback measurement mode for SR-MPLS paths, the Session-Sender test packet carries either only the Segment List for the forward path or Segment Lists for both the forward and return paths in the MPLS header, as shown in Figure 12. When an SR-MPLS IGP path is used for the forward path, the Session- Sender MUST include the Session-Reflector's Prefix SID label in the forward-direction Segment List: the Flex-Algo Prefix SID for an IGP Flex-Algo path, and the IGP Prefix SID for an IGP best path. Gandhi, et al. Expires 19 May 2027 [Page 28] Internet-Draft STAMP for Segment Routing over MPLS November 2026 0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Label(1) (Top of Stack) | TC |S| TTL | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ . . . . +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Label(n) | TC |S| TTL | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Return Path Label(1) | TC |S| TTL | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ . . . . +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Return Path Label(n) | TC |S| TTL | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Test Packet as shown in Figure 11 (Return Path) | . . +---------------------------------------------------------------+ Example 1: Encapsulation Using SR-MPLS Return Path 0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Label(1) (Top of Stack) | TC |S| TTL | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ . . . . +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Label(n) | TC |S| TTL | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Test Packet as shown in Figure 11 (Return Path) | . . +---------------------------------------------------------------+ Example 2: Encapsulation Using IP Return Path Figure 12: Content of Session-Sender Test Packet in Loopback Measurement Mode for an SR-MPLS Path For an SR Policy using PHP, the Session-Sender MUST include the Prefix SID label of the SR Policy endpoint as the final label in the forward-direction Segment List to ensure that the Session-Sender test packets reach the SR Policy endpoint. Gandhi, et al. Expires 19 May 2027 [Page 29] Internet-Draft STAMP for Segment Routing over MPLS November 2026 8.1.1. SR-MPLS Return Path For an SR-MPLS return path, the Session-Sender test packets MUST carry the return path in the MPLS label stack in addition to the forward-direction path, as shown in Example 1 of Figure 12. Examples of specific SR-MPLS return paths include: * The SR-MPLS label stack of the Segment List of the associated reverse Candidate Path. * The Binding SID label of the reverse SR Policy. * The SR-MPLS Prefix SID label of the Session-Sender. For an SR-MPLS IGP return path, the Session-Sender test packets MUST carry the Session-Sender's Prefix SID label for the reverse direction. The Flex-Algo Prefix SID MUST be used for the same IGP Flex-Algo path in the reverse direction, and the Session-Sender's IGP Prefix SID MUST be used for an IGP best path. The Binding SID label of the reverse SR Policy can be configured on the Session-Sender using, for example, an SDN controller. 8.1.2. IP Return Path For an IP return path, the Session-Sender test packets MUST carry only the SR-MPLS label stack for the forward-direction path in the MPLS header, as shown in Example 2 of Figure 12. When the forward path is an SR-MPLS IGP path, the forward-direction label stack carries the Session-Reflector's Prefix SID label, as described in Section 8.1. The Session-Reflector decapsulates the MPLS header and forwards the test packet to the Session-Sender using the IP header. 8.2. Loopback Measurement Mode for Layer-3 Services over an SR-MPLS Path In loopback measurement mode for an L3 service carried over an SR- MPLS path, the Session-Sender MUST use the SR-MPLS label stack of the data packets transmitted over the L3 service to encapsulate its test packets, as shown in Figure 13. Gandhi, et al. Expires 19 May 2027 [Page 30] Internet-Draft STAMP for Segment Routing over MPLS November 2026 0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Label(1) (Top of Stack) | TC |S| TTL | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ . . . . +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Label(n) | TC |S| TTL | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Return Path Label(1) | TC |S| TTL | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ . . . . +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | L3VPN Label (Return Path) | TC |S| TTL | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Test Packet as shown in Figure 11 (Return Path) | . Source and Destination IP Address in L3VPN table . . . +---------------------------------------------------------------+ Example 1: Encapsulation Using SR-MPLS Return Path 0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Label(1) (Top of Stack) | TC |S| TTL | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ . . . . +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | L3VPN Label (Forward Path) | TC |S| TTL | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Test Packet as shown in Figure 11 (Return Path) | . Source and Destination IP Address in L3VPN table . . . +---------------------------------------------------------------+ Example 2: Encapsulation Using IP Return Path Figure 13: Content of Session-Sender Test Packet in Loopback Measurement Mode for an L3 Service over an SR-MPLS Path The Destination IP Address in the return-path IP header MUST be reachable via the IP table lookup associated with the L3VPN label added to the test packets. Gandhi, et al. Expires 19 May 2027 [Page 31] Internet-Draft STAMP for Segment Routing over MPLS November 2026 8.2.1. SR-MPLS Return Path The Session-Sender MUST add the SR-MPLS label stack for the forward- direction L3 service, excluding the L3VPN label advertised by the Session-Reflector, to the test packets. In addition, the Session-Sender MUST add the SR-MPLS label stack for the reverse-direction L3 service, including its L3VPN label advertised by the Session-Sender, to the test packets. 8.2.2. IP Return Path The Session-Sender MUST add the SR-MPLS label stack, including the L3VPN label advertised by the Session-Reflector, for the forward- direction L3 service to the test packets. The Session-Reflector decapsulates the MPLS header and forwards the Session-Sender test packet back to the Session-Sender using the IP header, with the SR-MPLS encapsulation for the reverse-direction L3 service. 8.3. Loopback Measurement Mode for Layer-2 Services over an SR-MPLS Path In loopback measurement mode for an L2 service carried over an SR- MPLS path, the Session-Sender MUST use the SR-MPLS label stack of the data packets transmitted over the L2 service to encapsulate its test packets, as shown in Figure 14. Gandhi, et al. Expires 19 May 2027 [Page 32] Internet-Draft STAMP for Segment Routing over MPLS November 2026 0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Label(1) (Top of Stack) | TC |S| TTL | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ . . . . +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Label(n) | TC |S| TTL | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Return Path Label(1) | TC |S| TTL | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ . . . . +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | L2VPN Label (Return Path) | TC |1| TTL=1 | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Test Packet as shown in Figure 11 (Return Path) | . . +---------------------------------------------------------------+ Encapsulation Using SR-MPLS Return Path Figure 14: Content of Session-Sender Test Packet in Loopback Measurement Mode for an L2 Service over an SR-MPLS Path 8.3.1. SR-MPLS Return Path The Session-Sender MUST add the SR-MPLS label stack for the forward- direction L2 service, excluding the L2VPN label advertised by the Session-Reflector, to the test packets. In addition, the Session-Sender MUST add the SR-MPLS label stack for the reverse-direction L2 service, including its L2VPN label advertised by the Session-Sender, to the test packets. The TTL of the ultimate reverse-direction L2VPN label MUST be set to 1 to invoke the Type 3 exception specified in [I-D.ietf-mpls-stamp-pw] and terminate the returned test packet for control-plane processing on the Session-Sender. The Session-Reflector forwards the test packet using the SR-MPLS return-path labels in the data plane; it does not terminate the packet for STAMP control-plane processing in loopback measurement mode. Gandhi, et al. Expires 19 May 2027 [Page 33] Internet-Draft STAMP for Segment Routing over MPLS November 2026 8.3.2. IP Return Path An IP return path is not supported for an L2 service because the Session-Reflector has no IP forwarding context associated with the L2 service for forwarding the returned Session-Sender test packet. The return path therefore uses the SR-MPLS label stack for the reverse- direction L2 service, as specified in Section 8.3.1. 9. Encapsulations for Loopback with TSF Measurement Mode Loopback with TSF measurement mode MUST use the encapsulation defined for SR-MPLS paths. For L3 and L2 services carried over SR-MPLS paths, the applicable service label MUST follow the Select-scope NAS in the MPLS label stack, so that the TSF action is applied before the packet is forwarded in the service context. Loopback with TSF measurement mode MUST use unauthenticated STAMP- Test packets. The TSF action applies only when the "Receive Timestamp" field is at an offset of 16 bytes from the start of the STAMP-Test packet payload. The Session-Sender MUST NOT use authenticated mode with loopback with TSF measurement mode. 9.1. STAMP TSF Network Actions The MPLS Network Action (MNA) Sub-Stack is specified in [RFC9994]. This document defines two TSF Network Action Flags without Ancillary Data. They are encoded as Flag-Based Network Action Indicators without AD using network action opcode 1, as specified in Section 6.2 of [RFC9994]. When a Session-Reflector processes the flag for the selected timestamp format, it writes T2, the Session-Reflector's receive timestamp defined in Section 4.3.1 of [RFC8762], in the "Receive Timestamp" field [RFC8972] at an offset of 16 bytes from the start of the STAMP-Test packet payload, as shown in Figure 2 of Section 3 of [RFC8972]. * STAMP TSF with PTPv2 (flag at bit position TBA1): A 64-bit PTPv2 timestamp written at an offset of 16 bytes from the start of the STAMP-Test packet payload. * STAMP TSF with NTPv4 (flag at bit position TBA2): A 64-bit NTPv4 timestamp written at an offset of 16 bytes from the start of the STAMP-Test packet payload. * Flag encoding: The Session-Sender MUST NOT set both TSF flags, TBA1 and TBA2, in the same STAMP-Test packet. It MUST set the flag corresponding to the selected timestamp format. Bit Gandhi, et al. Expires 19 May 2027 [Page 34] Internet-Draft STAMP for Segment Routing over MPLS November 2026 positions are relative to the most significant bit of the Format B or Format C Data field, as specified in Section 13.2.1 of [RFC9994]. * Both TSF flags set: If a node receives a packet with both TBA1 and TBA2 set, it MUST NOT write either timestamp. It MUST process the packet according to the U-bit rules in Section 5.4 of [RFC9994]: if U is 0, it skips both TSF flags and continues processing the NAS; if U is 1, it drops the packet. * Format: The LSE Format B or the LSE Format C [RFC9994] can carry either TSF flag. * Scope: The scope is carried in the IHS field of a NAS for all network actions in the NAS, as specified in [RFC9994]. It applies to the TSF network action whether the action is carried in an LSE Format B or Format C. Hop-by-Hop scope is not used for these TSF actions. When the return path is SR-MPLS (see Section 8.1.1), the scope MUST be set to "Select" because the node that writes the timestamp pops the top label but does not remove the MPLS header. When the return path is IP/UDP (see Section 8.1.2), the scope MUST be set to "I2E" because the node that writes the timestamp removes the MPLS header and forwards the packet using the IP header. A node that cannot process a TSF action for its indicated scope MUST handle the packet according to the U-bit processing rules specified in [RFC9994]. * Ancillary Data: The TSF flags do not carry ancillary data; the data field carries the flag bits. * Interactions: Any other network action opcodes defined in their respective specifications outside of this document may be present in the same NAS and are processed independently; the TSF flags do not interact with them. * U bit: The Session-Sender MUST set the U bit to 0. A node that does not recognize TBA1 or TBA2 MUST process the unrecognized flag according to the U-bit rules in Section 5.4 of [RFC9994]. With U set to 0, the node skips the unrecognized flag and continues processing the NAS. The Session-Sender MUST NOT set the U bit to 1, which directs the node to drop the packet. The NASL and NAL MUST be set as specified in [RFC9994]. For SR-MPLS paths in loopback with TSF measurement mode, the Session- Sender test packets MUST carry the MNA Sub-Stack with network action opcode 1 and the applicable TSF flag set in the MPLS header, as shown in Figure 15. Gandhi, et al. Expires 19 May 2027 [Page 35] Internet-Draft STAMP for Segment Routing over MPLS November 2026 0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Label(1) (Top of Stack) | TC |S| TTL | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ . . . . +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Label(n) | TC |S| TTL | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | MNA Label | TC |S| TTL | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Opcode = 1 | Flag: TBA1 or TBA2 |R|IHS|S| NASL |U| NAL | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ . . . . +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Test Packet as shown in Figure 11 (Return Path) | . . +---------------------------------------------------------------+ Figure 15: Content of Session-Sender Test Packet in Loopback with TSF Measurement Mode Network Action in Format-B LSE for SR-MPLS Paths The Session-Sender MAY add the SR-MPLS label stack of the return path after the MNA Sub-Stack to receive the return Session-Sender test packet on a specific path, as specified in the loopback measurement mode for SR-MPLS paths in this document. When a Session-Reflector receives a STAMP-Test packet with an MNA Sub-Stack containing network action opcode 1 and the applicable TSF flag set, it MUST write the timestamp to the STAMP-Test packet payload, remove the NAS as specified in [RFC9994], and forward the test packet as defined in the loopback measurement mode for SR-MPLS paths. 9.1.1. TSF Network Action Node Capability Before enabling loopback with TSF measurement mode: * The Session-Sender MUST determine whether the Session-Reflector supports network action opcode 1, the selected TSF flag, and the associated timestamp format. * The capability information can be statically configured on the Session-Sender or obtained using a capability signaling mechanism described in Section 8 of [RFC9994]. Gandhi, et al. Expires 19 May 2027 [Page 36] Internet-Draft STAMP for Segment Routing over MPLS November 2026 * If no signaling mechanism is used, the capability MUST be statically configured on the Session-Sender. * If support for the selected TSF flag and its associated timestamp format cannot be confirmed, the Session-Sender MUST NOT enable the TSF measurement session. To detect whether the TSF action was skipped: * The Session-Sender MUST initialize the Receive Timestamp field to zero in each Session-Sender test packet. * If the Session-Reflector does not support the selected TSF flag, it skips the TSF action according to the U-bit processing rules in [RFC9994] and returns the packet without updating T2. The returned packet therefore has a zero Receive Timestamp field. * The Session-Sender MUST discard that packet and MUST NOT use it to compute delay metrics. 10. ECMP Measurement in SR-MPLS Networks The Segment List of an SR-MPLS path can have ECMP paths between the source and transit nodes, between transit nodes, and between transit and destination nodes, for example, due to: * Use of a Node Prefix SID label [RFC8402]. * Use of an Anycast SID label [RFC8402], which can result in ECMP paths via transit nodes that are part of that anycast group. ECMP load-balancing behavior and the hashing inputs are implementation-specific. The Session-Sender can influence the ECMP path taken by STAMP-Test packets by varying one or more fields that are used as input to the hashing function, while keeping the remaining fields constant. To measure delay on different ECMP paths of a Segment List, the Session-Sender can transmit STAMP-Test packets using the following mechanisms: * The Session-Sender may use different entropy label values [RFC6790] in the forward- and reverse-direction MPLS label stacks to influence ECMP hashing. In two-way measurement mode, the Session-Sender includes the reverse-direction entropy label in the SR-MPLS Label Stack Sub-TLV in the Return Path TLV so that the Session-Reflector uses it in its Session-Reflector test packet. Gandhi, et al. Expires 19 May 2027 [Page 37] Internet-Draft STAMP for Segment Routing over MPLS November 2026 * The Session-Sender may use different destination IPv4 addresses from the 127/8 range in its test packets to traverse different IPv4 ECMP paths, as specified in Section 2.1 of [RFC8029]. The Session-Sender SHOULD include the Type 9 ("Destination Node IPv4 or IPv6 Address") STAMP TLV to identify the intended Session- Reflector IP address, as specified in Section 6.2.1.1. * The Session-Sender may use different IPv6 Flow Label values [RFC6437] in its test packets to influence ECMP hashing. The Session-Reflector copies the received Flow Label into its test packet unless local policy specifies otherwise, as described in Section 5. In general, the Session-Sender cannot deterministically select a specific ECMP path. Instead, a set of entropy label values, IPv4 destination addresses from the 127/8 range, or IPv6 Flow Label values that map to distinct ECMP paths can be determined empirically and then used for ongoing monitoring. A separate STAMP session can be created for each selected entropy label value, IPv4 destination address from the 127/8 range, or IPv6 Flow Label value. Alternatively, within a single STAMP session, the Session-Sender may vary the entropy label value, destination IPv4 address value, or IPv6 Flow Label value on a per-packet basis so that different ECMP paths are exercised over time. In this case, the resulting measurement represents an aggregate across the ECMP paths exercised over time. To limit Session-Sender and Session-Reflector state, operators can limit the number of ECMP probe values in use at any time and rotate among probe values when monitoring a large ECMP set. The considerations for loss measurement for different ECMP paths of an SR-MPLS path are outside the scope of this document. 11. Implementation Status Editorial note: Please remove this section prior to publication. 11.1. Cisco Implementation The following Cisco routing platforms running the IOS XR operating system have participated in interoperability testing for the one-way measurement mode, the two-way measurement mode, and the loopback measurement mode for SR-MPLS: * Cisco 8000 (based on Cisco Silicon One ASIC) * Cisco ASR9904 with Lightspeed line card and Tomahawk line card Gandhi, et al. Expires 19 May 2027 [Page 38] Internet-Draft STAMP for Segment Routing over MPLS November 2026 * Cisco NCS5500 (based on Broadcom Jericho1 ASIC) * Cisco NCS5700 (based on Broadcom Jericho2 ASIC) 12. Operational and Manageability Considerations The operational considerations specified in Section 5 of [RFC8762] also apply to the procedures specified in this document. Further, the operation and management considerations for performance measurement based on STAMP specified in Section 3 of [RFC8762] also apply to the procedures specified in this document. The manageability considerations described in Section 9 of [RFC8402] apply to this specification. The operational considerations specified in [RFC9994] are also applicable to the procedures specified in this document. The operational considerations specified in [I-D.ietf-mpls-stamp-pw] apply when selecting a routable IP address or a non-routable IP address (e.g., an IPv4 address from the 127/8 range) as a destination IP address. The procedures can be used to compute delay statistics, such as the average, minimum, maximum, and variance, as well as packet-loss statistics, such as the percentage of packets lost and the number of consecutive packets lost. They can also track STAMP session-state changes. Notification behavior for locally configured metric thresholds and STAMP session-state changes is described in Section 12.4. 12.1. Measurement Mode and Parameters The measurement mode is configured for each STAMP session; this document specifies no default mode or general in-band negotiation of mode support: * The Session-Sender cannot rely on an unsupported-mode indication or automatic fallback. Packets sent to an endpoint that lacks the required support may be dropped or processed according to its supported behavior, so the resulting measurement may be invalid. * Operators should configure each Session-Sender and relevant Session-Reflector consistently and use a mode for which the required endpoint behavior is supported. If support cannot be established, operators should use a mutually supported mode or leave the session disabled. Gandhi, et al. Expires 19 May 2027 [Page 39] Internet-Draft STAMP for Segment Routing over MPLS November 2026 * The Session-Reflector mode (Stateful or Stateless) is configured per session, and no default is specified for the two-way measurement mode. See Section 5 for the mode-specific Stateful and Stateless requirements. * In the loopback measurement mode and the loopback with TSF measurement mode, the node at the end of the forward path does not need to maintain a STAMP session; the loopback with TSF measurement mode additionally requires support for the applicable TSF action. * During staged deployment of TSF, operators should follow the capability verification procedures in Section 9.1.1 before enabling loopback with TSF. Other endpoints can continue to use loopback without TSF or another mutually supported mode. This document specifies no default measurement interval or packet transmission rate, and no mode-specific minimum or maximum interval. These values need to be configured for each session. Operators should choose them based on the desired measurement frequency, the capacity of the path and the processing capacity of the Session- Reflector, and any rate limits in the implementation. Operators should account for the aggregate traffic and processing load across sessions, Segment Lists, and ECMP probes when setting intervals and rates. 12.2. MTU Considerations This document does not specify an SR-MPLS-specific default test packet size: * The packet size follows the STAMP packet format and any optional TLVs, including Extra Padding, used by a session. * Operators should select a size that reflects the traffic being measured where appropriate. * When checking the path MTU, operators should account for the IP/ UDP header, MPLS and service labels, any MNA data, and optional TLVs. * STAMP-Test packets MUST NOT exceed the path MTU and MUST NOT be fragmented. Gandhi, et al. Expires 19 May 2027 [Page 40] Internet-Draft STAMP for Segment Routing over MPLS November 2026 12.3. STAMP Session Scale When STAMP sessions are created for the Segment Lists of SR Policies, operators need to consider the scalability of the resulting number of STAMP sessions. To manage the load, operators are advised to limit the number of sessions or increase their measurement intervals. Monitoring different IPv6 Flow Label values separately can require a distinct STAMP session for each value and a mapping between each session and the corresponding data flow, which can limit the number of flows monitored. The ECMP measurement procedures in Section 10 describe the tradeoffs between using separate sessions for probe values and varying values per packet. 12.4. STAMP Session State Notification Threshold-based notifications for delay and packet-loss metrics are generated when locally configured thresholds are crossed. This document specifies no default threshold values; operators configure them according to service objectives and expected measurement variation. These metric notifications are distinct from session- state notifications. An active STAMP session may have metrics that remain within the configured thresholds, in which case no metric notifications are generated. A failed session does not transmit or receive test packets, so no metrics are computed. Monitoring the STAMP session state allows the Session-Sender, in the two-way measurement mode, the loopback measurement mode, and the loopback with TSF measurement mode, to determine whether the STAMP test is idle, active, or failed and generate state-change notifications as specified in [I-D.ietf-ippm-stamp-ext-hdr]. In one-way measurement mode, the Session-Reflector can track packet reception using a local receive status and generate status-change notifications as follows. This receive status is distinct from the Session-Sender's STAMP session state defined in [I-D.ietf-ippm-stamp-ext-hdr]. In particular, the Session- Reflector's initial "waiting" status does not indicate that the Session-Sender is idle; the Session-Sender may be transmitting packets that are lost before reaching the Session-Reflector. * The receive status is initially reported as "waiting" when no Session-Sender test packets have been received. * The receive status changes to "receiving" when one or more Session-Sender test packets are received. Gandhi, et al. Expires 19 May 2027 [Page 41] Internet-Draft STAMP for Segment Routing over MPLS November 2026 * The receive status changes to "loss-detected" when N consecutive Session-Sender test packets are not received after the status has changed to "receiving", where N (the consecutive packet loss count) is a locally provisioned value. This document specifies no default value for N. Operators should choose N based on the measurement interval, expected transient loss, and the desired failure-detection time; a larger N reduces sensitivity to short loss bursts but delays failure detection. * The receive status changes from "loss-detected" back to "receiving" when at least one Session-Sender test packet is again received. Because STAMP-Test packets are transmitted over the SR-MPLS path or over the L3 or L2 service being measured on that path, a connectivity failure typically manifests as the continuous packet loss specified above, resulting in the receive status being reported as "loss- detected". 12.5. Operational Considerations for TSF For TSF capability verification, including support for the selected TSF flag and timestamp format, see Section 9.1.1. The Session-Sender cannot determine from the returned timestamp whether the Session-Reflector wrote it in the requested format. If the Session-Reflector uses a different format, the Session-Sender may compute an incorrect delay metric. Implementations are recommended to maintain per-network-action counters for the following TSF Network Action events: * Packets received with the TSF Network Action. * Packets for which the TSF Network Action was invoked. * Packets carrying the TSF Network Action that were dropped because they were malformed. * Packets for which the TSF timestamp write failed. Implementations that process MPLS Network Actions may also maintain counters for packets dropped or forwarded because an MPLS Network Action opcode was unknown: * Packets dropped after receiving an unknown MPLS Network Action opcode. Gandhi, et al. Expires 19 May 2027 [Page 42] Internet-Draft STAMP for Segment Routing over MPLS November 2026 * Packets forwarded after skipping an unknown MPLS Network Action opcode. Implementations should distinguish successful and failed TSF network action invocations, for example through implementation-specific counters or logs. Any implementation-specific notifications for sustained failures, malformed packets, or excessive packets with the TSF network action should be rate-limited. 12.6. Operational Considerations for Path Changes Operators should review STAMP session configuration when a monitored service changes to ensure that it continues to match the monitoring objective. * For monitoring active forwarding SR-MPLS paths, operators should create, activate, update, or remove sessions as needed to match the Segment Lists selected for the active Candidate Path as it is created, selected, or changes state, or as its Segment Lists change. * For assessing the readiness of standby or backup SR-MPLS paths, operators may also configure sessions for the corresponding Candidate Paths or Segment Lists. These measurements assess the tested paths under the measurement conditions and do not represent traffic currently using the active forwarding path. The additional sessions used to monitor standby or backup paths also contribute to the session scale and measurement load described in Section 12.3. A change to the path used by an existing Segment List, for example because of fast reroute (FRR), may affect the STAMP measurements: delay metrics may change, and packet loss may occur. Operators should investigate sudden changes in delay or packet-loss metrics for possible path changes, including FRR events. 12.7. Destination UDP Port Number Considerations Configuration of the destination UDP port number depends on the measurement mode: * For two-way and one-way measurement modes, the Session-Reflector receives STAMP-Test packets on UDP port number 862 by default. Any alternative destination UDP port number MUST be selected from the User Ports (1024-49151) or Dynamic Ports (49152-65535) ranges [RFC6335]; use of a User Port is subject to the network-impact study and agreement specified in Section 4.1 of [RFC8762]. For an alternative destination UDP port number, the Session-Sender and Gandhi, et al. Expires 19 May 2027 [Page 43] Internet-Draft STAMP for Segment Routing over MPLS November 2026 Session-Reflector MUST be configured to use it, and the Session- Reflector MUST be configured to receive STAMP-Test packets on that UDP port number. * For the loopback measurement mode and the loopback with TSF measurement mode, see Section 5.2 for the destination UDP port number requirements. The endpoint node forwarding the packet does not require configuration of a STAMP UDP port number. * A Session-Reflector that is not configured to receive test packets on the selected UDP port number MUST drop them. 13. Security Considerations The security considerations in [RFC8762], [RFC8972], [RFC9503], Section 9 of [RFC8402], Section 11 of [RFC9994], [I-D.ietf-ippm-stamp-ext-hdr], and [I-D.ietf-mpls-stamp-pw] apply to the procedures specified in this document. A secure transport for STAMP specified in Section 4.5 of [RFC8762] can be used. The procedures specified in this document are intended for deployment in a single network administrative domain. To mitigate threats, STAMP-Test packets MUST be filtered at administrative-domain boundaries. Additionally, the following considerations apply: * The Session-Sender and Session-Reflector IP addresses are provisioned by the operator for the STAMP session. * The operator is assumed to have verified the integrity of the forward and return paths taken by the STAMP-Test packets. * The source UDP port number is selected as specified in Section 3.1 of [I-D.ietf-ippm-stamp-ext-hdr]. * [RFC8972] leaves SSID generation to the implementation. For SR- MPLS sessions, implementations can use a Cryptographically Secure Pseudorandom Number Generator [NIST-CSPRNG] to make SSID assignment less predictable and off-path attacks more difficult. Gandhi, et al. Expires 19 May 2027 [Page 44] Internet-Draft STAMP for Segment Routing over MPLS November 2026 If desired, attacks can be mitigated by performing basic validation checks on the timestamp fields of STAMP-Test packets received by the Session-Sender. For example, verifying that T2 is later than T1 in the STAMP Reference Topology shown in Figure 1 requires clock synchronization between the Session-Sender and Session-Reflector. In contrast, checking that T3 is greater than or equal to T2, or that T4 is later than T1, compares timestamps generated at the same node and does not require clock synchronization. The effect of an individual invalid test packet on the measurement results is generally limited to the affected measurement cycle. However, repeated injection of invalid or replayed packets can cause sustained measurement disruption or resource consumption. Stateful measurement modes and TSF processing may also introduce additional resource-exhaustion risks. A Session-Reflector MUST process a STAMP-Test packet received with an L3 or L2 service label only in the context of that service, and MUST NOT forward it or reply to it in any other context. 13.1. Security Considerations for Measurement Modes The procedures in this document introduce additional security considerations: * For L3 and L2 service measurements (Sections 6.2.2, 6.2.3, 8.2, and 8.3), STAMP-Test packets use operator-selected addresses and are forwarded in a customer service context. If the destination address is not local to the intended Session-Reflector, or, for a loopback return packet, the Session-Sender address is not local or reachable in that service context, ordinary forwarding may send the packet toward a CE or drop it. This can expose STAMP-Test packets to an unintended endpoint or service. Operators should use addresses local to the relevant service context and filter STAMP-Test packets at service boundaries. * In one-way measurement mode, the Session-Reflector maintains per- session state, and unauthenticated STAMP-Test packets can cause state to be allocated or consumed. An attacker can exhaust state or other resources by sending such packets; filtering, rate limiting, and limits on state allocation can mitigate this risk. * In the loopback measurement mode and the loopback with TSF measurement mode, the returned packet is a self-addressed UDP packet. No node on the return path authenticates itself as the intended STAMP endpoint; in the loopback with TSF measurement mode, a node may write a timestamp but does not authenticate the forwarding node. Any node that receives the packet and has IP Gandhi, et al. Expires 19 May 2027 [Page 45] Internet-Draft STAMP for Segment Routing over MPLS November 2026 reachability to the Session-Sender can forward it to the Session- Sender. The returned packet does not identify the forwarding node. HMAC does not authenticate the forwarding node. * In the loopback measurement mode and the loopback with TSF measurement mode, the Session-Sender ignores the Sequence Number field, so sequence-number-based replay detection is unavailable and replayed packets may be accepted as measurement results. Timestamp validation can help detect stale or inconsistent packets, but HMAC alone does not provide replay protection. HMAC-SHA-256 in authenticated mode provides integrity protection for STAMP-Test packets, but it does not provide confidentiality or prevent eavesdropping. HMAC, as specified in Section 4.4 of [RFC8762], is supported as follows: * In two-way measurement mode, the Session-Sender and Session- Reflector each validate the STAMP-Test packet they receive. * In one-way measurement mode, the Session-Reflector validates the Session-Sender test packet it receives. * In loopback measurement mode, the Session-Sender validates the returned Session-Sender test packet. 13.2. Security Considerations for TSF The TSF network actions use IANA-assigned flag positions TBA1 and TBA2 for the PTPv2 and NTPv4 timestamp formats, respectively. The security considerations for MPLS Network Actions in Section 11 of [RFC9994] apply to the TSF Network Action. An attacker who can inject packets carrying the TSF Network Action could cause unauthorized data-plane timestamping. STAMP-Test packets carrying the TSF Network Action are covered by the administrative- domain filtering requirement in this Section. The Session-Reflector writes the timestamp defined by the applicable TSF flag in the STAMP-Test packet payload. Implementations MUST validate the MNA Sub-Stack, the network action opcode, the selected TSF flag, the timestamp format, and the available payload length before writing the timestamp. Implementations MUST perform bounds checking to prevent malformed packets from causing memory corruption, packet corruption, or denial-of-service conditions. Any malformed packet carrying the TSF Network Action MUST be dropped. Gandhi, et al. Expires 19 May 2027 [Page 46] Internet-Draft STAMP for Segment Routing over MPLS November 2026 13.3. Privacy Considerations STAMP-Test packets and their MPLS and service encapsulations contain information such as source and destination IP addresses, UDP port numbers, SSIDs, MPLS labels (including Segment Lists and service labels), and timestamps. These fields, together with delay, loss, and session-state measurements, can be correlated with network inventory or subscriber records to identify users, devices, services, network paths, and activity patterns. This information is visible to nodes that process or observe the packets. HMAC provides integrity protection but does not encrypt these fields. Measurement results, session state, and associated logs or notifications can expose similar information when retained or exported through management systems. Operators should limit collection, access, retention, and sharing to what is needed for operations, protect stored data and management interfaces, and use aggregation or remove identifying details when fine-grained records are not needed. 14. IANA Considerations IANA is requested to assign two bit positions from the IETF Review range of the "Network Action Flags Without Ancillary Data" registry in the "MPLS Network Actions" group, as shown in Table 3. +==============+======================+===============+ | Bit Position | Description | Reference | +==============+======================+===============+ | TBA1 | STAMP TSF with PTPv2 | This document | +--------------+----------------------+---------------+ | TBA2 | STAMP TSF with NTPv4 | This document | +--------------+----------------------+---------------+ Table 3: Network Action Flags Without Ancillary Data 15. References 15.1. Normative References [RFC768] Postel, J., "User Datagram Protocol", STD 6, RFC 768, DOI 10.17487/RFC768, August 1980, . [RFC2119] Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, DOI 10.17487/RFC2119, March 1997, . Gandhi, et al. Expires 19 May 2027 [Page 47] Internet-Draft STAMP for Segment Routing over MPLS November 2026 [RFC6335] Cotton, M., Eggert, L., Touch, J., Westerlund, M., and S. Cheshire, "Internet Assigned Numbers Authority (IANA) Procedures for the Management of the Service Name and Transport Protocol Port Number Registry", BCP 165, RFC 6335, DOI 10.17487/RFC6335, August 2011, . [RFC6374] Frost, D. and S. Bryant, "Packet Loss and Delay Measurement for MPLS Networks", RFC 6374, DOI 10.17487/RFC6374, September 2011, . [RFC8174] Leiba, B., "Ambiguity of Uppercase vs Lowercase in RFC 2119 Key Words", BCP 14, RFC 8174, DOI 10.17487/RFC8174, May 2017, . [RFC8762] Mirsky, G., Jun, G., Nydell, H., and R. Foote, "Simple Two-Way Active Measurement Protocol", RFC 8762, DOI 10.17487/RFC8762, March 2020, . [RFC8972] Mirsky, G., Min, X., Nydell, H., Foote, R., Masputra, A., and E. Ruffini, "Simple Two-Way Active Measurement Protocol Optional Extensions", RFC 8972, DOI 10.17487/RFC8972, January 2021, . [RFC9503] Gandhi, R., Ed., Filsfils, C., Chen, M., Janssens, B., and R. Foote, "Simple Two-Way Active Measurement Protocol (STAMP) Extensions for Segment Routing Networks", RFC 9503, DOI 10.17487/RFC9503, October 2023, . [RFC3032] Rosen, E., Tappan, D., Fedorkow, G., Rekhter, Y., Farinacci, D., Li, T., and A. Conta, "MPLS Label Stack Encoding", RFC 3032, DOI 10.17487/RFC3032, January 2001, . [RFC5905] Mills, D., Martin, J., Ed., Burbank, J., and W. Kasch, "Network Time Protocol Version 4: Protocol and Algorithms Specification", RFC 5905, DOI 10.17487/RFC5905, June 2010, . [RFC8402] Filsfils, C., Ed., Previdi, S., Ed., Ginsberg, L., Decraene, B., Litkowski, S., and R. Shakir, "Segment Routing Architecture", RFC 8402, DOI 10.17487/RFC8402, July 2018, . Gandhi, et al. Expires 19 May 2027 [Page 48] Internet-Draft STAMP for Segment Routing over MPLS November 2026 [RFC9256] Filsfils, C., Talaulikar, K., Ed., Voyer, D., Bogdanov, A., and P. Mattes, "Segment Routing Policy Architecture", RFC 9256, DOI 10.17487/RFC9256, July 2022, . [RFC9350] Psenak, P., Ed., Hegde, S., Filsfils, C., Talaulikar, K., and A. Gulko, "IGP Flexible Algorithm", RFC 9350, DOI 10.17487/RFC9350, February 2023, . [RFC9994] Rajamanickam, J., Ed., Gandhi, R., Ed., Zigler, R., Song, H., and K. Kompella, "MPLS Network Action (MNA) Sub-Stack Specification Including In-Stack Network Actions and Data", RFC 9994, DOI 10.17487/RFC9994, June 2026, . [I-D.ietf-mpls-stamp-pw] Gandhi, R., Brissette, P., Leyton, E., and X. Min, "Encapsulation of Simple Two-Way Active Measurement Protocol for LSPs and Pseudowires in MPLS Networks", Work in Progress, Internet-Draft, draft-ietf-mpls-stamp-pw-21, 10 September 2026, . [I-D.ietf-ippm-stamp-ext-hdr] Gandhi, R., Zhou, T., Li, Z., and W. Hawkins, "Simple Two- Way Active Measurement Protocol (STAMP) Extensions for Reflecting STAMP Packet IP Headers", Work in Progress, Internet-Draft, draft-ietf-ippm-stamp-ext-hdr-26, 27 October 2026, . [IEEE.1588] IEEE, "1588-2008 IEEE Standard for a Precision Clock Synchronization Protocol for Networked Measurement and Control Systems", March 2008. 15.2. Informative References [RFC4026] Andersson, L. and T. Madsen, "Provider Provisioned Virtual Private Network (VPN) Terminology", RFC 4026, DOI 10.17487/RFC4026, March 2005, . [RFC3031] Rosen, E., Viswanathan, A., and R. Callon, "Multiprotocol Label Switching Architecture", RFC 3031, DOI 10.17487/RFC3031, January 2001, . Gandhi, et al. Expires 19 May 2027 [Page 49] Internet-Draft STAMP for Segment Routing over MPLS November 2026 [RFC2681] Almes, G., Kalidindi, S., and M. Zekauskas, "A Round-trip Delay Metric for IPPM", RFC 2681, DOI 10.17487/RFC2681, September 1999, . [RFC5462] Andersson, L. and R. Asati, "Multiprotocol Label Switching (MPLS) Label Stack Entry: "EXP" Field Renamed to "Traffic Class" Field", RFC 5462, DOI 10.17487/RFC5462, February 2009, . [RFC6234] Eastlake 3rd, D. and T. Hansen, "US Secure Hash Algorithms (SHA and SHA-based HMAC and HKDF)", RFC 6234, DOI 10.17487/RFC6234, May 2011, . [RFC6437] Amante, S., Carpenter, B., Jiang, S., and J. Rajahalme, "IPv6 Flow Label Specification", RFC 6437, DOI 10.17487/RFC6437, November 2011, . [RFC6790] Kompella, K., Drake, J., Amante, S., Henderickx, W., and L. Yong, "The Use of Entropy Labels in MPLS Forwarding", RFC 6790, DOI 10.17487/RFC6790, November 2012, . [RFC8029] Kompella, K., Swallow, G., Pignataro, C., Ed., Kumar, N., Aldrin, S., and M. Chen, "Detecting Multiprotocol Label Switched (MPLS) Data-Plane Failures", RFC 8029, DOI 10.17487/RFC8029, March 2017, . [RFC9780] Mirsky, G., Mishra, G., and D. Eastlake 3rd, "Bidirectional Forwarding Detection (BFD) for Multipoint Networks over Point-to-Multipoint MPLS Label Switched Paths (LSPs)", RFC 9780, DOI 10.17487/RFC9780, May 2025, . [RFC10052] Mirsky, G., Ruffini, E., Nydell, H., Foote, R., and W. Hawkins, "Performance Measurement with Asymmetrical Traffic Using the Simple Two-Way Active Measurement Protocol (STAMP)", RFC 10052, DOI 10.17487/RFC10052, September 2026, . Gandhi, et al. Expires 19 May 2027 [Page 50] Internet-Draft STAMP for Segment Routing over MPLS November 2026 [I-D.ietf-ippm-stamp-yang] Mirsky, G., Min, X., Luo, W. S., and R. Gandhi, "Simple Two-way Active Measurement Protocol (STAMP) Data Model", Work in Progress, Internet-Draft, draft-ietf-ippm-stamp- yang-12, 5 November 2023, . [NIST-CSPRNG] NIST Special Publication 800-90A Revision 1, "Recommendation for Random Number Generation Using Deterministic Random Bit Generators", January 2015, . [IANA-IPv6-REG] IANA, "IANA IPv6 Special-Purpose Address Registry", . Acknowledgments The authors would like to thank Ianik Semco and Thierry Couture for their discussions on the use cases for Performance Measurement in Segment Routing. The authors would also like to thank Greg Mirsky, Gyan Mishra, Xie Jingrong, Zafar Ali, Boris Hassanov, Ruediger Geib, Liyan Gong, Zhenqiang Li, Maria Matejka, William Hawkins, Mike Koldychev, and Bruno Decraene for reviewing this document and providing useful comments and suggestions. Additionally, Patrick Khordoc, Haowei Shi, Amila Tharaperiya Gamage, Pengyan Zhang, Ruby Lin, Senni Tan, and Radu Valceanu have helped improve the mechanisms specified in this document. The authors would also like to thank Haoyu Song for the Shepherd's review and Alvaro Retana for the WG chair's review, which helped improve this document. Contributors The following people have substantially contributed to this document: Daniel Voyer Cisco Systems, Inc. Email: davoyer@cisco.com Navin Vaghamshi Reliance Email: Navin.Vaghamshi@ril.com Gandhi, et al. Expires 19 May 2027 [Page 51] Internet-Draft STAMP for Segment Routing over MPLS November 2026 Moses Nagarajah Individual Email: mosesnehru@gmail.com Amit Dhamija Arrcus India Email: amitd@arrcus.com Authors' Addresses Rakesh Gandhi (editor) Cisco Systems, Inc. Canada Email: rgandhi@cisco.com Clarence Filsfils Cisco Systems, Inc. Email: cfilsfil@cisco.com Bart Janssens Colt Email: Bart.Janssens@colt.net Mach(Guoyi) Chen Huawei Email: mach.chen@outlook.com Richard Foote Nokia Email: footer.foote@nokia.com Gandhi, et al. Expires 19 May 2027 [Page 52]