<?xml version='1.0' encoding='utf-8'?>
<rfc xmlns:xi="http://www.w3.org/2001/XInclude" version="3" submissionType="IETF" category="std" consensus="true" docName="draft-ietf-ippm-stamp-srpm-18" number="9503" ipr="trust200902" obsoletes="" updates="" xml:lang="en" sortRefs="true" symRefs="true" tocInclude="true" prepTime="2023-10-31T22:05:25" indexInclude="true" scripts="Common,Latin" tocDepth="3">
  <link href="https://datatracker.ietf.org/doc/draft-ietf-ippm-stamp-srpm-18" rel="prev"/>
  <link href="https://dx.doi.org/10.17487/rfc9503" rel="alternate"/>
  <link href="urn:issn:2070-1721" rel="alternate"/>
  <front>
    <title abbrev="STAMP Extensions for SR Networks">Simple Two-Way Active Measurement Protocol (STAMP) Extensions for Segment Routing Networks</title>
    <seriesInfo name="RFC" value="9503" stream="IETF"/>
    <author fullname="Rakesh Gandhi" initials="R." role="editor" surname="Gandhi">
      <organization showOnFrontPage="true">Cisco Systems, Inc.</organization>
      <address>
        <postal>
          <country>Canada</country>
        </postal>
        <email>rgandhi@cisco.com</email>
      </address>
    </author>
    <author fullname="Clarence Filsfils" initials="C." surname="Filsfils">
      <organization showOnFrontPage="true">Cisco Systems, Inc.</organization>
      <address>
        <email>cfilsfil@cisco.com</email>
      </address>
    </author>
    <author fullname="Mach(Guoyi) Chen" initials="M." surname="Chen">
      <organization showOnFrontPage="true">Huawei</organization>
      <address>
        <email>mach.chen@huawei.com</email>
      </address>
    </author>
    <author fullname="Bart Janssens" initials="B." surname="Janssens">
      <organization showOnFrontPage="true">Colt</organization>
      <address>
        <email>Bart.Janssens@colt.net</email>
      </address>
    </author>
    <author fullname="Richard Foote" initials="R." surname="Foote">
      <organization showOnFrontPage="true">Nokia</organization>
      <address>
        <email>footer.foote@nokia.com</email>
      </address>
    </author>
    <date month="10" year="2023"/>
    <area>tsv</area>
    <workgroup>ippm</workgroup>
    <abstract pn="section-abstract">
      <t indent="0" pn="section-abstract-1">
   Segment Routing (SR) leverages the source routing paradigm.  SR is
   applicable to both Multiprotocol Label Switching (SR-MPLS) and IPv6
   (SRv6) forwarding planes. This document specifies Simple Two-Way Active Measurement Protocol (STAMP)
   extensions (as described in RFC 8762) for SR networks, for both the SR-MPLS and SRv6 forwarding 
   planes, by augmenting the optional extensions defined in RFC 8972.</t>
    </abstract>
    <boilerplate>
      <section anchor="status-of-memo" numbered="false" removeInRFC="false" toc="exclude" pn="section-boilerplate.1">
        <name slugifiedName="name-status-of-this-memo">Status of This Memo</name>
        <t indent="0" pn="section-boilerplate.1-1">
            This is an Internet Standards Track document.
        </t>
        <t indent="0" pn="section-boilerplate.1-2">
            This document is a product of the Internet Engineering Task Force
            (IETF).  It represents the consensus of the IETF community.  It has
            received public review and has been approved for publication by
            the Internet Engineering Steering Group (IESG).  Further
            information on Internet Standards is available in Section 2 of 
            RFC 7841.
        </t>
        <t indent="0" pn="section-boilerplate.1-3">
            Information about the current status of this document, any
            errata, and how to provide feedback on it may be obtained at
            <eref target="https://www.rfc-editor.org/info/rfc9503" brackets="none"/>.
        </t>
      </section>
      <section anchor="copyright" numbered="false" removeInRFC="false" toc="exclude" pn="section-boilerplate.2">
        <name slugifiedName="name-copyright-notice">Copyright Notice</name>
        <t indent="0" pn="section-boilerplate.2-1">
            Copyright (c) 2023 IETF Trust and the persons identified as the
            document authors. All rights reserved.
        </t>
        <t indent="0" pn="section-boilerplate.2-2">
            This document is subject to BCP 78 and the IETF Trust's Legal
            Provisions Relating to IETF Documents
            (<eref target="https://trustee.ietf.org/license-info" brackets="none"/>) 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.
        </t>
      </section>
    </boilerplate>
    <toc>
      <section anchor="toc" numbered="false" removeInRFC="false" toc="exclude" pn="section-toc.1">
        <name slugifiedName="name-table-of-contents">Table of Contents</name>
        <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1">
          <li pn="section-toc.1-1.1">
            <t indent="0" keepWithNext="true" pn="section-toc.1-1.1.1"><xref derivedContent="1" format="counter" sectionFormat="of" target="section-1"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-introduction">Introduction</xref></t>
          </li>
          <li pn="section-toc.1-1.2">
            <t indent="0" pn="section-toc.1-1.2.1"><xref derivedContent="2" format="counter" sectionFormat="of" target="section-2"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-conventions-used-in-this-do">Conventions Used in This Document</xref></t>
            <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1.2.2">
              <li pn="section-toc.1-1.2.2.1">
                <t indent="0" keepWithNext="true" pn="section-toc.1-1.2.2.1.1"><xref derivedContent="2.1" format="counter" sectionFormat="of" target="section-2.1"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-requirements-language">Requirements Language</xref></t>
              </li>
              <li pn="section-toc.1-1.2.2.2">
                <t indent="0" keepWithNext="true" pn="section-toc.1-1.2.2.2.1"><xref derivedContent="2.2" format="counter" sectionFormat="of" target="section-2.2"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-abbreviations">Abbreviations</xref></t>
              </li>
              <li pn="section-toc.1-1.2.2.3">
                <t indent="0" pn="section-toc.1-1.2.2.3.1"><xref derivedContent="2.3" format="counter" sectionFormat="of" target="section-2.3"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-reference-topology">Reference Topology</xref></t>
              </li>
            </ul>
          </li>
          <li pn="section-toc.1-1.3">
            <t indent="0" pn="section-toc.1-1.3.1"><xref derivedContent="3" format="counter" sectionFormat="of" target="section-3"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-destination-node-address-tl">Destination Node Address TLV</xref></t>
          </li>
          <li pn="section-toc.1-1.4">
            <t indent="0" pn="section-toc.1-1.4.1"><xref derivedContent="4" format="counter" sectionFormat="of" target="section-4"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-return-path-tlv">Return Path TLV</xref></t>
            <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1.4.2">
              <li pn="section-toc.1-1.4.2.1">
                <t indent="0" pn="section-toc.1-1.4.2.1.1"><xref derivedContent="4.1" format="counter" sectionFormat="of" target="section-4.1"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-return-path-sub-tlvs">Return Path Sub-TLVs</xref></t>
                <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1.4.2.1.2">
                  <li pn="section-toc.1-1.4.2.1.2.1">
                    <t indent="0" pn="section-toc.1-1.4.2.1.2.1.1"><xref derivedContent="4.1.1" format="counter" sectionFormat="of" target="section-4.1.1"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-return-path-control-code-su">Return Path Control Code Sub-TLV</xref></t>
                  </li>
                  <li pn="section-toc.1-1.4.2.1.2.2">
                    <t indent="0" pn="section-toc.1-1.4.2.1.2.2.1"><xref derivedContent="4.1.2" format="counter" sectionFormat="of" target="section-4.1.2"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-return-address-sub-tlvs">Return Address Sub-TLVs</xref></t>
                  </li>
                  <li pn="section-toc.1-1.4.2.1.2.3">
                    <t indent="0" pn="section-toc.1-1.4.2.1.2.3.1"><xref derivedContent="4.1.3" format="counter" sectionFormat="of" target="section-4.1.3"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-return-path-segment-list-su">Return Path Segment List Sub-TLVs</xref></t>
                  </li>
                </ul>
              </li>
            </ul>
          </li>
          <li pn="section-toc.1-1.5">
            <t indent="0" pn="section-toc.1-1.5.1"><xref derivedContent="5" format="counter" sectionFormat="of" target="section-5"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-interoperability-with-twamp">Interoperability with TWAMP Light</xref></t>
          </li>
          <li pn="section-toc.1-1.6">
            <t indent="0" pn="section-toc.1-1.6.1"><xref derivedContent="6" format="counter" sectionFormat="of" target="section-6"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-security-considerations">Security Considerations</xref></t>
          </li>
          <li pn="section-toc.1-1.7">
            <t indent="0" pn="section-toc.1-1.7.1"><xref derivedContent="7" format="counter" sectionFormat="of" target="section-7"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-iana-considerations">IANA Considerations</xref></t>
          </li>
          <li pn="section-toc.1-1.8">
            <t indent="0" pn="section-toc.1-1.8.1"><xref derivedContent="8" format="counter" sectionFormat="of" target="section-8"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-references">References</xref></t>
            <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1.8.2">
              <li pn="section-toc.1-1.8.2.1">
                <t indent="0" pn="section-toc.1-1.8.2.1.1"><xref derivedContent="8.1" format="counter" sectionFormat="of" target="section-8.1"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-normative-references">Normative References</xref></t>
              </li>
              <li pn="section-toc.1-1.8.2.2">
                <t indent="0" pn="section-toc.1-1.8.2.2.1"><xref derivedContent="8.2" format="counter" sectionFormat="of" target="section-8.2"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-informative-references">Informative References</xref></t>
              </li>
            </ul>
          </li>
          <li pn="section-toc.1-1.9">
            <t indent="0" pn="section-toc.1-1.9.1"><xref derivedContent="Appendix A" format="default" sectionFormat="of" target="section-appendix.a"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-destination-node-address-tlv-">Destination Node Address TLV Use-Case Example</xref></t>
          </li>
          <li pn="section-toc.1-1.10">
            <t indent="0" pn="section-toc.1-1.10.1"><xref derivedContent="" format="none" sectionFormat="of" target="section-appendix.b"/><xref derivedContent="" format="title" sectionFormat="of" target="name-acknowledgments">Acknowledgments</xref></t>
          </li>
          <li pn="section-toc.1-1.11">
            <t indent="0" pn="section-toc.1-1.11.1"><xref derivedContent="" format="none" sectionFormat="of" target="section-appendix.c"/><xref derivedContent="" format="title" sectionFormat="of" target="name-contributors">Contributors</xref></t>
          </li>
          <li pn="section-toc.1-1.12">
            <t indent="0" pn="section-toc.1-1.12.1"><xref derivedContent="" format="none" sectionFormat="of" target="section-appendix.d"/><xref derivedContent="" format="title" sectionFormat="of" target="name-authors-addresses">Authors' Addresses</xref></t>
          </li>
        </ul>
      </section>
    </toc>
  </front>
  <middle>
    <section anchor="sect-1" numbered="true" toc="include" removeInRFC="false" pn="section-1">
      <name slugifiedName="name-introduction">Introduction</name>
      <t indent="0" pn="section-1-1">
   Segment Routing (SR) leverages the source routing paradigm 
   for Software-Defined Networks
   (SDNs).  SR is applicable to both Multiprotocol Label Switching
   (SR-MPLS) and IPv6 (SRv6) forwarding planes <xref target="RFC8402" format="default" sectionFormat="of" derivedContent="RFC8402"/>.  
   SR Policies as defined in <xref target="RFC9256" format="default" sectionFormat="of" derivedContent="RFC9256"/> are used
   to steer traffic through specific, user-defined paths using a stack of Segments. 
   A comprehensive SR Performance Measurement (PM) toolset is one of the
   essential requirements to measure network performance to provide Service Level Agreements (SLAs).</t>
      <t indent="0" pn="section-1-2">The Simple Two-Way Active Measurement Protocol (STAMP) provides
   capabilities for the measurement of various performance
   metrics in IP networks <xref target="RFC8762" format="default" sectionFormat="of" derivedContent="RFC8762"/> 
   without the use of a control channel to pre-signal session parameters.
   <xref target="RFC8972" format="default" sectionFormat="of" derivedContent="RFC8972"/> defines optional extensions, in the form of TLVs, for STAMP.
   Note that the YANG data model defined in <xref target="I-D.ietf-ippm-stamp-yang" format="default" sectionFormat="of" derivedContent="IPPM-STAMP-YANG"/>
   can be used to provision the STAMP Session-Sender and STAMP Session-Reflector.</t>
      <t indent="0" pn="section-1-3">STAMP test packets are transmitted along an IP path between a Session-Sender 
   and a Session-Reflector to measure performance delay and packet loss along that IP path.  
   In SR networks, it may be desired that the same path (same set of links and nodes) between the 
   Session-Sender and Session-Reflector be used for the STAMP test packets in both directions.  
   This is achieved by using the STAMP <xref target="RFC8762" format="default" sectionFormat="of" derivedContent="RFC8762"/> extensions for 
   SR-MPLS and SRv6 networks as specified in this document by augmenting
   the optional extensions defined in <xref target="RFC8972" format="default" sectionFormat="of" derivedContent="RFC8972"/>.</t>
    </section>
    <section anchor="sect-2" numbered="true" toc="include" removeInRFC="false" pn="section-2">
      <name slugifiedName="name-conventions-used-in-this-do">Conventions Used in This Document</name>
      <section anchor="sect-2.1" numbered="true" toc="include" removeInRFC="false" pn="section-2.1">
        <name slugifiedName="name-requirements-language">Requirements Language</name>
        <t indent="0" pn="section-2.1-1">
    The key words "<bcp14>MUST</bcp14>", "<bcp14>MUST NOT</bcp14>", "<bcp14>REQUIRED</bcp14>", "<bcp14>SHALL</bcp14>", "<bcp14>SHALL NOT</bcp14>", "<bcp14>SHOULD</bcp14>", "<bcp14>SHOULD NOT</bcp14>", "<bcp14>RECOMMENDED</bcp14>", "<bcp14>NOT RECOMMENDED</bcp14>",
    "<bcp14>MAY</bcp14>", and "<bcp14>OPTIONAL</bcp14>" in this document are to be interpreted as
    described in BCP 14 <xref target="RFC2119" format="default" sectionFormat="of" derivedContent="RFC2119"/> <xref target="RFC8174" format="default" sectionFormat="of" derivedContent="RFC8174"/> 
    when, and only when, they appear in all capitals, as shown here.
        </t>
      </section>
      <section anchor="sect-2.2" numbered="true" toc="include" removeInRFC="false" pn="section-2.2">
        <name slugifiedName="name-abbreviations">Abbreviations</name>
        <dl spacing="normal" indent="3" newline="false" pn="section-2.2-1">
          <dt pn="section-2.2-1.1">MPLS:</dt>
          <dd pn="section-2.2-1.2"> Multiprotocol Label Switching</dd>
          <dt pn="section-2.2-1.3">SID:</dt>
          <dd pn="section-2.2-1.4"> Segment Identifier</dd>
          <dt pn="section-2.2-1.5">SR:</dt>
          <dd pn="section-2.2-1.6"> Segment Routing</dd>
          <dt pn="section-2.2-1.7">SR-MPLS:</dt>
          <dd pn="section-2.2-1.8"> Segment Routing over MPLS</dd>
          <dt pn="section-2.2-1.9">SRv6:</dt>
          <dd pn="section-2.2-1.10"> Segment Routing over IPv6</dd>
          <dt pn="section-2.2-1.11">SSID:</dt>
          <dd pn="section-2.2-1.12"> STAMP Session Identifier</dd>
          <dt pn="section-2.2-1.13">STAMP:</dt>
          <dd pn="section-2.2-1.14"> Simple Two-Way Active Measurement Protocol</dd>
        </dl>
      </section>
      <section anchor="sect-2.3" numbered="true" toc="include" removeInRFC="false" pn="section-2.3">
        <name slugifiedName="name-reference-topology">Reference Topology</name>
        <t indent="0" pn="section-2.3-1">
   In the reference topology shown below, the STAMP Session-Sender S1 initiates a
   STAMP test packet and the STAMP Session-Reflector R1
   transmits a reply STAMP test packet.
   The reply test packet may be transmitted 
   to the Session-Sender S1 on the same path (same set of links and nodes) or a different path 
   in the reverse direction from the path taken towards the Session-Reflector R1.
        </t>
        <t indent="0" pn="section-2.3-2">

   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.
        </t>
        <t indent="0" pn="section-2.3-3">The nodes S1 and R1 may be
   connected via a link or an SR path <xref target="RFC8402" format="default" sectionFormat="of" derivedContent="RFC8402"/>.  
   The link may be a physical interface, virtual link, 
   Link Aggregation Group (LAG) <xref target="IEEE802.1AX" format="default" sectionFormat="of" derivedContent="IEEE802.1AX"/>, or LAG member. 
   The SR path may be an SR Policy <xref target="RFC9256" format="default" sectionFormat="of" derivedContent="RFC9256"/> 
	on node S1 (called "head-end") with a destination to node R1 (called "tail-end").</t>
        <figure anchor="Figure_Reference_Topology" align="left" suppress-title="false" pn="figure-1">
          <name slugifiedName="name-reference-topology-2">Reference Topology</name>
          <artwork name="" type="" align="left" alt="" pn="section-2.3-4.1">
                       T1                T2
                      /                   \
             +-------+     Test Packet     +-------+
             |       | - - - - - - - - - -&gt;|       |
             |   S1  |=====================|   R1  |
             |       |&lt;- - - - - - - - - - |       |
             +-------+  Reply Test Packet  +-------+
                      \                   /
                       T4                T3

         STAMP Session-Sender        STAMP Session-Reflector
		       </artwork>
        </figure>
      </section>
    </section>
    <section anchor="sect-4" numbered="true" toc="include" removeInRFC="false" pn="section-3">
      <name slugifiedName="name-destination-node-address-tl">Destination Node Address TLV</name>
      <t indent="0" pn="section-3-1">
   The Session-Sender may need to transmit test packets to the Session-Reflector with a Destination Address that is not a routable address (i.e., not
   suitable for use as the Source Address of the reply test packet)
   of the Session-Reflector. This can be facilitated, for example,
   by encapsulating the STAMP packet by a tunneling protocol; see <xref target="app-A" format="default" sectionFormat="of" derivedContent="Appendix A"/>
   for an example. </t>
      <t indent="0" pn="section-3-2"><xref target="RFC8972" format="default" sectionFormat="of" derivedContent="RFC8972"/> defines STAMP Session-Sender and Session-Reflector test packets that can include one or more optional TLVs. In this document, the TLV Type (value 9 for IPv4 and IPv6) is defined for the Destination Node Address TLV
    for the STAMP test packet <xref target="RFC8972" format="default" sectionFormat="of" derivedContent="RFC8972"/>. The formats of 
      the Destination Node Address TLVs are shown in <xref target="ure-node-address-tlv-format" format="default" sectionFormat="of" derivedContent="Figure 2"/>:</t>
      <figure anchor="ure-node-address-tlv-format" align="left" suppress-title="false" pn="figure-2">
        <name slugifiedName="name-destination-node-address-tlv">Destination Node Address TLV Formats</name>
        <artwork name="" type="" align="left" alt="" pn="section-3-3.1">
  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
 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
 |STAMP TLV Flags|    Type=9     |         Length=4              |
 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
 |                         IPv4 Address                          |
 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

  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
 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
 |STAMP TLV Flags|    Type=9     |         Length=16             |
 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
 |                                                               |
 |                         IPv6 Address                          |
 |                                                               |
 |                                                               |
 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
