<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE rfc [
<!ENTITY nbsp "&#160;">
<!ENTITY zwsp "&#8203;">
<!ENTITY nbhy "&#8209;">
<!ENTITY wj "&#8288;">
]>
<?xml-stylesheet type='text/xsl' href='rfc2629.xslt' ?>
<?rfc toc="yes"?>
<?rfc symrefs="yes"?>
<?rfc sortrefs="yes"?>
<?rfc iprnotified="no"?>
<?rfc strict="yes"?>
<?rfc compact="yes"?>
<?rfc subcompact="no"?>
<rfc xmlns:xi="http://www.w3.org/2001/XInclude" category="std" docName="draft-song-opsawg-ipfix-ecn-01" ipr="trust200902" submissionType="IETF" obsoletes="" updates="" xml:lang="en" tocInclude="true" symRefs="true" sortRefs="true" version="3">
  <!-- xml2rfc v2v3 conversion 3.22.0 -->
  <front>
    <title abbrev="ECN Export in IPFIX">Export of L4S ECN in IP Flow Information Export (IPFIX)</title>
    <seriesInfo name="Internet-Draft" value="draft-song-opsawg-ipfix-ecn-01"/>
    <author fullname="Xueyan Song" initials="X." surname="Song">
      <organization>ZTE Corp.</organization>
      <address>
        <email>song.xueyan2@zte.com.cn</email>
      </address>
    </author>
    <author fullname="Yao Liu" initials="Y." surname="Liu">
      <organization>ZTE Corp.</organization>
      <address>
        <email>liu.yao71@zte.com.cn</email>
      </address>
    </author>
    <date/>
    <workgroup>OPSAWG</workgroup>
    <keyword>IPFIX</keyword>
	<keyword>L4S</keyword>
    <keyword>ECN</keyword>
    <!-- Keywords will be incorporated into HTML output
        files in a meta tag but they have no effect on text or nroff
        output. If you submit your draft to the RFC Editor, the
        keywords will be used for the search engine. -->

  <abstract>
      <t>
	  This document defines a set of IP Flow Information Export (IPFIX) Information Elements for monitoring the Low Latency, 
	  Low Loss, and Scalable throughput (L4S) service. Specially, these elements enable network operators to monitor the 
	  Explicit Congestion Notification (ECN) information of L4S deployment and performance of traffic. 
      </t>
    </abstract>
	
  </front>
      <!-- end of abstract -->	
	  
  <middle>
    <section anchor="sec_intro" numbered="true" toc="default">
      <name>Introduction</name>
	 <t>
     The Low Latency, Low Loss, and Scalable throughput (L4S) service, defined in <xref target="RFC9331"/>, introduces a new network service 
	 that enables low latency and high throughput for traffic using Scalable congestion controls. To deploy and operate L4S 
	 effectively, network operators need visibility into L4S traffic patterns, performance metrics, and interoperability with 
	 existing traffic.	 
	 </t>
	 <t>
	 IP Flow Information Export (IPFIX) <xref target="RFC7011"/> provides a standard protocol for exporting flow information from network devices. 
	 This document defines a set of IPFIX Information Elements specifically designed for monitoring L4S ECN traffic.
	 </t>
     <t>
	 These Information Elements are particularly useful during the experimental phase of L4S deployment as specified in <xref target="RFC9331"/>, 
	 allowing operators to gather data to examine performance and identify nodes where remediation may be necessary to provide the best performance.
     </t>
	</section>
    <!-- end of introduction -->
	

