<?xml version='1.0' encoding='utf-8'?>
<!DOCTYPE rfc [
  <!ENTITY nbsp    "&#160;">
  <!ENTITY zwsp   "&#8203;">
  <!ENTITY nbhy   "&#8209;">
  <!ENTITY wj     "&#8288;">
]>
<rfc xmlns:xi="http://www.w3.org/2001/XInclude" submissionType="IETF" docName="draft-gandhi-mpls-ioam-06" category="std" ipr="trust200902" consensus="true" obsoletes="" xml:lang="en" sortRefs="true" symRefs="true" tocInclude="true" version="3">
  <!-- xml2rfc v2v3 conversion 3.12.0 -->
  <!-- Generated by id2xml 1.5.0 on 2020-03-09T17:12:10Z -->
    <front>
    <title abbrev="In-situ OAM for MPLS Data plane">MPLS Data Plane Encapsulation for In-situ OAM Data</title>
    <seriesInfo name="Internet-Draft" value="draft-gandhi-mpls-ioam-05"/>
    <author fullname="Rakesh Gandhi" initials="R." role="editor" surname="Gandhi">
      <organization>Cisco Systems, Inc.</organization>
      <address>
        <postal>
          <street>Canada</street>
        </postal>
        <email>rgandhi@cisco.com</email>
      </address>
    </author>
    <author fullname="Zafar Ali" initials="Z." surname="Ali">
      <organization>Cisco Systems, Inc.</organization>
      <address>
        <email>zali@cisco.com</email>
      </address>
    </author>
    <author fullname="Frank Brockners" initials="F." surname="Brockners">
      <organization>Cisco Systems, Inc.</organization>
      <address>
        <postal>
          <street>Hansaallee 249, 3rd Floor</street>
          <street>DUESSELDORF, NORDRHEIN-WESTFALEN  40549</street>
          <street>Germany</street>
        </postal>
        <email>fbrockne@cisco.com</email>
      </address>
    </author>
    <author fullname="Bin Wen" initials="B." surname="Wen">
      <organization>Comcast</organization>
      <address>
        <email>Bin_Wen@cable.comcast.com</email>
      </address>
    </author>
    <author fullname="Bruno Decraene" initials="B." surname="Decraene">
      <organization>Orange</organization>
      <address>
        <email>bruno.decraene@orange.com</email>
      </address>
    </author>
   <author fullname="Haoyu Song" initials="H." surname="Song">
      <organization>Futurewei Technologies</organization>
      <address>
        <postal>
		<street> </street>
          <city></city>
          <country>USA</country>
        </postal>
        <email>haoyu.song@futurewei.com</email>
      </address>
    </author>
    <author fullname="Voitek Kozak" initials="V." surname="Kozak">
      <organization>Comcast</organization>
      <address>
        <email>Voitek_Kozak@comcast.com</email>
      </address>
    </author>
    <date day="03" month="October" year="2022"/>
    <workgroup>MPLS Working Group</workgroup>
    <abstract>
      <t>
   In-situ Operations, Administration, and Maintenance (IOAM) is used for recording and collecting 
   operational and telemetry information while the
   packet traverses a path between two points in the network.  This
   document defines how IOAM data fields are transported with 
   MPLS data plane encapsulation using MPLS Network Action (MNA).</t>
    </abstract>
  </front>
  <middle>
    <section anchor="sect-1" numbered="true" toc="default">
      <name>Introduction</name>
      <t>
   In-situ Operations, Administration, and Maintenance (IOAM) is used for recording and collecting 
   operational and telemetry information while the
   packet traverses a path between two points in the network. The term "in-situ"
   refers to the fact that the IOAM data fields are added to the data
   packets rather than being sent within the probe packets specifically
   dedicated to OAM. The IOAM data
   fields are defined in <xref target="RFC9197" format="default"/>.  The IOAM data fields are further
   updated in <xref target="I-D.ietf-ippm-ioam-direct-export" format="default"/> for direct export use-cases.</t>
      <t>
   This document defines how IOAM data fields are transported with 
   MPLS data plane encapsulations using MPLS Network Action (MNA) <xref target="I-D.ietf-mpls-mna-fwk" format="default"/>.</t>

      <t>
   Note: This document uses MNA encoding defined in Individual Internet Drafts as examples.
   The MNA encoding will be updated to align with the MNA solutions in the WG adopted Internet Drafts.</t>
    </section>

    <section anchor="sect-2" numbered="true" toc="default">
      <name>Conventions</name>
      <section anchor="sect-2.1" numbered="true" toc="default">
        <name>Requirement Language</name>
        <t>
   The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
   "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
   document are to be interpreted as described in <xref target="RFC2119" format="default"/> <xref target="RFC8174" format="default"/>
   when, and only when, they appear in all capitals, as shown here.</t>
      </section>
      <section anchor="sect-2.2" numbered="true" toc="default">
        <name>Abbreviations</name>

	<t>The MPLS Network Action (MNA) terminology defined in <xref target="I-D.ietf-mpls-mna-fwk" format="default"/> are used in this document.</t>

        <t>
   Abbreviations used in this document:</t>
        <dl newline="false" spacing="normal" indent="2">
          <dt>PNI  </dt>
          <dd>
            <t>
   Post-Stack Network Action Presence Indicator
            </t>
            <t/>
          </dd>
          <dt>ECMP </dt>
          <dd>
            <t>
    Equal Cost Multi-Path
            </t>
            <t/>
          </dd>
          <dt>E2E  </dt>
          <dd>
            <t>
    Edge-To-Edge
            </t>
            <t/>
          </dd>

          <dt>HBH  </dt>
          <dd>
            <t>
    Hop-By-Hop
            </t>
            <t/>
          </dd>
          <dt>HPI  </dt>
          <dd>
            <t>
    Hop-By-Hop Post-Stack Network Action Processing Indicator
            </t>
            <t/>
          </dd>
          <dt>IOAM </dt>
          <dd>
            <t>
    In-situ Operations, Administration, and Maintenance
            </t>
            <t/>
          </dd>
          <dt>MPLS </dt>
          <dd>
            <t>
    Multiprotocol Label Switching
            </t>
            <t/>
          </dd>


    <dt>MNA </dt>
          <dd>
            <t>
    MPLS Network Action
            </t>
            <t/>
          </dd>


          <dt>OAM  </dt>
          <dd>
            <t>
    Operations, Administration, and Maintenance
            </t>
            <t/>
          </dd>
          <dt>POT  </dt>
          <dd>
            <t>
    Proof-of-Transit
            </t>
            <t/>
          </dd>
        </dl>
      </section>
    </section>
    <section anchor="sect-3" numbered="true" toc="default">
      <name>MPLS Extensions for IOAM Data Fields</name>
      <section anchor="sect-3.1" numbered="true" toc="default">
        <name>IOAM Extension Header</name>
        <t>
   The IOAM extension headers containing different IOAM-Data-Fields are added in the MPLS packet as shown in Figure 1.
   The IOAM-Data-Fields MUST follow the definitions corresponding to the 
   IOAM-Option-Types (e.g., see Section 4.4 of <xref target="RFC9197" format="default"/>
   and Section 3 of <xref target="I-D.ietf-ippm-ioam-direct-export" format="default"/>).
   </t>

   <t>An IOAM extension header uses Extension Header (EH) defined in 
   <xref target="I-D.song-mpls-extension-header" format="default"/>. </t>
 
        <figure anchor="ure-ioam-extension-header-in-mpls-header">
          <name>Extension Headers with IOAM Data Fields</name>
          <artwork name="" type="" align="left" alt=""><![CDATA[
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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+<-+
|1ST-NIB| EH-CN | EH-TOTAL-LEN  |ORG-UL-PROTOCOL|NEXT-HDR = IOAM| CH
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+<-+
|NEXT-HDR = IOAM| IOAM-HDR-LEN  |R|IOAM-OPT-TYPE| BLOCK-NUMBER  | EH
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+<-+
|                                                               |  I
|                                                               |  O
~               IOAM Option and Data Space [RFC9197]            ~  A
|                     [draft-ietf-ippm-ioam-direct-export]      |  M
|                                                               |  |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+<-+
.                                                               .
.                                                               .
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+<-+
| NEXT-HDR      | IOAM-HDR-LEN  |R|IOAM-OPT-TYPE| BLOCK-NUMBER  | EH
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+<-+
|                                                               |  I
|                                                               |  O
~               IOAM Option and Data Space [RFC9197]            ~  A
|                     [draft-ietf-ippm-ioam-direct-export]      |  M
|                                                               |  |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+<-+
|                                                               |
|                                                               |
~               Optional Payload + Padding                      ~
|                                                               |
|                                                               |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
]]></artwork>
        </figure>
        <t>The 4-Octet Common Header CH) is added with the following fields in the
   MPLS header as defined in <xref target="I-D.song-mpls-extension-header" format="default"/>:</t>

    <dl newline="false" spacing="normal" indent="2">
          <dt>1ST-NIBBLE (R):</dt>
          <dd>
       The first 4-bit is Reserved (value TBA4).
    </dd>
          <dt>EH-CN (EHC):</dt>
          <dd>
       The EH Count, number of EHs carried in the packet.
    </dd>
          <dt>EH-TOTAL-LEN (EHTL):</dt>
          <dd>
       Total Length of EHs in the packet in 4-octet units.
    </dd>
          <dt>ORIG-UL-PROTOCOL (OUL):</dt>
          <dd>
       The Original Upper Layer Protocol.
    </dd>
          <dt>NEXT-HDR (NH):</dt>
          <dd>
       The Next Header protocol. For IOAM as Next Header, value TBA2 is to be assigned by IANA.
    </dd>
        </dl>

        <t>IOAM-Data-Fields are added in EHs containing the following fields:</t>
        <dl newline="false" spacing="normal" indent="2">

          <dt>IOAM-OPT-TYPE:</dt>
          <dd>
       8-bit field defining the IOAM Option type, as defined in
       the "IOAM Option-Type Registry" specified in <xref target="RFC9197" format="default"/> 
       and <xref target="I-D.ietf-ippm-ioam-direct-export" format="default"/>).
    </dd>
          <dt>IOAM-HDR-LEN:</dt>
          <dd>
       8-bit unsigned integer. Length of the IOAM Header in 4-octet units.
    </dd>
          <dt>IOAM Option and Data Space:</dt>
          <dd>
       IOAM-Data-Fields as specified by the
       IOAM-OPT-Type field.  IOAM-Data-Fields are defined corresponding to
       the IOAM-Option-Type (e.g., see Section 4.4 of
         <xref target="RFC9197" format="default"/> and Section 3 of
         <xref target="I-D.ietf-ippm-ioam-direct-export" format="default"/>.
    </dd>
          <dt>BLOCK-NUMBER:</dt>
          <dd>
       The Block Number can be used to aggregate the IOAM data collected
       in data plane, e.g., to compute measurement metrics for each block of
       a data flow.  It is also used to correlate the IOAM data on different nodes.
    </dd>
        </dl>

      </section>
      <section anchor="sect-3.2" numbered="true" toc="default">
        <name>Post-Stack Network Action Presence Indicators</name>
        <t>
    A Post-Stack Network Action Presence Indicator MUST be added to indicate the presence of the
    IOAM-Data-Fields in the MPLS header.
    If both edge and intermediate nodes need to process IOAM data 
    then both the Post-Stack Network Action Presence Indicator and the HBH Network Action Processing Indicator MUST be added. 
    The HBH Network Action Processing Indicator allows to optimize the IOAM processing on the intermediate nodes 
    and avoids the need to parse all IOAM-Data-Fields.</t>

    <t>A flag called PNI (Post-Stack Network Action Presence Indicator) in the TTL field defined in 
    <xref target="I-D.jags-mpls-mna-hdr" format="default"/> is used in this document to indicate 
   the presence of IOAM Post-Stack Network Action and Ancillary Data.</t>

    <t>A flag called HPI (Hop-By-Hop Post-Stack Network Action Processing Indicator) in the TTL 
    field defined in <xref target="I-D.jags-mpls-mna-hdr" format="default"/> is used to indicate 
    that HBH processing is required for the Post-Stack Network Action and the associated Ancillary Data.</t> 

    <t>The MNA Label used in this document is a Base Special Purpose Label (bSPL value TBA1 to be assigned by IANA), 
    and is defined as Network Action Sub-Stack Indicator (NASI) in <xref target="I-D.jags-mpls-mna-hdr" format="default"/>.</t>

      </section>
    </section>
    <section anchor="sect-4" numbered="true" toc="default">
      <name>Edge-to-Edge IOAM Network Action</name>
      <section anchor="sect-4.1" numbered="true" toc="default">
        <name>Post-Stack Network Action Presence Indicator</name>
        <t>
    The Post-Stack Network Action Presence Indicator is set to "1" to indicate the presence of the
    IOAM-Data-Fields in the MPLS header as shown in Figure 2.
        </t>
        <figure anchor="ure-ioam-encapsulation-in-mpls-header-e2e">
          <name>Example MPLS Encapsulation for E2E IOAM</name>
          <artwork name="" type="" align="left" alt=""><![CDATA[
 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                                | TC  |S|  TTL          |
 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
 .                                                               .
 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
 |  MNA Label (bSPL value TBA1)          | TC  |S|  TTL          |
 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
 |                                       | TC  |S| PNI=1, HPI=0  |
 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
 .                                                               .
 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
 |                Packet as shown in Figure 1                    |
 .                                                               .
 +---------------------------------------------------------------+
]]></artwork>
        </figure>
        <t>The E2E IOAM-Data-Fields carry the Option-Type(s) that
    require processing on the encapsulating and decapsulating nodes only.
    The IOAM Option-Type carried can be IOAM Edge-to-Edge
    Option-Type (value 3) <xref target="RFC9197" format="default"/>
    as well as Direct Export (DEX) Option-Type (value 4, to be assigned by IANA) defined 
    in <xref target="I-D.ietf-ippm-ioam-direct-export" format="default"/>.
    The E2E IOAM-Data-Fields SHOULD NOT carry any IOAM Option-Type that
    require IOAM processing on the intermediate nodes as it will
    not be processed by them since HPI flag is not set.</t>
      </section>
      <section anchor="sect-4.2" numbered="true" toc="default">
        <name>Procedure for Edge-to-Edge IOAM Network Action</name>
        <t>
    The E2E IOM Network Action procedure is summarized as following:</t>
        <ul spacing="normal">
          <li>
    The encapsulating node inserts the MNA Label (bSPL value TBA1) with the Post-Stack Network Action Presence Indicator (TTL Flag PNI)
    set to "1" below the label whose FEC is the decapsulating node and one or more IOAM-Data-Fields in the MPLS packet.</li>
          <li>The intermediate nodes do not process IOAM-Data-Fields.</li>
	  <li>The penultimate node MUST NOT remove the MNA Sub-stack from the MPLS header so that the MNA Sub-stack is received at the decapsulating node. 
	  This encapsulating node adds required MPLS header so that the received packet on the penultimate node does not have MNA Sub-stack at the top of the Label stack.</li>
          <li>The decapsulating node MAY punt a copy of the packet with the receive timestamp  
    to the slow path for IOAM-Data-Fields processing when the node recognizes the PNI is set to "1".  
    The receive timestamp is required by the various 
    E2E OAM use-cases, including streaming telemetry. 
    Note that the packet is not necessarily punted to the control-plane.</li>
          <li>The decapsulating node processes the IOAM-Data-Fields using the
    procedures defined in <xref target="RFC9197" format="default"/>.  An example of IOAM
    processing is to export the IOAM-Data-Fields, send IOAM-Data-Fields via streaming
    telemetry, etc.</li>
          <li>The decapsulating node MUST remove the IOAM-Data-Fields
    from the received packet. The decapsulated packet is forwarded 
    downstream or terminated locally similar to the regular IOAM-Data-Fields.</li>
        </ul>
      </section>
    </section>
    <section anchor="sect-5" numbered="true" toc="default">
      <name>Hop-By-Hop IOAM Network Action</name>
      <section anchor="sect-5.1" numbered="true" toc="default">
        <name>Hop-By-Hop Post-Stack Network Action Processing Indicator</name>
        <t>
	The Post-Stack Network Action Presence Indicator (TTL Flag PNI) along with Hop-By-Hop 
	Processing Indicator (TTL Flag HPI) are set to "1" to indicate the presence of the HBH IOAM-Data-Fields in the MPLS header as shown in Figure 3.</t>
        <figure anchor="ure-ioam-encapsulation-in-mpls-header-1">
          <name>Example MPLS Encapsulation for HBH IOAM</name>
          <artwork name="" type="" align="left" alt=""><![CDATA[
 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                                | TC  |S|  TTL          |
 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
 .                                                               .
 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
 |  MNA Label (bSPL value TBA1)          | TC  |S|  TTL          |
 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
 |                                       | TC  |S| PNI=1, HPI=1  |
 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
 .                                                               .
 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
 |                Packet as shown in Figure 1                    |
 .                                                               .
 +---------------------------------------------------------------+
]]></artwork>
        </figure>
        <t>The HBH IOAM-Data-Fields carry the Option-Type(s) that require
    processing at the intermediate and/or encapsulating and decapsulating nodes.
    The IOAM Option-Type carried can be IOAM
    Pre-allocated Trace Option-Type (value 0), IOAM Incremental Trace Option-Type (value 1) 
    and IOAM Proof of Transit (POT) Option-Type (value 2), and Edge-to-Edge
    Option-Type (value 3) defined in <xref target="RFC9197" format="default"/> as well as 
    Direct Export (DEX) Option-Type (value 4, to be assigned by IANA) defined 
    in <xref target="I-D.ietf-ippm-ioam-direct-export" format="default"/>.</t> 
      </section>

      <section anchor="sect-5.2" numbered="true" toc="default">
        <name>Procedure for Hop-By-Hop IOAM Network Action</name>
        <t>
    The Hop-By-Hop IOAM Network Action procedure is summarized as following:</t>
        <ul spacing="normal">
          <li>
    The encapsulating node inserts the MNA Label (bSPL value TBA1) with the Post-Stack Network Action 
    Presence Indicator (TTL Flag PNI) and HBH Processing Indicator (TTL Flag HPI) set to "1"  
    below the label whose FEC is the decapsulating node and one or more IOAM-Data-Fields in the MPLS packet.</li>
          <li>The intermediate node enabled with HBH IOAM function
    processes the data packet including the IOAM-Data-Fields as defined in 
    <xref target="RFC9197" format="default"/>  and <xref target="I-D.ietf-ippm-ioam-direct-export" format="default"/>
    when the node recognizes the HBH Processing  
    Indicator in the MPLS header.</li>
          <li>The intermediate node MAY punt a copy of the packet with the receive timestamp  
    to the slow path for IOAM-Data-Fields processing when the node recognizes the HBH Processing Indicator.  
    The receive timestamp is required by the various 
    HBH OAM use-cases, including streaming telemetry. 
    Note that the packet is not necessarily punted to the control-plane.</li>
          <li>The intermediate node forwards a copy of the processed data packet downstream.</li>
	  <li>The behavior on the penultimate node is same as E2E case.</li>
          <li>The processing on the decapsulating node is same as E2E case.</li>
        </ul>
      </section>

      <section anchor="sect-5.3" numbered="true" toc="default">
        <name>Hop-By-Hop and Edge-To-Edge IOAM Extension Headers</name>
	<t>Both HBH and E2E IOAM EHs may be added in an MPLS header.
	In this case the HBH IOAM EHs MUST be added after the BOS and before the E2E IOAM EHs.
	When an intermediate node encounters the first E2E IOAM EH, it will stop processing of the E2E EH.</t>
    </section>

    </section>

    <section anchor="sect-7" numbered="true" toc="default">
      <name>Considerations for IOAM</name>
      <section anchor="sect-7.1" numbered="true" toc="default">
        <name>Considerations for ECMP</name>
        <t>
    The encapsulating node needs to make sure the IOAM-Data-Fields do
    not start with a well-known IP Version Number (e.g. 0x4 for IPv4 and
    0x6 for IPv6) as that can alter the hashing function for ECMP that uses
    the IP header.  This is achieved by using the Common Header (CH)  
    with a different IP Version Number (value TBA4) after the MPLS label stack.</t>
      </section>
      <section anchor="sect-7.2" numbered="true" toc="default">
        <name>Node Capability</name>
        <t>
    The decapsulating node that has to remove the IOAM-Data-Fields
    and perform the IOAM function may not be capable of
    supporting it.  The encapsulating node needs to know if the
    decapsulating node can support the IOAM function.  The signaling
    extension for this capability exchange is outside the scope of this
    document.</t>
        <t>The intermediate node that is not capable of supporting the IOAM functions
    defined in this document, can simply skip the IOAM processing.</t>
	<t>The node that does not recognize the MNA Label received at the top of the label stack will drop the packet.</t>
      </section>
      <section anchor="sect-7.3" numbered="true" toc="default">
        <name>Nested MPLS Encapsulation</name>
    <t>
   When a packet is received with MPLS Encapsulated IOAM Network Action, the nested MPLS
   encapsulating node that supports a different IOAM Network Action, the node MUST add
   a new MNA Label (with Sub-Stack) with the supported IOAM Network Action as part of the new MPLS encapsulation.
   </t>

       </section>
    </section>
    <section anchor="sect-8" numbered="true" toc="default">
      <name>Security Considerations</name>
      <t>
    The security considerations of IOAM in general are discussed in
    <xref target="RFC9197" format="default"/> and apply to the 
    procedure defined in this document.</t>
      <t>IOAM is considered a "per domain" feature, where one or several operators 
    decide on configuring IOAM according to their needs.  
    IOAM is intended for deployment in limited
    domains <xref target="RFC8799" format="default"/>.  As such, it assumes that a node involved in IOAM 
    operation has previously verified the integrity of the path.
    Still, operators need to properly secure the IOAM
    domain to avoid malicious configuration and use, which could include
    injecting malicious IOAM packets into the domain.</t>
    </section>
    <section anchor="sect-9" numbered="true" toc="default">
      <name>IANA Considerations</name>
      <t>
   The encoding of Next-Header uses the same value registry for IPv4/
   IPv6 protocol numbers.  The value TBA2 for IOAM as Next Header
   shall be assigned by IANA from the "Protocol Numbers" registry 
   (https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml).
    </t>

    </section>
  </middle>
  <back>
    <references>
      <name>References</name>
      <references>
        <name>Normative References</name>
        <reference anchor="RFC2119" target="https://www.rfc-editor.org/info/rfc2119" xml:base="https://xml2rfc.tools.ietf.org/public/rfc/bibxml/reference.RFC.2119.xml">
          <front>
            <title>Key words for use in RFCs to Indicate Requirement Levels</title>
            <author initials="S." surname="Bradner" fullname="S. Bradner">
              <organization/>
            </author>
            <date year="1997" month="March"/>
           </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" xml:base="https://xml2rfc.tools.ietf.org/public/rfc/bibxml/reference.RFC.8174.xml">
          <front>
            <title>Ambiguity of Uppercase vs Lowercase in RFC 2119 Key Words</title>
            <author initials="B." surname="Leiba" fullname="B. Leiba">
              <organization/>
            </author>
            <date year="2017" month="May"/>
            <abstract>
              <t>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="I-D.ietf-ippm-ioam-direct-export" xml:base="https://xml2rfc.tools.ietf.org/public/rfc/bibxml3/reference.I-D.ietf-ippm-ioam-direct-export.xml" target="https://www.ietf.org/archive/id/draft-ietf-ippm-ioam-direct-export-11.txt">
          <front>
            <title>In-situ OAM Direct Exporting</title>
            <author fullname="Haoyu Song">
              <organization>Futurewei</organization>
            </author>
            <author fullname="Barak Gafni">
              <organization>Nvidia</organization>
            </author>
            <author fullname="Frank Brockners">
              <organization>Cisco</organization>
            </author>
            <author fullname="Shwetha Bhandari">
              <organization>Thoughtspot</organization>
            </author>
            <author fullname="Tal Mizrahi">
              <organization>Huawei</organization>
            </author>
            <date month="September" day="23" year="2022"/>
          </front>
          <seriesInfo name="Internet-Draft" value="draft-ietf-ippm-ioam-direct-export-11"/>
        </reference>

        <reference anchor="RFC9197" target="https://www.rfc-editor.org/info/rfc9197" xml:base="https://xml2rfc.tools.ietf.org/public/rfc/bibxml/reference.RFC.9197.xml">
          <front>
            <title>Data Fields for In Situ Operations, Administration, and Maintenance</title>
            <author fullname="Frank Brockners">
              <organization>Cisco Systems, Inc.</organization>
            </author>
            <author fullname="Shwetha Bhandari">
              <organization>Thoughtspot</organization>
            </author>
            <author fullname="Tal Mizrahi">
              <organization>Huawei</organization>
            </author>
            <date month="May" year="2022"/>
          </front>
          <seriesInfo name="RFC" value="9197"/>
        </reference>

	<reference anchor="I-D.jags-mpls-mna-hdr" xml:base="https://xml2rfc.tools.ietf.org/public/rfc/bibxml3/reference.I-D.jags-mpls-mna-hdr.xml" target="https://www.ietf.org/archive/id/draft-jags-mpls-mna-hdr-01.txt">
          <front>
            <title>MPLS Network Action Header Encodings</title>
            <author fullname="Jaganbabu Rajamanickam">
              <organization>Cisco Systems, Inc.</organization>
            </author>
            <author fullname="Rakesh Gandhi">
              <organization>Cisco Systems, Inc.</organization>
            </author>
            <author fullname="Jisu Bhattacharya">
              <organization>Cisco Systems, Inc.</organization>
            </author>
            <author fullname="Bruno Decraene">
              <organization>Orange</organization>
            </author>
            <author fullname="Royi Zigler">
              <organization>Broadcom</organization>
            </author>
            <author fullname="Weiqiang Cheng">
              <organization>China Mobile</organization>
            </author>
            <author fullname="Luay Jalil">
              <organization>Verizon</organization>
            </author>
            <author fullname="Haoyu Song">
              <organization>Futurewei Technologies</organization>
            </author>
            <date month="July" day="25" year="2022"/>
          </front>
          <seriesInfo name="Internet-Draft" value="draft-jags-mpls-mna-hdr-01"/>
        </reference>

        <reference anchor="I-D.song-mpls-extension-header" xml:base="https://xml2rfc.tools.ietf.org/public/rfc/bibxml3/reference.I-D.song-mpls-extension-header.xml" target="https://www.ietf.org/archive/id/draft-song-mpls-extension-header-10.txt">
          <front>
            <title>MPLS Extension Header</title>
            <author fullname="Haoyu Song">
              <organization>Futurewei Technologies</organization>
            </author>
            <author fullname="Zhenbin Li">
              <organization>Huawei</organization>
            </author>
            <author fullname="Tianran Zhou">
              <organization>Huawei</organization>
            </author>
            <author fullname="Loa Andersson">
              <organization>Bronze Dragon Consulting</organization>
            </author>
            <author fullname="Zhaohui Zhang">
              <organization>Juniper Networks</organization>
            </author>
            <author fullname="Rakesh Gandhi">
              <organization>Cisco Systems</organization>
            </author>
            <author fullname="Jaganbabu Rajamanickam">
              <organization>Cisco Systems</organization>
            </author>
            <author fullname="Jisu Bhattacharya">
              <organization>Cisco Systems</organization>
            </author>
            <date month="September" day="10" year="2022"/>
          </front>
          <seriesInfo name="Internet-Draft" value="draft-song-mpls-extension-header-10"/>
        </reference>

      </references>

      <references>
        <name>Informative References</name>

       <reference anchor="I-D.ietf-mpls-mna-fwk" xml:base="https://xml2rfc.tools.ietf.org/public/rfc/bibxml3/reference.I-D.draft-ietf-mpls-mna-fwk.xml" target="https://www.ietf.org/archive/id/draft-ietf-mpls-mna-fwk-01.txt">
          <front>
            <title>MPLS Network Actions Framework</title>
            <author fullname="Loa Andersson">
            </author>
            <author fullname="Stewart Bryant">
            </author>
            <author fullname="Matthew Bocci">
            </author>
            <author fullname="Tony Li">
            </author>
            <date month="September" day="08" year="2022"/>
          </front>
          <seriesInfo name="Internet-Draft" value="draft-ietf-mpls-mna-fwk-01.txt"/>
        </reference>
 
        <reference anchor="RFC8799" target="https://www.rfc-editor.org/info/rfc8799" xml:base="https://xml2rfc.tools.ietf.org/public/rfc/bibxml/reference.RFC.8799.xml">
          <front>
            <title>Limited Domains and Internet Protocols</title>
            <author initials="B." surname="Carpenter" fullname="B. Carpenter">
              <organization/>
            </author>
            <author initials="B." surname="Liu" fullname="B. Liu">
              <organization/>
            </author>
            <date year="2020" month="July"/>
          </front>
          <seriesInfo name="RFC" value="8799"/>
          <seriesInfo name="DOI" value="10.17487/RFC8799"/>
      </reference>
      </references>

    </references>
    <section numbered="false" toc="default">
      <name>Acknowledgements</name>
      <t>
    The authors would like to thank Patrick Khordoc, Sagar Soni, Shwetha Bhandari, Clarence Filsfils, and Vengada Prasad
    Govindan for the discussions on IOAM.  The authors would also like to
    thank Tarek Saad, Loa Andersson, Greg Mirsky, Stewart Bryant, Xiao Min, and Cheng Li for providing many
    useful comments. The authors would also like to thank Mach Chen, 
    Andrew Malis, Matthew Bocci, and Nick Delregno for the MPLS-RT reviews.</t>
    </section>
  </back>
</rfc>