</artwork>
      </figure>
      <t indent="0" pn="section-3-4"> The TLV fields are defined as follows:</t>
      <dl spacing="normal" indent="3" newline="false" pn="section-3-5">
        <dt pn="section-3-5.1"> STAMP TLV Flags:</dt>
        <dd pn="section-3-5.2"> The STAMP TLV Flags follow the procedures described in <xref target="RFC8972" format="default" sectionFormat="of" derivedContent="RFC8972"/> and this document.</dd>
        <dt pn="section-3-5.3"> Type:</dt>
        <dd pn="section-3-5.4"> Type (value 9) for the IPv4 Destination Node Address TLV or IPv6 Destination Node Address TLV.</dd>
        <dt pn="section-3-5.5"> Length:</dt>
        <dd pn="section-3-5.6"> A 2-octet field equal to the length of the Address field in octets. The length is 4 octets for an IPv4 address and 16 octets for an IPv6 address.</dd>
      </dl>
      <t indent="0" pn="section-3-6">
   The Destination Node Address TLV indicates an address of the intended
   Session-Reflector node of the test packet.  If the received
   Destination Node Address is one of the addresses of the
   Session-Reflector, it <bcp14>SHOULD</bcp14> be used as the Source Address in the IP
   header of the reply test packet. 
   If the Destination Node Address TLV is sent, the SSID <bcp14>MUST</bcp14> also be sent. </t>
      <t indent="0" pn="section-3-7">A Session-Reflector that recognizes this TLV <bcp14>MUST</bcp14> set the U flag <xref target="RFC8972" format="default" sectionFormat="of" derivedContent="RFC8972"/> in the reply test packet to 1 if the Session-Reflector 
      determined that it is not the intended destination as identified in the Destination
      Node Address TLV. In this case, the Session-Reflector does not use the received Destination Node Address 
       as the Source Address in the IP header of the reply test packet.
      Otherwise, the Session-Reflector <bcp14>MUST</bcp14> set the U flag in the Destination Node Address TLV in the 
      reply test packet to 0.</t>
    </section>
    <section anchor="sect-5" numbered="true" toc="include" removeInRFC="false" pn="section-4">
      <name slugifiedName="name-return-path-tlv">Return Path TLV</name>
      <t indent="0" pn="section-4-1">
   For end-to-end SR paths, the Session-Reflector may need to transmit the reply test 
   packet on a specific Return Path.  The Session-Sender
   can request this in the test packet to the Session-Reflector using a Return Path TLV. 
   With this TLV carried in the Session-Sender test packet,
   signaling and maintaining dynamic SR network state for the
   STAMP sessions on the Session-Reflector are avoided.</t>
      <t indent="0" pn="section-4-2">There are two modes defined for the behaviors on the Session-Reflector in <xref target="RFC8762" sectionFormat="of" section="4" format="default" derivedLink="https://rfc-editor.org/rfc/rfc8762#section-4" derivedContent="RFC8762"/>: Stateless and Stateful.
   A Stateful Session-Reflector requires configuration that must match all Session-Sender parameters, including the Source Address, Destination Address, Source UDP Port, Destination UDP Port, and possibly SSID (assuming the SSID is configurable and not auto-generated). In this case, a local policy can be used to direct the test packet by creating additional states for the STAMP sessions on the Session-Reflector. In the case of promiscuous operation, the Stateless Session-Reflector will require an indication of how to return the test packet on a specific path, for example, for measurement in an ECMP environment. </t>
      <t indent="0" pn="section-4-3">For links, the Session-Reflector may need to transmit the reply test
   packet on the same incoming link in the reverse direction. 
   The Session-Sender can request this in the test packet 
   to the Session-Reflector using a Return Path TLV.</t>
      <t indent="0" pn="section-4-4"><xref target="RFC8972" format="default" sectionFormat="of" derivedContent="RFC8972"/> defines STAMP test packets that
   can include one or more optional TLVs.  In this document, the TLV Type (value 10) is
   defined for the Return Path TLV that carries the Return Path for the Session-Sender 
   test packet. The format of the Return Path TLV is shown in <xref target="ure-return-path-tlv" format="default" sectionFormat="of" derivedContent="Figure 3"/>:</t>
      <figure anchor="ure-return-path-tlv" align="left" suppress-title="false" pn="figure-3">
        <name slugifiedName="name-return-path-tlv-format">Return Path TLV Format</name>
        <artwork name="" type="" align="left" alt="" pn="section-4-5.1">
  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
 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
 |STAMP TLV Flags|    Type=10    |         Length                |
 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
 |                   Return Path Sub-TLVs                        |
 .                                                               .
 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