<section numbered="true" toc="default">
      <name>Terminology</name>
      <section numbered="true" toc="default">
        <name>Terms Used in This Document</name>
        <t>
     This document makes use of the terms defined in <xref target="RFC9331"/>, <xref target="RFC9330"/> and <xref target="RFC7011"/>. 
        </t>
          <t>IPFIX: IP Flow Information Export</t>
          <t>IPFIX Information Elements</t>
          <t>Observation Point</t>	
          <t>L4S: Low Latency, Low Loss, and Scalable throughput (L4S) service</t>	  
          <t>ECN: Explicit Congestion Notification</t>		  
		  <t>ECT: ECN-capable Transport</t>	
		  <t>Not-ECT: Not ECN-capable transport</t>
		  <t>CE: Congestion Experienced</t>	
	  
      </section>
	  
      <section numbered="true" toc="default">
        <name>Requirements Language</name>
        <t>
    The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
    "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and
    "OPTIONAL" in this document are to be interpreted as described in
    BCP 14 <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>
    <!-- end of terminology -->

<!-- ===================================================================== -->

<section anchor="ECN-Overview" numbered="true" toc="default">
      <name>Overview of ECN Format</name>
	    <section numbered="true" toc="default">
            <name>IPv4 ECN Field</name>
      <t>
     For IPv4 packets, the ECN field is located in the Type of Service (TOS) byte of the IP header, specifically 
	 in bits 6 to 7. The definition for the IPv4 TOS octet (see <xref target="RFC791" format="default"/>) has been superseded by the six-bit DS (Differentiated
   Services) Field (see <xref target="RFC2474" format="default"/>, <xref target="RFC2780" format="default"/>). Bits 6 and 7 are listed in <xref target="RFC2474" format="default"/>
   as Currently Unused, and are specified in <xref target="RFC2780" format="default"/> as approved for experimental use for ECN. The ECN field in IPv4 header is showed as follows.
      </t>

    <figure anchor="IPv4-ECN-Field">
        <name>ECN Fields in IPv4</name>
        <artwork name="" type="" align="left" alt="">
    <![CDATA[
         0     1     2     3     4     5     6     7
      +-----+-----+-----+-----+-----+-----+-----+-----+
      |          DS Field, DSCP           | ECN Field |
      +-----+-----+-----+-----+-----+-----+-----+-----+	  

       ]]></artwork>
       </figure>
        <t>
        ECN Codepoint values: 
        </t>
          <t>00: Not ECT</t>
          <t>01: ECT(0)</t>
          <t>10: ECT(1)</t>
          <t>11: CE </t>			
	   </section>  

	    <section numbered="true" toc="default">
            <name>IPv6 ECN Field</name>
      <t>
     For IPv6 packets, the ECN field is located in bits 6 to 7 of IPv6 Traffic Class. The definition for the IPv6 Traffic Class octet (see <xref target="RFC791" format="default"/>) has been superseded by 
	 the six-bit DS (Differentiated Services) Field (see <xref target="RFC2474" format="default"/>, <xref target="RFC2780" format="default"/>).  Bits 6 and 7 are listed in
   <xref target="RFC2474" format="default"/> as Currently Unused, and are specified in <xref target="RFC2780" format="default"/> as
   approved for experimental use for ECN. The ECN field in IPv6 header is showed as follows.
      </t>

    <figure anchor="IPv6-ECN-Field">
        <name>ECN Fields in IPv6</name>
        <artwork name="" type="" align="left" alt="">
    <![CDATA[
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |Version| Traffic Class |           Flow Label                  |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

       ]]></artwork>
       </figure>
	   </section>  
    </section>
    <!-- end of overview -->

