<?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-00" 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-00"/>
    <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>
       <dl newline="false" spacing="normal" indent="14">
          <dt>IPFIX: IP Flow Information Export</dt>
          <dd>IPFIX Information Elements</dd>
          <dt>Template: Template Record</dt> 
          <dd>Options Template: Options Template Record</dd>
          <dt>Data Record</dt>
          <dd>Scalable Congestion Control</dd>
          <dt>Classic Service</dt>
          <dd>Low Latency, Low Loss, and Scalable throughput (L4S) service</dd>	  
          <dt>ECN: Explicit Congestion Notification</dt>		  
		  <dd>ECT: ECN-capable Transport</dd>	
		  <dt>Not-ECT: Not ECN-capable transport</dt>
		  <dd>CE: Congestion Experienced</dd>		  
        </dl>		
      </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 ECN field in IPv4 <xref target="RFC3168" format="default"/> 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>
          <dl newline="false" indent="3" spacing="normal" >
          <dt>00: Not ECT</dt>
          <dd>01: ECT(0)</dd>
          <dt>10: ECT(1)</dt>
          <dd>11: CE </dd>
        </dl>			
	   </section>  

	    <section numbered="true" toc="default">
            <name>IPv6 ECN Field</name>
      <t>
     For IPv6 packets, the ECN field is located in the Traffic Class octet, also in bits 6 to 7, 
	 as specified in <xref target="RFC2474" format="default"/> and <xref target="RFC3168" format="default"/>.
      </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 is encoded in bits 6 to 7 of the IPv4 TOS byte as defined in <xref target="RFC3168" format="default"/>. 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">Refer to the "IPv4 TOS Byte " registry in section 5 of <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>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 is encoded in bits 6 to 7 of the IPv6 Traffic Class octet as defined in <xref target="RFC3168" format="default"/>. 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">Refer to the "IPv6 Traffic Class Octet" registry in section 5 of <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>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 numbered="true" toc="default">
            <name>l4sCeMarkRatioDelta</name>
          <dl newline="false" indent="3" spacing="normal" >
          <dt>Name:</dt>
          <dd>
            <t>l4sCeMarkRatioDelta</t>
          </dd>
          <dt>ElementID:</dt>
          <dd >
            <t>TBD14</t>
          </dd>
          <dt>Description:</dt>
          <dd>
            <t indent="0"> The proportion of L4S packets marked with the CE codepoint, calculated over the reporting interval since the previous report (if any).
		  This element represents the incremental CE marking rate for L4S traffic within the Flow. It is calculated as:</t>
            <t indent="0"> CE-marked L4S packets (delta count) / Total L4S packets (delta count)</t>
			<t indent="0"> Where L4S packets are those identified by the ECN codepoint ECT(1). The result is a ratio ranging from 0.0 to 1.0.</t>				
          </dd>
          <dt>Abstract Data Type:</dt>
          <dd>
            <t indent="0" >float32</t>
          </dd>
          <dt>Data Type Semantics:</dt>
          <dd >
            <t indent="0">quantity</t>
          </dd>
		  <dt>Additional Information:</dt>
          <dd>
            <t indent="0"> This ratio provides a near-real-time view of congestion dynamics for L4S traffic. It is useful for detecting transient congestion events 
		  and monitoring short-term performance.</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>l4sCeMarkRatioTotal</name>
          <dl newline="false" indent="3" spacing="normal" >
          <dt>Name:</dt>
          <dd>
            <t>l4sCeMarkRatioTotal</t>
          </dd>
          <dt>ElementID:</dt>
          <dd >
            <t>TBD15</t>
          </dd>
          <dt>Description:</dt>
          <dd>
            <t indent="0"> The proportion of L4S packets marked with the CE codepoint, calculated over the total lifetime of the Flow. This element represents the total 
		  CE marking rate for L4S traffic within the Flow. It is calculated as:</t>
            <t indent="0"> CE-marked L4S packets (total count) / Total L4S packets (total count)</t>
			<t indent="0"> Where L4S packets are those identified by the ECN codepoint ECT(1). The result is a ratio ranging from 0.0 to 1.0.</t>				
          </dd>
          <dt>Abstract Data Type:</dt>
          <dd>
            <t indent="0" >float32</t>
          </dd>
          <dt>Data Type Semantics:</dt>
          <dd >
            <t indent="0">quantity</t>
          </dd>
		  <dt>Additional Information:</dt>
          <dd>
            <t indent="0"> This ratio provides a long-term view of congestion experienced by L4S traffic. A value of 0.0 indicates no congestion marking, while a value 
		  approaching 1.0 indicates persistent or severe congestion.</t>
          </dd>
          <dt>Reference:</dt>
          <dd>
            <t indent="0" > <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>
       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). 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. 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>
       When measuring the proportion of packets marked with the CE codepoint, the CE marking rate for L4S traffic should be calculated specifically for flows 
	   identified as ECT(1) (L4S traffic identifier) prior to marking, rather than aggregating all CE-marked packets irrespective of their original ECT codepoint. 
	   This ensures the performance of L4S services can be accurately monitored and distinguished from Classic ECN traffic, which may have different congestion 
	   response characteristics. 
	    </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>
          <tr>
            <td align="left">TBD14</td>
            <td align="left">l4sCeMarkRatioDelta</td>			
            <td align="left">This&nbsp;document</td>
          </tr>
          <tr>
            <td align="left">TBD15</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.2474.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.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>