</artwork>
      </figure>
      <t indent="0" pn="section-4-6"> The TLV fields are defined as follows:</t>
      <dl spacing="normal" indent="3" newline="false" pn="section-4-7">
        <dt pn="section-4-7.1"> STAMP TLV Flags:</dt>
        <dd pn="section-4-7.2"> The STAMP TLV Flags follow the procedures described in <xref target="RFC8972" format="default" sectionFormat="of" derivedContent="RFC8972"/> and this document.</dd>
        <dt pn="section-4-7.3"> Type:</dt>
        <dd pn="section-4-7.4"> Type (value 10) for the Return Path TLV.</dd>
        <dt pn="section-4-7.5"> Length:</dt>
        <dd pn="section-4-7.6"> A 2-octet field equal to the length of the Return Path Sub-TLVs field in octets.</dd>
        <dt pn="section-4-7.7"> Return Path Sub-TLVs:</dt>
        <dd pn="section-4-7.8">As defined in <xref target="sect-5.1" format="default" sectionFormat="of" derivedContent="Section 4.1"/>.</dd>
      </dl>
      <t indent="0" pn="section-4-8">
   A Session-Sender <bcp14>MUST NOT</bcp14> insert more than one Return Path TLV in the
   STAMP test packet.  A Session-Reflector that supports this TLV <bcp14>MUST</bcp14>
   only process the first Return Path TLV in the test packet and ignore
   other Return Path TLVs if present.  A Session-Reflector that supports
   this TLV <bcp14>MUST</bcp14> reply using the Return Path received in the
   Session-Sender test packet, if no error was encountered while processing the TLV.
      </t>
      <t indent="0" pn="section-4-9">A Session-Reflector that recognizes this TLV <bcp14>MUST</bcp14> set the U flag <xref target="RFC8972" format="default" sectionFormat="of" derivedContent="RFC8972"/> in the reply test packet to 1 if the Session-Reflector 
   determined that it cannot use the Return Path in the test packet to transmit the reply test packet.
   Otherwise, the Session-Reflector <bcp14>MUST</bcp14> set the U flag in the
   reply test packet to 0.</t>
      <section anchor="sect-5.1" numbered="true" toc="include" removeInRFC="false" pn="section-4.1">
        <name slugifiedName="name-return-path-sub-tlvs">Return Path Sub-TLVs</name>
        <t indent="0" pn="section-4.1-1">The Return Path TLV contains one or more Sub-TLVs to carry 
   the information for the requested Return Path. 
   A Return Path Sub-TLV can carry a Return Path Control Code, 
   Return Path IP Address, or Return Path Segment List.</t>
        <t indent="0" pn="section-4.1-2">The STAMP Sub-TLV Flags are set using the procedures described in <xref target="RFC8972" format="default" sectionFormat="of" derivedContent="RFC8972"/>.</t>
        <t indent="0" pn="section-4.1-3">A Return Path TLV <bcp14>MUST NOT</bcp14> contain more than one Control Code Sub-TLV, Return Address Sub-TLV, or Return Path Segment List Sub-TLV in a Session-Sender test packet.</t>
        <t indent="0" pn="section-4.1-4">A Return Path TLV <bcp14>MUST NOT</bcp14> contain both a Control Code Sub-TLV and a Return Address or Return Path Segment List Sub-TLV in a Session-Sender test packet.</t>
        <t indent="0" pn="section-4.1-5">A Return Path TLV <bcp14>MAY</bcp14> contain both a Return Address and a Return Path Segment List Sub-TLV in a Session-Sender test packet.</t>
        <section anchor="sect-4.1.1" numbered="true" toc="include" removeInRFC="false" pn="section-4.1.1">
          <name slugifiedName="name-return-path-control-code-su">Return Path Control Code Sub-TLV</name>
          <t indent="0" pn="section-4.1.1-1">The format of the Control Code Sub-TLV in the Return Path TLV is shown in <xref target="ure-control-code-return-path-tlv" format="default" sectionFormat="of" derivedContent="Figure 4"/>.</t>
          <figure anchor="ure-control-code-return-path-tlv" align="left" suppress-title="false" pn="figure-4">
            <name slugifiedName="name-format-of-the-control-code-">Format of the Control Code Sub-TLV in the Return Path TLV</name>
            <artwork name="" type="" align="left" alt="" pn="section-4.1.1-2.1">
  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
 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
 |STAMP TLV Flags|   Type=1      |         Length=4              |
 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
 |                   Control Code Flags                          |
 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