<!-- ===================================================================== -->

	   
<section anchor="ECN-IPFIX-IEs" numbered="true" toc="default">
      <name>IPFIX Information Elements for L4S ECN Monitoring</name>
	  <t>
     This section defines the Information Elements for L4S ECN. These elements are intended 
	 for experimental use in L4S monitoring.
      </t>	  
	    <section numbered="true" toc="default">
            <name>ipv4HeaderEcn</name>
          <dl newline="false" indent="3" spacing="normal" >
          <dt>Name:</dt>
          <dd>
            <t>ipv4HeaderEcn</t>
          </dd>
          <dt>ElementID:</dt>
          <dd >
            <t>TBD1</t>
          </dd>
          <dt>Description:</dt>
          <dd>
            <t indent="0"> This element is used for capturing the complete ECN state of each packet, enabling detailed analysis of congestion 
		  notification. The ECN field for IPv4 header is introduced in section 3.1 of this draft. L4S traffic is identified by the ECT(1) as specified in <xref target="RFC9331" format="default"/>.
		  </t>
			<t indent="0"> The Information Element encodes only these 2 bits. Therefore, its value may range from 0 to 3.</t> 
          </dd>
          <dt>Abstract Data Type:</dt>
          <dd>
            <t indent="0" >unsigned8</t>
          </dd>
          <dt>Data Type Semantics:</dt>
          <dd >
            <t indent="0">identifier</t>
          </dd>
		  <dt>Additional Information:</dt>
          <dd>
            <t indent="0"> See <xref target="RFC2474" format="default"/> and <xref target="RFC2780" format="default"/> for IPv4 ECN field defintion.</t>
          </dd>
          <dt>Reference:</dt>
          <dd>
            <t indent="0" ><xref target="RFC3168" format="default"/>, <xref target="RFC9331" format="default"/>, this document.</t>
          </dd>
        </dl>			
      </section>			
			
			
	    <section numbered="true" toc="default">
            <name>ipv6HeaderEcn</name>
          <dl newline="false" indent="3" spacing="normal" >
          <dt>Name:</dt>
          <dd>
            <t>ipv6HeaderEcn</t>
          </dd>
          <dt>ElementID:</dt>
          <dd >
            <t>TBD2</t>
          </dd>
          <dt>Description:</dt>
          <dd>
            <t indent="0"> This element is used for capturing the complete ECN state of each packet, enabling detailed analysis of congestion notification.
		  The ECN field format is introduced in section 3.2 of this draft. L4S traffic is identified by the ECT(1) codepoint as specified in <xref target="RFC9331" format="default"/>.</t>
			<t indent="0"> The Information Element encodes only these 2 bits. Therefore, its value may range from 0 to 3.</t> 
          </dd>
          <dt>Abstract Data Type:</dt>
          <dd>
            <t indent="0" >unsigned8</t>
          </dd>
          <dt>Data Type Semantics:</dt>
          <dd >
            <t indent="0">identifier</t>
          </dd>
		  <dt>Additional Information:</dt>
          <dd>
            <t indent="0"> See <xref target="RFC2474" format="default"/> and <xref target="RFC2780" format="default"/> for IPv6 ECN field defintion.</t>
          </dd>
          <dt>Reference:</dt>
          <dd>
            <t indent="0" ><xref target="RFC3168" format="default"/>, <xref target="RFC9331" format="default"/>, this document.</t>
          </dd>
        </dl>			
      </section>	
	  
	
	    <section numbered="true" toc="default">
            <name>mplsHeaderEcn</name>
          <dl newline="false" indent="3" spacing="normal" >
          <dt>Name:</dt>
          <dd>
            <t>mplsHeaderEcn</t>
          </dd>
          <dt>ElementID:</dt>
          <dd >
            <t>TBD3</t>
          </dd>
          <dt>Description:</dt>
          <dd>
            <t indent="0"> The EXP field of the MPLS label header is used for carring ECN information in the MPLS domain. As recommended in 
			<xref target="RFC5129" format="default"/>, explicit congestion notification in MPLS should use codepoints in the EXP field.</t>
			<t indent="0"> The Information Element encodes only these 3 bits. Therefore, its value may range from 0 to 7.</t> 	
			<t indent="0"> It is noted that the information extraction of this information element is only used when the MPLS domain has ECN support.</t> 		
          </dd>
          <dt>Abstract Data Type:</dt>
          <dd>
            <t indent="0" >unsigned8</t>
          </dd>
          <dt>Data Type Semantics:</dt>
          <dd >
            <t indent="0">identifier</t>
          </dd>
		  <dt>Additional Information:</dt>
          <dd>
            <t indent="0">see <xref target="RFC5129" format="default"/> for detailed information for MPLS ECN tunnel negotiation.</t>
          </dd>
          <dt>Reference:</dt>
          <dd>
            <t indent="0" ><xref target="RFC5129" format="default"/>, this document.</t>
          </dd>
        </dl>			
      </section>	
	
	
	    <section numbered="true" toc="default">
            <name>ipsecSaEcnMode</name>
          <dl newline="false" indent="3" spacing="normal" >
          <dt>Name:</dt>
          <dd>
            <t>ipsecSaEcnMode</t>
          </dd>
          <dt>ElementID:</dt>
          <dd >
            <t>TBD4</t>
          </dd>
          <dt>Description:</dt>
          <dd>
            <t indent="0"> The information element indicates whether ECN functionality is allowed for an IPsec Security Association (SA) in tunnel encapsulation mode. 
		  The IPsec SA Attribute value 10 is defined for ECN tunnel negotiation as defined in section 9.2.1 of <xref target="RFC3168" format="default"/>. 
		  The negotiation value includes allowed (value set 1) and forbidden (value set 2) attribute. The allowed value enables ECN congestion notifications 
		  and the forbidden value disables such notifications.</t>		
          </dd>
          <dt>Abstract Data Type:</dt>
          <dd>
            <t indent="0" >unsigned8</t>
          </dd>
          <dt>Data Type Semantics:</dt>
          <dd >
            <t indent="0">identifier</t>
          </dd>
		  <dt>Additional Information:</dt>
          <dd>
            <t indent="0"> See <xref target="RFC3168" format="default"/> for detailed information for IPsec tunnel ECN negotiation.</t>
          </dd>
          <dt>Reference:</dt>
          <dd>
            <t indent="0" ><xref target="RFC5129" format="default"/>, this document.</t>
          </dd>
        </dl>			
      </section>		
	   

	    <section numbered="true" toc="default">
            <name>l2tpEcnNego</name>
          <dl newline="false" indent="3" spacing="normal" >
          <dt>Name:</dt>
          <dd>
            <t>l2tpEcnNego</t>
          </dd>
          <dt>ElementID:</dt>
          <dd >
            <t>TBD5</t>
          </dd>
          <dt>Description:</dt>
          <dd>
            <t indent="0"> For L2TP tunnels, ECN processing is performed at the L2TP encapsulation layer. <xref target="RFC9601" format="default"/> defines an ECN 
		  Capability AVP (Type 103) for negotiation between L2TP Control Connection Endpoints. The presence of this AVP indicates support for 
		  ECN propagation.</t>		
          </dd>
          <dt>Abstract Data Type:</dt>
          <dd>
            <t indent="0" >unsigned16</t>
          </dd>
          <dt>Data Type Semantics:</dt>
          <dd >
            <t indent="0">identifier</t>
          </dd>
		  <dt>Additional Information:</dt>
          <dd>
            <t indent="0"> See <xref target="RFC9601" format="default"/> for detailed information for L2TP tunnel ECN negotiation.</t>
          </dd>
          <dt>Reference:</dt>
          <dd>
            <t indent="0" ><xref target="RFC5129" format="default"/>, this document.</t>
          </dd>
        </dl>			
      </section>	
	  
	  
	    <section numbered="true" toc="default">
            <name>notEctPacketDeltaCount</name>
          <dl newline="false" indent="3" spacing="normal" >
          <dt>Name:</dt>
          <dd>
            <t>notEctPacketDeltaCount</t>
          </dd>
          <dt>ElementID:</dt>
          <dd >
            <t>TBD6</t>
          </dd>
          <dt>Description:</dt>
          <dd>
            <t indent="0"> The number of packets since the previous report (if any) in this Flow with ECN codepoint set to Not-ECT (binary 00).</t>		
          </dd>
          <dt>Abstract Data Type:</dt>
          <dd>
            <t indent="0" >unsigned64</t>
          </dd>
          <dt>Data Type Semantics:</dt>
          <dd >
            <t indent="0">deltaCounter</t>
          </dd>
		  <dt>Additional Information:</dt>
          <dd>
            <t indent="0"> Refer to <xref target="RFC9331" format="default"/>.</t>
          </dd>
          <dt>Reference:</dt>
          <dd>
            <t indent="0" ><xref target="RFC3168" format="default"/>, <xref target="RFC9331" format="default"/>, this document.</t>
          </dd>
        </dl>			
      </section>	

	  
	    <section numbered="true" toc="default">
            <name>notEctPacketTotalCount</name>
          <dl newline="false" indent="3" spacing="normal" >
          <dt>Name:</dt>
          <dd>
            <t>notEctPacketTotalCount</t>
          </dd>
          <dt>ElementID:</dt>
          <dd >
            <t>TBD7</t>
          </dd>
          <dt>Description:</dt>
          <dd>
            <t indent="0"> The total number of packets of this Flow with ECN codepoint set to Not-ECT at the Observation Point since the Metering Process 
		  (re-)initialization for this Observation Point.</t>		
          </dd>
          <dt>Abstract Data Type:</dt>
          <dd>
            <t indent="0" >unsigned64</t>
          </dd>
          <dt>Data Type Semantics:</dt>
          <dd >
            <t indent="0">totalCounter</t>
          </dd>
		  <dt>Additional Information:</dt>
          <dd>
            <t indent="0"> Refer to <xref target="RFC9331" format="default"/>.</t>
          </dd>
          <dt>Reference:</dt>
          <dd>
            <t indent="0" > <xref target="RFC3168" format="default"/>, <xref target="RFC9331" format="default"/>, this document.</t>
          </dd>
        </dl>			
      </section>	   

	    <section numbered="true" toc="default">
            <name>ect0PacketDeltaCount</name>
          <dl newline="false" indent="3" spacing="normal" >
          <dt>Name:</dt>
          <dd>
            <t>ect0PacketDeltaCount</t>
          </dd>
          <dt>ElementID:</dt>
          <dd >
            <t>TBD8</t>
          </dd>
          <dt>Description:</dt>
          <dd>
            <t indent="0"> The number of packets since the previous report (if any) in this Flow with ECN codepoint set to ECT(0) (binary 01).</t>		
          </dd>
          <dt>Abstract Data Type:</dt>
          <dd>
            <t indent="0" >unsigned64</t>
          </dd>
          <dt>Data Type Semantics:</dt>
          <dd >
            <t indent="0">deltaCounter</t>
          </dd>
		  <dt>Additional Information:</dt>
          <dd>
            <t indent="0"> Refer to <xref target="RFC3168" format="default"/>.</t>
          </dd>
          <dt>Reference:</dt>
          <dd>
            <t indent="0" > <xref target="RFC3168" format="default"/>, <xref target="RFC9331" format="default"/>, this document.</t>
          </dd>
        </dl>			
      </section>	


	  <section numbered="true" toc="default">
            <name>ect0PacketTotalCount</name>
          <dl newline="false" indent="3" spacing="normal" >
          <dt>Name:</dt>
          <dd>
            <t>ect0PacketTotalCount</t>
          </dd>
          <dt>ElementID:</dt>
          <dd >
            <t>TBD9</t>
          </dd>
          <dt>Description:</dt>
          <dd>
            <t indent="0"> The total number of packets of this Flow with ECN codepoint set to ECT(0) at the Observation Point since 
		  the Metering Process (re-)initialization for this Observation Point.</t>		
          </dd>
          <dt>Abstract Data Type:</dt>
          <dd>
            <t indent="0" >unsigned64</t>
          </dd>
          <dt>Data Type Semantics:</dt>
          <dd >
            <t indent="0">totalCounter</t>
          </dd>
		  <dt>Additional Information:</dt>
          <dd>
            <t indent="0"> Refer to <xref target="RFC3168" format="default"/>.</t>
          </dd>
          <dt>Reference:</dt>
          <dd>
            <t indent="0" > <xref target="RFC3168" format="default"/>, <xref target="RFC9331" format="default"/>, this document.</t>
          </dd>
        </dl>			
      </section>

	  <section numbered="true" toc="default">
            <name>ect1PacketDeltaCount</name>
          <dl newline="false" indent="3" spacing="normal" >
          <dt>Name:</dt>
          <dd>
            <t>ect1PacketDeltaCount</t>
          </dd>
          <dt>ElementID:</dt>
          <dd >
            <t>TBD10</t>
          </dd>
          <dt>Description:</dt>
          <dd>
            <t indent="0"> The number of packets since the previous report (if any) in this Flow with ECN codepoint set to ECT(1) (binary 10).</t>		
          </dd>
          <dt>Abstract Data Type:</dt>
          <dd>
            <t indent="0" >unsigned64</t>
          </dd>
          <dt>Data Type Semantics:</dt>
          <dd >
            <t indent="0">deltaCounter</t>
          </dd>
		  <dt>Additional Information:</dt>
          <dd>
            <t indent="0"> Refer to <xref target="RFC3168" format="default"/>.</t>
          </dd>
          <dt>Reference:</dt>
          <dd>
            <t indent="0" > <xref target="RFC3168" format="default"/>, <xref target="RFC9331" format="default"/>, this document.</t>
          </dd>
        </dl>			
      </section>
   
	   
 	  <section numbered="true" toc="default">
            <name>ect1PacketTotalCount</name>
          <dl newline="false" indent="3" spacing="normal" >
          <dt>Name:</dt>
          <dd>
            <t>ect1PacketTotalCount</t>
          </dd>
          <dt>ElementID:</dt>
          <dd >
            <t>TBD11</t>
          </dd>
          <dt>Description:</dt>
          <dd>
            <t indent="0"> The total number of packets of this Flow with ECN codepoint set to ECT(1) at the Observation Point since 
		  the Metering Process (re-)initialization for this Observation Point.</t>		
          </dd>
          <dt>Abstract Data Type:</dt>
          <dd>
            <t indent="0" >unsigned64</t>
          </dd>
          <dt>Data Type Semantics:</dt>
          <dd >
            <t indent="0">totalCounter</t>
          </dd>
		  <dt>Additional Information:</dt>
          <dd>
            <t indent="0"> Refer to <xref target="RFC9331" format="default"/>.</t>
          </dd>
          <dt>Reference:</dt>
          <dd>
            <t indent="0" > <xref target="RFC3168" format="default"/>, <xref target="RFC9331" format="default"/>, this document.</t>
          </dd>
        </dl>			
      </section>
	  

 	  <section numbered="true" toc="default">
            <name>cePacketDeltaCount</name>
          <dl newline="false" indent="3" spacing="normal" >
          <dt>Name:</dt>
          <dd>
            <t>cePacketDeltaCount</t>
          </dd>
          <dt>ElementID:</dt>
          <dd >
            <t>TBD12</t>
          </dd>
          <dt>Description:</dt>
          <dd>
            <t indent="0"> The number of packets since the previous report (if any) in this Flow with ECN codepoint set to CE (Congestion Experienced, binary 11).</t>		
          </dd>
          <dt>Abstract Data Type:</dt>
          <dd>
            <t indent="0" >unsigned64</t>
          </dd>
          <dt>Data Type Semantics:</dt>
          <dd >
            <t indent="0">deltaCounter</t>
          </dd>
		  <dt>Additional Information:</dt>
          <dd>
            <t indent="0"> Refer to <xref target="RFC9331" format="default"/>.</t>
          </dd>
          <dt>Reference:</dt>
          <dd>
            <t indent="0" > <xref target="RFC3168" format="default"/>, <xref target="RFC9331" format="default"/>, this document.</t>
          </dd>
        </dl>			
      </section>

 	  <section numbered="true" toc="default">
            <name>cePacketTotalCount</name>
          <dl newline="false" indent="3" spacing="normal" >
          <dt>Name:</dt>
          <dd>
            <t>cePacketTotalCount</t>
          </dd>
          <dt>ElementID:</dt>
          <dd >
            <t>TBD13</t>
          </dd>
          <dt>Description:</dt>
          <dd>
            <t indent="0"> The total number of packets of this Flow with ECN codepoint set to CE at the Observation Point since the Metering Process (re-)initialization
		  for this Observation Point.</t>		
          </dd>
          <dt>Abstract Data Type:</dt>
          <dd>
            <t indent="0" >unsigned64</t>
          </dd>
          <dt>Data Type Semantics:</dt>
          <dd >
            <t indent="0">totalCounter</t>
          </dd>
		  <dt>Additional Information:</dt>
          <dd>
            <t indent="0"> Refer to <xref target="RFC9331" format="default"/>.</t>
          </dd>
          <dt>Reference:</dt>
          <dd>
            <t indent="0" > <xref target="RFC3168" format="default"/>, <xref target="RFC9331" format="default"/>, this document.</t>
          </dd>
        </dl>			
      </section>	   	
  
    </section>
    <!-- end of IPFIX IEs -->