</artwork>
          </figure>
          <t indent="0" pn="section-4.1.1-3">The TLV fields are defined as follows:</t>
          <dl newline="false" spacing="normal" indent="3" pn="section-4.1.1-4">
            <dt pn="section-4.1.1-4.1">Type:</dt>
            <dd pn="section-4.1.1-4.2">Type (value 1) for the Return Path Control Code. 
    The Session-Sender can request the Session-Reflector
    to transmit the reply test packet based on the flags defined in the Control Code Flags field.</dd>
            <dt pn="section-4.1.1-4.3">STAMP TLV Flags:</dt>
            <dd pn="section-4.1.1-4.4"> The STAMP TLV Flags follow the procedures described in <xref target="RFC8972" format="default" sectionFormat="of" derivedContent="RFC8972"/> and this document.</dd>
            <dt pn="section-4.1.1-4.5">Length:</dt>
            <dd pn="section-4.1.1-4.6"> A 2-octet field equal to the length of the Control Code flags, which is 4 octets.</dd>
            <dt pn="section-4.1.1-4.7">Control Code Flags (32 bits):</dt>
            <dd pn="section-4.1.1-4.8">
              <t indent="0" pn="section-4.1.1-4.8.1">Reply Request Flag at bit 31 (least significant bit) is defined as follows.</t>
              <dl newline="false" spacing="normal" indent="3" pn="section-4.1.1-4.8.2">
                <dt pn="section-4.1.1-4.8.2.1"> 0x0:</dt>
                <dd pn="section-4.1.1-4.8.2.2"> No Reply Requested</dd>
                <dt pn="section-4.1.1-4.8.2.3"> 0x1:</dt>
                <dd pn="section-4.1.1-4.8.2.4"> Reply Requested on the Same Link</dd>
              </dl>
            </dd>
          </dl>
          <t indent="0" pn="section-4.1.1-5"> All other bits are reserved and must be transmitted as 0 and ignored by the receiver.</t>
          <t indent="0" pn="section-4.1.1-6">When Control Code flag for Reply Request is set to 0x0 in the Session-Sender test packet, 
    the Session-Reflector does not
    transmit a reply test packet to the Session-Sender and terminates the
    STAMP test packet. Only the one-way measurement is applicable in this case.
    Optionally, the Session-Reflector may locally stream performance metrics
    via telemetry using the information from the received test packet.
    All other Return Path Sub-TLVs <bcp14>MUST</bcp14> be ignored in this case.</t>
          <t indent="0" pn="section-4.1.1-7">When Control Code flag for Reply Request is set to 0x1 in the Session-Sender test packet, 
    the Session-Reflector transmits the reply test packet over the same incoming link 
    where the test packet is received in the reverse direction towards the Session-Sender.
    The link may be a physical interface, virtual link, LAG <xref target="IEEE802.1AX" format="default" sectionFormat="of" derivedContent="IEEE802.1AX"/>, or LAG member. 
    All other Return Path Sub-TLVs <bcp14>MUST</bcp14> be ignored in this case.
    When using LAG member links, the STAMP extension for the Micro-Session ID TLV defined 
    in <xref target="I-D.ietf-ippm-stamp-on-lag" format="default" sectionFormat="of" derivedContent="STAMP-ON-LAG"/> can be used to identify the link. 
          </t>
        </section>
        <section anchor="sect-5.1.2" numbered="true" toc="include" removeInRFC="false" pn="section-4.1.2">
          <name slugifiedName="name-return-address-sub-tlvs">Return Address Sub-TLVs</name>
          <t indent="0" pn="section-4.1.2-1">The STAMP reply test packet may be transmitted to the Session-Sender  
   to the specified Return Address in the Return Address Sub-TLV instead of transmitting to the Source Address in the Session-Sender test packet.</t>
          <t indent="0" pn="section-4.1.2-2">The formats of the IPv4 and IPv6 Return Address Sub-TLVs in the Return Path TLV are shown in <xref target="ure-return-node-address-tlv-format" format="default" sectionFormat="of" derivedContent="Figure 5"/>.</t>
          <figure anchor="ure-return-node-address-tlv-format" align="left" suppress-title="false" pn="figure-5">
            <name slugifiedName="name-formats-of-the-return-addre">Formats of the Return Address Sub-TLVs in the Return Path TLV</name>
            <artwork name="" type="" align="left" alt="" pn="section-4.1.2-3.1">
  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
 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
 |STAMP TLV Flags|     Type=2    |         Length=4              |
 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
 |                    Return IPv4 Address                        |
 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

  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
 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
 |STAMP TLV Flags|     Type=2    |         Length=16             |
 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
 |                                                               | 
 |                    Return IPv6 Address                        |
 |                                                               |
 |                                                               |
 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
</artwork>
          </figure>
          <t indent="0" pn="section-4.1.2-4"> The TLV fields are defined as follows:</t>
          <dl newline="false" spacing="normal" indent="3" pn="section-4.1.2-5">
            <dt pn="section-4.1.2-5.1">Type:</dt>
            <dd pn="section-4.1.2-5.2">Type (value 2) for the Return IPv4 Address or Return IPv6 Address.</dd>
          </dl>
          <t indent="0" pn="section-4.1.2-6"> The Return Address requests that the Session-Reflector reply test packet
      be sent to the specified address rather than to the Source Address in
      the Session-Sender test packet.</t>
          <dl spacing="normal" indent="3" newline="false" pn="section-4.1.2-7">
            <dt pn="section-4.1.2-7.1"> STAMP TLV Flags:</dt>
            <dd pn="section-4.1.2-7.2"> The STAMP TLV Flags follow the procedures described in <xref target="RFC8972" format="default" sectionFormat="of" derivedContent="RFC8972"/> and this document.</dd>
            <dt pn="section-4.1.2-7.3"> Length:</dt>
            <dd pn="section-4.1.2-7.4"> A 2-octet field equal to the length of the Return Address field in octets. 
      The length is 4 octets for an IPv4 address and 16 octets for an IPv6 address.</dd>
          </dl>
        </section>
        <section anchor="sect-5.1.3" numbered="true" toc="include" removeInRFC="false" pn="section-4.1.3">
          <name slugifiedName="name-return-path-segment-list-su">Return Path Segment List Sub-TLVs</name>
          <t indent="0" pn="section-4.1.3-1">The format of the Segment List Sub-TLVs in the Return Path TLV is shown in Figures <xref target="ure-sr-mpl-segment-list-sub-tlv-in-return-path-tlv" format="counter" sectionFormat="of" derivedContent="6"/> and <xref target="ure-srv6segment-list-sub-tlv-in-return-path-tlv" format="counter" sectionFormat="of" derivedContent="7"/>.
      The Segments carried in Segment List Sub-TLVs are described in <xref target="RFC8402" format="default" sectionFormat="of" derivedContent="RFC8402"/>. 
      The segment entries <bcp14>MUST</bcp14> be in network order.</t>
          <t indent="0" pn="section-4.1.3-2">The Session-Sender <bcp14>MUST</bcp14> only insert one Return Path Segment List Sub-TLV
      in the test packet, and the Segment List <bcp14>MUST</bcp14> contain at least one Segment.  The Session-Reflector <bcp14>MUST</bcp14> only process
      the first Return Path Segment List Sub-TLV in the test packet and ignore other
      Return Path Segment List Sub-TLVs if present.</t>
          <t indent="0" pn="section-4.1.3-3"> The TLV fields are defined as follows:</t>
          <dl newline="false" spacing="normal" indent="3" pn="section-4.1.3-4">
            <dt pn="section-4.1.3-4.1"> The Return Path Segment List Sub-TLV can be one of the following Types:</dt>
            <dd pn="section-4.1.3-4.2">
              <t indent="0" pn="section-4.1.3-4.2.1"><br/></t>
              <dl indent="3" newline="false" spacing="normal" pn="section-4.1.3-4.2.2">
                <dt pn="section-4.1.3-4.2.2.1">Type (value 3):</dt>
                <dd pn="section-4.1.3-4.2.2.2"> SR-MPLS Label Stack of the Return Path</dd>
                <dt pn="section-4.1.3-4.2.2.3">Type (value 4):</dt>
                <dd pn="section-4.1.3-4.2.2.4"> SRv6 Segment List of the Return Path</dd>
              </dl>
            </dd>
            <dt pn="section-4.1.3-4.3"> STAMP TLV Flags:</dt>
            <dd pn="section-4.1.3-4.4"> The STAMP TLV Flags follow the procedures described in <xref target="RFC8972" format="default" sectionFormat="of" derivedContent="RFC8972"/> and this document.</dd>
            <dt pn="section-4.1.3-4.5"> Length:</dt>
            <dd pn="section-4.1.3-4.6"> A 2-octet field equal to the length of the Segment List field in octets. The length <bcp14>MUST NOT</bcp14> be 0.</dd>
          </dl>
          <section anchor="sect-5.1.3.1" numbered="true" toc="exclude" removeInRFC="false" pn="section-4.1.3.1">
            <name slugifiedName="name-return-path-sr-mpls-label-s">Return Path SR-MPLS Label Stack Sub-TLV</name>
            <figure anchor="ure-sr-mpl-segment-list-sub-tlv-in-return-path-tlv" align="left" suppress-title="false" pn="figure-6">
              <name slugifiedName="name-format-of-the-sr-mpls-label">Format of the SR-MPLS Label Stack Sub-TLV in the Return Path TLV</name>
              <artwork name="" type="" align="left" alt="" pn="section-4.1.3.1-1.1">
  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
 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
 |STAMP TLV Flags|     Type=3    |         Length                |
 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
 |      Segment(1)                       | TC  |S|      TTL      |
 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
 .                                                               .
 .                                                               .
 .                                                               .
 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
 |      Segment(n) (bottom of stack)     | TC  |S|      TTL      |
 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
</artwork>
            </figure>
            <t indent="0" pn="section-4.1.3.1-2">The SR-MPLS Label Stack contains a list of 32-bit Label Stack Entries (LSEs) that includes a 20-bit label value, 
      an 8-bit Time-To-Live (TTL) value, a 3-bit Traffic Class (TC) value, and a 1-bit End-of-Stack (S) field. The length of the Sub-TLV modulo 4 <bcp14>MUST</bcp14> be 0.</t>
            <t indent="0" pn="section-4.1.3.1-3">As an example, an SR-MPLS Label Stack Sub-TLV could carry only the Binding SID Label  
      <xref target="I-D.ietf-pce-binding-label-sid" format="default" sectionFormat="of" derivedContent="PCE-BINDING-LABEL-SID"/> of the Return SR-MPLS Policy.
      The Binding SID Label of the Return SR-MPLS Policy is local to the Session-Reflector.
      The mechanism to signal the Binding SID Label to the Session-Sender is outside the scope of this document.</t>
            <t indent="0" pn="section-4.1.3.1-4">As another example, an SR-MPLS Label Stack Sub-TLV could include the Path Segment Identifier Label of the Return SR-MPLS Policy in the Segment List of the SR-MPLS Policy.</t>
          </section>
          <section anchor="sect-5.1.3.2" numbered="true" toc="exclude" removeInRFC="false" pn="section-4.1.3.2">
            <name slugifiedName="name-return-path-srv6-segment-li">Return Path SRv6 Segment List Sub-TLV</name>
            <figure anchor="ure-srv6segment-list-sub-tlv-in-return-path-tlv" align="left" suppress-title="false" pn="figure-7">
              <name slugifiedName="name-format-of-the-srv6-segment-">Format of the SRv6 Segment List Sub-TLV in the Return Path TLV</name>
              <artwork name="" type="" align="left" alt="" pn="section-4.1.3.2-1.1">
  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
 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
 |STAMP TLV Flags|     Type=4    |         Length                |
 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
 |                                                               |
 |      Segment(1) (128-bit IPv6 Address)                        |
 |                                                               |
 |                                                               |
 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
 .                                                               .
 .                                                               .
 .                                                               .
 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
 |                                                               |
 |      Segment(n) (128-bit IPv6 Address) (bottom of stack)      |
 |                                                               |
 |                                                               |
 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
</artwork>
            </figure>
            <t indent="0" pn="section-4.1.3.2-2">The SRv6 Segment List contains a list of 128-bit IPv6 addresses representing the SRv6 SIDs. The length of the Sub-TLV modulo 16 <bcp14>MUST</bcp14> be 0.</t>
            <t indent="0" pn="section-4.1.3.2-3">As an example, a Return Path SRv6 Segment List Sub-TLV could carry only the SRv6 Binding SID 
      <xref target="I-D.ietf-pce-binding-label-sid" format="default" sectionFormat="of" derivedContent="PCE-BINDING-LABEL-SID"/> of the Return SRv6 Policy.
      The SRv6 Binding SID of the Return SRv6 Policy is local to the Session-Reflector.
      The mechanism to signal the SRv6 Binding SID to the Session-Sender is outside the scope of this document.</t>
            <t indent="0" pn="section-4.1.3.2-4">As another example, a Return Path SRv6 Segment List Sub-TLV could include the SRv6 Path Segment Identifier of the Return SRv6 Policy in the Segment List of the SRv6 Policy.</t>
          </section>
        </section>
      </section>
    </section>
    <section anchor="sect-6" numbered="true" toc="include" removeInRFC="false" pn="section-5">
      <name slugifiedName="name-interoperability-with-twamp">Interoperability with TWAMP Light</name>
      <t indent="0" pn="section-5-1">This document does not introduce any additional considerations for interoperability
         with the Two-Way Active Measurement Protocol (TWAMP) Light than those described in <xref target="RFC8762" sectionFormat="of" section="4.6" format="default" derivedLink="https://rfc-editor.org/rfc/rfc8762#section-4.6" derivedContent="RFC8762"/>. </t>
      <t indent="0" pn="section-5-2">As described in <xref target="RFC8762" format="default" sectionFormat="of" derivedContent="RFC8762"/>, there are two possible 
         combinations for such an interoperability use case:</t>
      <ul spacing="normal" bare="false" empty="false" indent="3" pn="section-5-3">
        <li pn="section-5-3.1"> STAMP Session-Sender with TWAMP Light Session-Reflector </li>
        <li pn="section-5-3.2"> TWAMP Light Session-Sender with STAMP Session-Reflector </li>
      </ul>
      <t indent="0" pn="section-5-4">If any of the STAMP extensions defined in this document are used by STAMP Session-Sender, 
         the TWAMP Light Session-Reflector will view them as the Packet Padding field.</t>
    </section>
    <section anchor="sect-7" numbered="true" toc="include" removeInRFC="false" pn="section-6">
      <name slugifiedName="name-security-considerations">Security Considerations</name>
      <t indent="0" pn="section-6-1">The security considerations specified in <xref target="RFC8762" format="default" sectionFormat="of" derivedContent="RFC8762"/>
   and <xref target="RFC8972" format="default" sectionFormat="of" derivedContent="RFC8972"/> also apply to the extensions
   defined in this document.  Specifically, the authenticated mode and the
   message integrity protection using Hashed Message Authentication Code (HMAC), as defined in <xref target="RFC8762" sectionFormat="of" section="4.4" format="default" derivedLink="https://rfc-editor.org/rfc/rfc8762#section-4.4" derivedContent="RFC8762"/>, also apply to the procedures described in this document.</t>
      <t indent="0" pn="section-6-2">STAMP uses the well-known UDP port number that could become 
   a target of denial of service (DoS) or could
   be used to aid on-path attacks.
   Thus, the security considerations and measures to mitigate the 
   risk of the attack documented in <xref target="RFC8545" sectionFormat="of" section="6" format="default" derivedLink="https://rfc-editor.org/rfc/rfc8545#section-6" derivedContent="RFC8545"/>
   equally apply to the STAMP extensions in this document.</t>
      <t indent="0" pn="section-6-3">If desired, attacks can be mitigated by performing basic validation
   checks of the timestamp fields (such as T2 is later than T1 in the reference topology in <xref target="sect-2.3" format="default" sectionFormat="of" derivedContent="Section 2.3"/>) 
   in received reply test packets at the Session-Sender.  The minimal state
   associated with these protocols also limit the extent of measurement
   disruption that can be caused by a corrupt or invalid test packet to a
   single test cycle.</t>
      <t indent="0" pn="section-6-4">
   The usage of STAMP extensions defined in this document is intended for deployment in a single network administrative domain.
   As such, the Session-Sender address, Session-Reflector address, and Return Path are provisioned by the operator for the STAMP session.
   It is assumed that the operator has 
   verified the integrity of the Return Path and identity of the far-end Session-Reflector.</t>
      <t indent="0" pn="section-6-5">
   The STAMP extensions defined in this document may be used for
   potential address spoofing. For example, a Session-Sender
   may specify a Return Path IP Address that is different from the Session-Sender address.  
   The Session-Reflector <bcp14>MAY</bcp14> drop the Session-Sender test packet when it cannot
   determine whether the Return Path IP Address is local on the
   Session-Sender. To help the Session-Reflector to make that determination, the Return Path 
   IP Address may also be provisioned by the operator, for example, in an access control list.
      </t>
    </section>
    <section anchor="sect-8" numbered="true" toc="include" removeInRFC="false" pn="section-7">
      <name slugifiedName="name-iana-considerations">IANA Considerations</name>
      <t indent="0" pn="section-7-1">
   IANA has allocated a value for the Destination Address TLV Type and a value for the 
   Return Path TLV Type from the IETF Review TLV range in the "STAMP TLV Types" registry <xref target="RFC8972" format="default" sectionFormat="of" derivedContent="RFC8972"/> as follows.