<!-- ===================================================================== -->

<section numbered="true" toc="default">
      <name>Operational Considerations </name>
	   <t>
	  The IPFIX IEs defined in this draft may have their information extraction positions adjusted based on different ECN monitoring purposes in the network. 
	  Among them, the basic ECN field elements are used to reflect the ECN codepoints carried in the IPv4 header, the IPv6 header, or the MPLS header. 
	  These fields can be flexibly extracted at any node along the path that has IPFIX export capability. For tunnel ECN negotiation status IEs, the IPFIX 
	  data can only be provided by the specific tunnel endpoints that participate in the negotiation. For cumulative statistics IEs, the statistical data may be 
	  processed with a higher priority at traffic aggregation or egress nodes.
	   </t>
	   <t>
	   In L4S deployments, CE marking may be either probabilistic or deterministic, as determined by the specific AQM implementation. The IEs on the statiscal count 
	   of CE-mark packets is defined to enable operators to perfom quantitative monitoring and management of L4S service performance, 
	   typically based on flow data that may be acquired via packet or flow sampling. Implementations should employ sampling methods (see <xref target="RFC5475" format="default"/>) 
	   that preserve the statistical representativeness of these IEs and reduce bias risk of sampling results.
	   </t>
	   <t>
       For IPsec tunnels, monitoring ECN requires exporting both outer and inner IP header ECN fields (ipHeaderOuterEcn and ipHeaderInnerEcn), along with 
	   ipsecSaEcnMode (see section 4.4 of this draft). Relying solely on the outer IP header ECN field may be insufficient, as it could be set to Not ECT due to tunnel 
	   mode restrictions. Similarly, for L2TP tunnels, ECN monitoring should be verified the l2tpEcnNego element (see section 4.5) except the ECN information 
	   extraction from tunnel outer header and inner header of packets.
        </t>
        <t>
       For MPLS tunnels, the ECN handling mechanism differs fundamentally from IP based tunnels. ECN information is not carried in a dedicated IP header 
	   field but is encoded within the MPLS label stack using the EXP field, as defined in <xref target="RFC5129" format="default"/>. Therefore, monitoring
	   ECN over MPLS requires exporting the mplsHeaderEcn element defined in Section 4.3 of this draft. This element captures the congestion indication as conveyed within 
	   the MPLS domain, which is independent of the inner IP packet's ECN field.
	    </t>
        <t>
        The calculation of derived metrics (e.g., L4S CE marking ratios) from the base counters defined in the section 4 of this draft is an implementation issue 
		for the IPFIX Collector. Operators can utilize the per-flow counts such as ect1PacketTotalCount and cePacketTotalCount for such purposes. The caculation 
		strategy is out of the scope of this draft.
	    </t>

    </section>
    <!-- end of operation -->