</t>
      <table anchor="iana-tlv-type-tbl" align="center" pn="table-1">
        <name slugifiedName="name-stamp-tlv-types">STAMP TLV Types</name>
        <thead>
          <tr>
            <th align="left" colspan="1" rowspan="1">Value</th>
            <th align="left" colspan="1" rowspan="1">Description</th>
            <th align="left" colspan="1" rowspan="1">Reference</th>
          </tr>
        </thead>
        <tbody>
          <tr>
            <td align="left" colspan="1" rowspan="1">9</td>
            <td align="left" colspan="1" rowspan="1">Destination Node IPv4 or IPv6 Address</td>
            <td align="left" colspan="1" rowspan="1">RFC 9503</td>
          </tr>
          <tr>
            <td align="left" colspan="1" rowspan="1">10</td>
            <td align="left" colspan="1" rowspan="1">Return Path</td>
            <td align="left" colspan="1" rowspan="1">RFC 9503</td>
          </tr>
        </tbody>
      </table>
      <t indent="0" pn="section-7-3">
   IANA has created the "Return Path Sub-TLV Types" registry.
   All code points in the range 1 through 175 in this registry shall be
   allocated according to the "IETF Review" procedure as specified in
   <xref target="RFC8126" format="default" sectionFormat="of" derivedContent="RFC8126"/>.  Code points in the range 176 through 239 shall be allocated according to the "First Come First
   Served" procedure as specified in <xref target="RFC8126" format="default" sectionFormat="of" derivedContent="RFC8126"/>. 
   Remaining code points shall be allocated according to <xref target="iana-return-path-tbl" format="default" sectionFormat="of" derivedContent="Table 2"/>:
      </t>
      <table anchor="iana-return-path-tbl" align="center" pn="table-2">
        <name slugifiedName="name-return-path-sub-tlv-types-r">Return Path Sub-TLV Types Registry</name>
        <thead>
          <tr>
            <th align="left" colspan="1" rowspan="1">Range</th>
            <th align="left" colspan="1" rowspan="1">Registration Procedures</th>
          </tr>
        </thead>
        <tbody>
          <tr>
            <td align="left" colspan="1" rowspan="1">1-175</td>
            <td align="left" colspan="1" rowspan="1">IETF Review</td>
          </tr>
          <tr>
            <td align="left" colspan="1" rowspan="1">176-239</td>
            <td align="left" colspan="1" rowspan="1">First Come First Served</td>
          </tr>
          <tr>
            <td align="left" colspan="1" rowspan="1">240-251</td>
            <td align="left" colspan="1" rowspan="1">Experimental Use</td>
          </tr>
          <tr>
            <td align="left" colspan="1" rowspan="1">252-254</td>
            <td align="left" colspan="1" rowspan="1">Private Use</td>
          </tr>
        </tbody>
      </table>
      <t indent="0" pn="section-7-5">
   IANA has allocated values for the following Sub-TLV Types in the "Return Path Sub-TLV Types" registry.</t>
      <table anchor="iana-return-path-reg-types" align="center" pn="table-3">
        <name slugifiedName="name-return-path-sub-tlv-types">Return Path Sub-TLV Types</name>
        <thead>
          <tr>
            <th align="left" colspan="1" rowspan="1">Value</th>
            <th align="left" colspan="1" rowspan="1">Description</th>
            <th align="left" colspan="1" rowspan="1">Reference</th>
          </tr>
        </thead>
        <tbody>
          <tr>
            <td align="left" colspan="1" rowspan="1">0</td>
            <td align="left" colspan="1" rowspan="1">Reserved</td>
            <td align="left" colspan="1" rowspan="1">RFC 9503</td>
          </tr>
          <tr>
            <td align="left" colspan="1" rowspan="1">1</td>
            <td align="left" colspan="1" rowspan="1">Return Path Control Code</td>
            <td align="left" colspan="1" rowspan="1">RFC 9503</td>
          </tr>
          <tr>
            <td align="left" colspan="1" rowspan="1">2</td>
            <td align="left" colspan="1" rowspan="1">Return IPv4 or IPv6 Address</td>
            <td align="left" colspan="1" rowspan="1">RFC 9503</td>
          </tr>
          <tr>
            <td align="left" colspan="1" rowspan="1">3</td>
            <td align="left" colspan="1" rowspan="1">SR-MPLS Label Stack of the Return Path</td>
            <td align="left" colspan="1" rowspan="1">RFC 9503</td>
          </tr>
          <tr>
            <td align="left" colspan="1" rowspan="1">4</td>
            <td align="left" colspan="1" rowspan="1">SRv6 Segment List of the Return Path</td>
            <td align="left" colspan="1" rowspan="1">RFC 9503</td>
          </tr>
          <tr>
            <td align="left" colspan="1" rowspan="1">255</td>
            <td align="left" colspan="1" rowspan="1">Reserved</td>
            <td align="left" colspan="1" rowspan="1">RFC 9503</td>
          </tr>
        </tbody>
      </table>
      <t indent="0" pn="section-7-7">
   IANA has created the "Return Path Control Code Flags" registry for Return Path Control Code Sub-TLVs.
   All code points in the bit position 31 (counting from bit 31 as the least significant bit) through 12 in this registry shall be
   allocated according to the "IETF Review" procedure as specified in
   <xref target="RFC8126" format="default" sectionFormat="of" derivedContent="RFC8126"/>.  Code points in the bit position 11 through 8 shall be allocated according to the "First Come First
   Served" procedure as specified in <xref target="RFC8126" format="default" sectionFormat="of" derivedContent="RFC8126"/>. 
   Remaining code points shall be allocated according to <xref target="iana-return-path-cc-tbl" format="default" sectionFormat="of" derivedContent="Table 4"/>:
      </t>
      <table anchor="iana-return-path-cc-tbl" align="center" pn="table-4">
        <name slugifiedName="name-return-path-control-code-fl">Return Path Control Code Flags Registry</name>
        <thead>
          <tr>
            <th align="left" colspan="1" rowspan="1">Range</th>
            <th align="left" colspan="1" rowspan="1">Registration Procedures</th>
          </tr>
        </thead>
        <tbody>
          <tr>
            <td align="left" colspan="1" rowspan="1">31-12</td>
            <td align="left" colspan="1" rowspan="1">IETF Review</td>
          </tr>
          <tr>
            <td align="left" colspan="1" rowspan="1">11-8</td>
            <td align="left" colspan="1" rowspan="1">First Come First Served</td>
          </tr>
          <tr>
            <td align="left" colspan="1" rowspan="1">7-4</td>
            <td align="left" colspan="1" rowspan="1">Experimental Use</td>
          </tr>
          <tr>
            <td align="left" colspan="1" rowspan="1">3-0</td>
            <td align="left" colspan="1" rowspan="1">Private Use</td>
          </tr>
        </tbody>
      </table>
      <t indent="0" pn="section-7-9">
   IANA has allocated a value in the "Return Path Control Code Flags" registry as follows.</t>
      <table anchor="iana-return-path-cc-reg-types" align="center" pn="table-5">
        <name slugifiedName="name-return-path-control-code-fla">Return Path Control Code Flags</name>
        <thead>
          <tr>
            <th align="left" colspan="1" rowspan="1">Value</th>
            <th align="left" colspan="1" rowspan="1">Description</th>
            <th align="left" colspan="1" rowspan="1">Reference</th>
          </tr>
        </thead>
        <tbody>
          <tr>
            <td align="left" colspan="1" rowspan="1">31</td>
            <td align="left" colspan="1" rowspan="1">Reply Request</td>
            <td align="left" colspan="1" rowspan="1">RFC 9503</td>
          </tr>
        </tbody>
      </table>
    </section>
  </middle>
  <back>
    <displayreference target="I-D.ietf-pce-binding-label-sid" to="PCE-BINDING-LABEL-SID"/>
    <displayreference target="I-D.ietf-ippm-stamp-yang" to="IPPM-STAMP-YANG"/>
    <displayreference target="I-D.ietf-ippm-stamp-on-lag" to="STAMP-ON-LAG"/>
    <references pn="section-8">
      <name slugifiedName="name-references">References</name>
      <references pn="section-8.1">
        <name slugifiedName="name-normative-references">Normative References</name>
        <reference anchor="RFC2119" target="https://www.rfc-editor.org/info/rfc2119" quoteTitle="true" derivedAnchor="RFC2119">
          <front>
            <title>Key words for use in RFCs to Indicate Requirement Levels</title>
            <author fullname="S. Bradner" initials="S." surname="Bradner"/>
            <date month="March" year="1997"/>
            <abstract>
              <t indent="0">In many standards track documents several words are used to signify the requirements in the specification. These words are often capitalized. This document defines these words as they should be interpreted in IETF documents. This document specifies an Internet Best Current Practices for the Internet Community, and requests discussion and suggestions for improvements.</t>
            </abstract>
          </front>
          <seriesInfo name="BCP" value="14"/>
          <seriesInfo name="RFC" value="2119"/>
          <seriesInfo name="DOI" value="10.17487/RFC2119"/>
        </reference>
        <reference anchor="RFC8174" target="https://www.rfc-editor.org/info/rfc8174" quoteTitle="true" derivedAnchor="RFC8174">
          <front>
            <title>Ambiguity of Uppercase vs Lowercase in RFC 2119 Key Words</title>
            <author fullname="B. Leiba" initials="B." surname="Leiba"/>
            <date month="May" year="2017"/>
            <abstract>
              <t indent="0">RFC 2119 specifies common key words that may be used in protocol specifications. This document aims to reduce the ambiguity by clarifying that only UPPERCASE usage of the key words have the defined special meanings.</t>
            </abstract>
          </front>
          <seriesInfo name="BCP" value="14"/>
          <seriesInfo name="RFC" value="8174"/>
          <seriesInfo name="DOI" value="10.17487/RFC8174"/>
        </reference>
        <reference anchor="RFC8762" target="https://www.rfc-editor.org/info/rfc8762" quoteTitle="true" derivedAnchor="RFC8762">
          <front>
            <title>Simple Two-Way Active Measurement Protocol</title>
            <author fullname="G. Mirsky" initials="G." surname="Mirsky"/>
            <author fullname="G. Jun" initials="G." surname="Jun"/>
            <author fullname="H. Nydell" initials="H." surname="Nydell"/>
            <author fullname="R. Foote" initials="R." surname="Foote"/>
            <date month="March" year="2020"/>
            <abstract>
              <t indent="0">This document describes the Simple Two-way Active Measurement Protocol (STAMP), which enables the measurement of both one-way and round-trip performance metrics, like delay, delay variation, and packet loss.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="8762"/>
          <seriesInfo name="DOI" value="10.17487/RFC8762"/>
        </reference>
        <reference anchor="RFC8972" target="https://www.rfc-editor.org/info/rfc8972" quoteTitle="true" derivedAnchor="RFC8972">
          <front>
            <title>Simple Two-Way Active Measurement Protocol Optional Extensions</title>
            <author fullname="G. Mirsky" initials="G." surname="Mirsky"/>
            <author fullname="X. Min" initials="X." surname="Min"/>
            <author fullname="H. Nydell" initials="H." surname="Nydell"/>
            <author fullname="R. Foote" initials="R." surname="Foote"/>
            <author fullname="A. Masputra" initials="A." surname="Masputra"/>
            <author fullname="E. Ruffini" initials="E." surname="Ruffini"/>
            <date month="January" year="2021"/>
            <abstract>
              <t indent="0">This document describes optional extensions to Simple Two-way Active Measurement Protocol (STAMP) that enable measurement of performance metrics. The document also defines a STAMP Test Session Identifier and thus updates RFC 8762.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="8972"/>
          <seriesInfo name="DOI" value="10.17487/RFC8972"/>
        </reference>
      </references>
      <references pn="section-8.2">
        <name slugifiedName="name-informative-references">Informative References</name>
        <reference anchor="IEEE802.1AX" quoteTitle="true" target="https://doi.org/10.1109/IEEESTD.2014.7055197" derivedAnchor="IEEE802.1AX">
          <front>
            <title>IEEE Standard for Local and metropolitan area networks -- Link Aggregation</title>
            <author>
              <organization showOnFrontPage="true">IEEE</organization>
            </author>
            <date month="December" year="2014"/>
          </front>
          <seriesInfo name="IEEE" value="Std 802.1AX-2014"/>
          <seriesInfo name="DOI" value="10.1109/IEEESTD.2014.7055197"/>
        </reference>
        <reference anchor="I-D.ietf-ippm-stamp-yang" target="https://datatracker.ietf.org/doc/html/draft-ietf-ippm-stamp-yang-11" quoteTitle="true" derivedAnchor="IPPM-STAMP-YANG">
          <front>
            <title>Simple Two-way Active Measurement Protocol (STAMP) Data Model</title>
            <author initials="G." surname="Mirsky" fullname="Greg Mirsky">
              <organization showOnFrontPage="true">Ericsson</organization>
            </author>
            <author initials="X." surname="Min" fullname="Xiao Min">
              <organization showOnFrontPage="true">ZTE Corp.</organization>
            </author>
            <author initials="W. S." surname="Luo" fullname="Wei S Luo">
              <organization showOnFrontPage="true">Ericsson</organization>
            </author>
            <date month="March" day="13" year="2023"/>
            <abstract>
              <t indent="0">   This document specifies the data model for implementations of
   Session-Sender and Session-Reflector for Simple Two-way Active
   Measurement Protocol (STAMP) mode using YANG.

              </t>
            </abstract>
          </front>
          <seriesInfo name="Internet-Draft" value="draft-ietf-ippm-stamp-yang-11"/>
          <refcontent>Work in Progress</refcontent>
        </reference>
        <reference anchor="I-D.ietf-pce-binding-label-sid" target="https://datatracker.ietf.org/doc/html/draft-ietf-pce-binding-label-sid-16" quoteTitle="true" derivedAnchor="PCE-BINDING-LABEL-SID">
          <front>
            <title>Carrying Binding Label/Segment Identifier (SID) in PCE-based Networks.</title>
            <author fullname="Siva Sivabalan" initials="S." surname="Sivabalan">
              <organization showOnFrontPage="true">Ciena Corporation</organization>
            </author>
            <author fullname="Clarence Filsfils" initials="C." surname="Filsfils">
              <organization showOnFrontPage="true">Cisco Systems, Inc.</organization>
            </author>
            <author fullname="Jeff Tantsura" initials="J." surname="Tantsura">
              <organization showOnFrontPage="true">Nvidia</organization>
            </author>
            <author fullname="Stefano Previdi" initials="S." surname="Previdi">
              <organization showOnFrontPage="true">Huawei Technologies</organization>
            </author>
            <author fullname="Cheng Li" initials="C." surname="Li" role="editor">
              <organization showOnFrontPage="true">Huawei Technologies</organization>
            </author>
            <date day="27" month="March" year="2023"/>
          </front>
          <seriesInfo name="Internet-Draft" value="draft-ietf-pce-binding-label-sid-16"/>
          <refcontent>Work in Progress</refcontent>
        </reference>
        <reference anchor="RFC8126" target="https://www.rfc-editor.org/info/rfc8126" quoteTitle="true" derivedAnchor="RFC8126">
          <front>
            <title>Guidelines for Writing an IANA Considerations Section in RFCs</title>
            <author fullname="M. Cotton" initials="M." surname="Cotton"/>
            <author fullname="B. Leiba" initials="B." surname="Leiba"/>
            <author fullname="T. Narten" initials="T." surname="Narten"/>
            <date month="June" year="2017"/>
            <abstract>
              <t indent="0">Many protocols make use of points of extensibility that use constants to identify various protocol parameters. To ensure that the values in these fields do not have conflicting uses and to promote interoperability, their allocations are often coordinated by a central record keeper. For IETF protocols, that role is filled by the Internet Assigned Numbers Authority (IANA).</t>
              <t indent="0">To make assignments in a given registry prudently, guidance describing the conditions under which new values should be assigned, as well as when and how modifications to existing values can be made, is needed. This document defines a framework for the documentation of these guidelines by specification authors, in order to assure that the provided guidance for the IANA Considerations is clear and addresses the various issues that are likely in the operation of a registry.</t>
              <t indent="0">This is the third edition of this document; it obsoletes RFC 5226.</t>
            </abstract>
          </front>
          <seriesInfo name="BCP" value="26"/>
          <seriesInfo name="RFC" value="8126"/>
          <seriesInfo name="DOI" value="10.17487/RFC8126"/>
        </reference>
        <reference anchor="RFC8402" target="https://www.rfc-editor.org/info/rfc8402" quoteTitle="true" derivedAnchor="RFC8402">
          <front>
            <title>Segment Routing Architecture</title>
            <author fullname="C. Filsfils" initials="C." role="editor" surname="Filsfils"/>
            <author fullname="S. Previdi" initials="S." role="editor" surname="Previdi"/>
            <author fullname="L. Ginsberg" initials="L." surname="Ginsberg"/>
            <author fullname="B. Decraene" initials="B." surname="Decraene"/>
            <author fullname="S. Litkowski" initials="S." surname="Litkowski"/>
            <author fullname="R. Shakir" initials="R." surname="Shakir"/>
            <date month="July" year="2018"/>
            <abstract>
              <t indent="0">Segment Routing (SR) leverages the source routing paradigm. A node steers a packet through an ordered list of instructions, called "segments". A segment can represent any instruction, topological or service based. A segment can have a semantic local to an SR node or global within an SR domain. SR provides a mechanism that allows a flow to be restricted to a specific topological path, while maintaining per-flow state only at the ingress node(s) to the SR domain.</t>
              <t indent="0">SR can be directly applied to the MPLS architecture with no change to the forwarding plane. A segment is encoded as an MPLS label. An ordered list of segments is encoded as a stack of labels. The segment to process is on the top of the stack. Upon completion of a segment, the related label is popped from the stack.</t>
              <t indent="0">SR can be applied to the IPv6 architecture, with a new type of routing header. A segment is encoded as an IPv6 address. An ordered list of segments is encoded as an ordered list of IPv6 addresses in the routing header. The active segment is indicated by the Destination Address (DA) of the packet. The next active segment is indicated by a pointer in the new routing header.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="8402"/>
          <seriesInfo name="DOI" value="10.17487/RFC8402"/>
        </reference>
        <reference anchor="RFC8545" target="https://www.rfc-editor.org/info/rfc8545" quoteTitle="true" derivedAnchor="RFC8545">
          <front>
            <title>Well-Known Port Assignments for the One-Way Active Measurement Protocol (OWAMP) and the Two-Way Active Measurement Protocol (TWAMP)</title>
            <author fullname="A. Morton" initials="A." role="editor" surname="Morton"/>
            <author fullname="G. Mirsky" initials="G." role="editor" surname="Mirsky"/>
            <date month="March" year="2019"/>
            <abstract>
              <t indent="0">This memo explains the motivation and describes the reassignment of well-known ports for the One-Way Active Measurement Protocol (OWAMP) and the Two-Way Active Measurement Protocol (TWAMP) for control and measurement. It also clarifies the meaning and composition of these Standards Track protocol names for the industry.</t>
              <t indent="0">This memo updates RFCs 4656 and 5357, in terms of the UDP well-known port assignments, and it clarifies the complete OWAMP and TWAMP protocol composition for the industry.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="8545"/>
          <seriesInfo name="DOI" value="10.17487/RFC8545"/>
        </reference>
        <reference anchor="RFC9256" target="https://www.rfc-editor.org/info/rfc9256" quoteTitle="true" derivedAnchor="RFC9256">
          <front>
            <title>Segment Routing Policy Architecture</title>
            <author fullname="C. Filsfils" initials="C." surname="Filsfils"/>
            <author fullname="K. Talaulikar" initials="K." role="editor" surname="Talaulikar"/>
            <author fullname="D. Voyer" initials="D." surname="Voyer"/>
            <author fullname="A. Bogdanov" initials="A." surname="Bogdanov"/>
            <author fullname="P. Mattes" initials="P." surname="Mattes"/>
            <date month="July" year="2022"/>
            <abstract>
              <t indent="0">Segment Routing (SR) allows a node to steer a packet flow along any path. Intermediate per-path states are eliminated thanks to source routing. SR Policy is an ordered list of segments (i.e., instructions) that represent a source-routed policy. Packet flows are steered into an SR Policy on a node where it is instantiated called a headend node. The packets steered into an SR Policy carry an ordered list of segments associated with that SR Policy.</t>
              <t indent="0">This document updates RFC 8402 as it details the concepts of SR Policy and steering into an SR Policy.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="9256"/>
          <seriesInfo name="DOI" value="10.17487/RFC9256"/>
        </reference>
        <reference anchor="I-D.ietf-ippm-stamp-on-lag" target="https://datatracker.ietf.org/doc/html/draft-ietf-ippm-stamp-on-lag-05" quoteTitle="true" derivedAnchor="STAMP-ON-LAG">
          <front>
            <title>Simple Two-Way Active Measurement Protocol Extensions for Performance Measurement on LAG</title>
            <author fullname="Zhenqiang Li" initials="Z." surname="Li">
              <organization showOnFrontPage="true">China Mobile</organization>
            </author>
            <author fullname="Tianran Zhou" initials="T." surname="Zhou">
              <organization showOnFrontPage="true">Huawei</organization>
            </author>
            <author fullname="Guo Jun" initials="J." surname="Guo">
              <organization showOnFrontPage="true">ZTE Corp.</organization>
            </author>
            <author fullname="Greg Mirsky" initials="G." surname="Mirsky">
              <organization showOnFrontPage="true">Ericsson</organization>
            </author>
            <author fullname="Rakesh Gandhi" initials="R." surname="Gandhi">
              <organization showOnFrontPage="true">Cisco</organization>
            </author>
            <date day="17" month="October" year="2023"/>
          </front>
          <seriesInfo name="Internet-Draft" value="draft-ietf-ippm-stamp-on-lag-05"/>
          <refcontent>Work in Progress</refcontent>
        </reference>
      </references>
    </references>
    <section anchor="app-A" toc="include" numbered="true" removeInRFC="false" pn="section-appendix.a">
      <name slugifiedName="name-destination-node-address-tlv-">Destination Node Address TLV Use-Case Example</name>
      <t indent="0" pn="section-appendix.a-1">STAMP test packets can be  
    encapsulated with 1) an SR-MPLS Label Stack and IPv4 header containing 
    an IPv4 Destination Address from the 127/8 range or 2) an outer IPv6 header and a Segment Routing 
    Header (SRH) with an inner IPv6 header containing an IPv6 Destination Address from the ::1/128 range.</t>
      <t indent="0" pn="section-appendix.a-2">In an ECMP environment, the hashing function in forwarding may decide the outgoing
    path using the Source Address, Destination Address, UDP ports, IPv6 flow-label, etc. from the packet. 
    Hence, for IPv4, for example, different values of an IPv4 Destination 
    Address from the 127/8 range may be used in the IPv4 header of the STAMP test packets to measure different ECMP paths.
    For IPv6, for example, different values of flow-label may be used in the IPv6 header of the STAMP test packets to measure different ECMP paths.</t>
      <t indent="0" pn="section-appendix.a-3">
    In those cases, the STAMP test packets may reach a node that is not the Session-Reflector 
    for this STAMP session in an error condition, and this unintended node may transmit a reply 
    test packet that can result in the reporting of invalid measurement metrics. The intended Session-Reflector address
    can be carried in the Destination Node Address TLV to help detect this error. 
      </t>
    </section>
    <section numbered="false" anchor="acknowledgments" toc="include" removeInRFC="false" pn="section-appendix.b">
      <name slugifiedName="name-acknowledgments">Acknowledgments</name>
      <t indent="0" pn="section-appendix.b-1">
   The authors would like to thank Thierry Couture for the discussions
   on the use cases for Performance Measurement in Segment Routing.  The authors
   would also like to thank <contact fullname="Greg Mirsky"/>, <contact fullname="Mike Koldychev"/>, <contact fullname="Gyan Mishra"/>, <contact fullname="Tianran Zhou"/>, 
   <contact fullname="Al Morton"/>, <contact fullname="Reshad Rahman"/>, <contact fullname="Zhenqiang Li"/>, <contact fullname="Frank Brockners"/>, <contact fullname="Henrik Nydell"/>,  
   and <contact fullname="Cheng Li"/> for providing comments and suggestions. Thank you to <contact fullname="Joel Halpern"/> for the
   Gen-ART review, <contact fullname="Martin Duke"/> for the AD review, and <contact fullname="Kathleen Moriarty"/> for the Security review. 
   The authors would also like to thank <contact fullname="Robert Wilton"/>, <contact fullname="Éric Vyncke"/>, <contact fullname="Paul Wouters"/>, <contact fullname="John Scudder"/>, <contact fullname="Roman Danyliw"/>, <contact fullname="Lars Eggert"/>, <contact fullname="Erik Kline"/>, <contact fullname="Warren Kumari"/>, and <contact fullname="Jim Guichard"/> for the IESG review.</t>
    </section>
    <section numbered="false" anchor="contributors" toc="include" removeInRFC="false" pn="section-appendix.c">
      <name slugifiedName="name-contributors">Contributors</name>
      <t indent="0" pn="section-appendix.c-1">The following person has contributed substantially to this document:</t>
      <contact fullname="Daniel Voyer">
        <organization showOnFrontPage="true">Bell Canada</organization>
        <address>
          <email>daniel.voyer@bell.ca</email>
        </address>
      </contact>
    </section>
    <section anchor="authors-addresses" numbered="false" removeInRFC="false" toc="include" pn="section-appendix.d">
      <name slugifiedName="name-authors-addresses">Authors' Addresses</name>
      <author fullname="Rakesh Gandhi" initials="R." role="editor" surname="Gandhi">
        <organization showOnFrontPage="true">Cisco Systems, Inc.</organization>
        <address>
          <postal>
            <country>Canada</country>
          </postal>
          <email>rgandhi@cisco.com</email>
        </address>
      </author>
      <author fullname="Clarence Filsfils" initials="C." surname="Filsfils">
        <organization showOnFrontPage="true">Cisco Systems, Inc.</organization>
        <address>
          <email>cfilsfil@cisco.com</email>
        </address>
      </author>
      <author fullname="Mach(Guoyi) Chen" initials="M." surname="Chen">
        <organization showOnFrontPage="true">Huawei</organization>
        <address>
          <email>mach.chen@huawei.com</email>
        </address>
      </author>
      <author fullname="Bart Janssens" initials="B." surname="Janssens">
        <organization showOnFrontPage="true">Colt</organization>
        <address>
          <email>Bart.Janssens@colt.net</email>
        </address>
      </author>
      <author fullname="Richard Foote" initials="R." surname="Foote">
        <organization showOnFrontPage="true">Nokia</organization>
        <address>
          <email>footer.foote@nokia.com</email>
        </address>
      </author>
    </section>
  </back>
</rfc>