<!-- ===================================================================== -->
	   
<section numbered="true" toc="default">
      <name>Security Considerations </name>
        <t>
       The security considerations for IPFIX <xref target="RFC7011" format="default"/> apply to this document. The elements for ECN reveal information about 
	   endpoint ECN capabilities. Although the information may generally be not sensitive, operators should consider applicable privacy regulations. IPFIX 
	   records containing L4S monitoring information SHOULD be transported using secure protocols such as TLS or DTLS and satisfy the mutual authentication 
	   between IPFIX Exporting Processes and IPFIX Collecting Processes as specified in <xref target="RFC7011" format="default"/>.
        </t>

    </section>
    <!-- end of security -->

<!-- ===================================================================== --> 
	   
<section numbered="true" toc="default">
      <name>IANA Considerations </name>
        <t>
       IANA is requested to assign the following Information Elements in the IPFIX Information Elements registry.
        </t>
           <table anchor="New-IPFIX-IE" align="center">
        <name>New IPFIX Information Elements</name>
        <thead>
          <tr>
            <th align="left">Element ID</th>
            <th align="left">Name</th>				
            <th align="left">Reference</th>
          </tr>
        </thead>
        <tbody>
          <tr>
            <td align="left">TBD1</td>
            <td align="left">IPv4HeaderEcn</td>			
            <td align="left">This&nbsp;document</td>
          </tr>
          <tr>
            <td align="left">TBD2</td>
            <td align="left">IPv6HeaderEcn</td>			
            <td align="left">This&nbsp;document</td>
          </tr>          
		  <tr>
            <td align="left">TBD3</td>
            <td align="left">MPLSHeaderEcn</td>			
            <td align="left">This&nbsp;document</td>
          </tr>
          <tr>
            <td align="left">TBD4</td>
            <td align="left">ipsecSaEcnMode</td>			
            <td align="left">This&nbsp;document</td>
          </tr>
          <tr>
            <td align="left">TBD5</td>
            <td align="left">l2tpEcnNego</td>			
            <td align="left">This&nbsp;document</td>
          </tr>
          <tr>
            <td align="left">TBD6</td>
            <td align="left">notEctPacketDeltaCount</td>			
            <td align="left">This&nbsp;document</td>
          </tr>          
		  <tr>
            <td align="left">TBD7</td>
            <td align="left">notEctPacketTotalCount</td>			
            <td align="left">This&nbsp;document</td>
          </tr>
          <tr>
            <td align="left">TBD8</td>
            <td align="left">ect0PacketDeltaCount</td>			
            <td align="left">This&nbsp;document</td>
          </tr>
          <tr>
            <td align="left">TBD9</td>
            <td align="left">ect0PacketTotalCount</td>			
            <td align="left">This&nbsp;document</td>
          </tr>
          <tr>
            <td align="left">TBD10</td>
            <td align="left">ect1PacketDeltaCount</td>			
            <td align="left">This&nbsp;document</td>
          </tr>          
		  <tr>
            <td align="left">TBD11</td>
            <td align="left">ect1PacketTotalCount</td>			
            <td align="left">This&nbsp;document</td>
          </tr>
          <tr>
            <td align="left">TBD12</td>
            <td align="left">cePacketDeltaCount</td>			
            <td align="left">This&nbsp;document</td>
          </tr>
          <tr>
            <td align="left">TBD13</td>
            <td align="left">cePacketTotalCount</td>			
            <td align="left">This&nbsp;document</td>
          </tr>
         </tbody>
      </table>
    </section>
    <!-- end of IANA -->

<!-- ===================================================================== --> 


  </middle>  
    <!-- end of middle -->	  
	
  <back>
  <references>
     <name>References</name>	  
	  <references>
      <name>Normative References</name>	  
        <xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.2119.xml"/>
        <xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.8174.xml"/>
        <xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.7011.xml"/>
        <xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.3168.xml"/>
	  </references>
	  <references>
      <name>Informative References</name>
        <xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.791.xml"/>
        <xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.2474.xml"/>	
        <xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.2780.xml"/>
        <xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.5129.xml"/>	
        <xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.5475.xml"/>	
		<xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.9330.xml"/>
        <xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.9331.xml"/>
		<xi:include href="https://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.9601.xml"/>	
	  </references>		
  </references>
  </back>
    <!-- end of middle -->	 
	
  </rfc>
