<?xml version="1.0" encoding="utf-8"?>
<?xml-model href="rfc7991bis.rnc"?>


<!DOCTYPE rfc [
  <!ENTITY nbsp    "&#160;">
  <!ENTITY zwsp   "&#8203;">
  <!ENTITY nbhy   "&#8209;">
  <!ENTITY wj     "&#8288;">
]>

<rfc
  xmlns:xi="http://www.w3.org/2001/XInclude"
  category="info"
  docName="draft-hu-tsvwg-ecn-early-warning-01"
  ipr="trust200902"
  obsoletes=""
  updates="6040"
  submissionType="IETF"
  xml:lang="en"
  version="3">

  <front>
    <title abbrev="Domain-Local Early-Warning ECN">Domain-Local Early-Warning ECN with Congestion Event Notification for WAN
    </title>

    <seriesInfo name="Internet-Draft" value="draft-hu-tsvwg-ecn-early-warning-01"/>
   
    <author fullname="Jiayuan Hu" initials="Jiayuan" role="editor" surname="Hu">
      <organization>China Telecom</organization>
      <address>
        <postal>
          <street>109, West Zhongshan Road, Tianhe District</street>
          <city>Guangzhou</city>
          <region>Guangzhou</region>
          <code>510000</code>
          <country>CN</country>
        </postal>
        <email>hujy5@chinatelecom.cn</email>
      </address>
    </author>

    <date year="2026"/>

    <area>Transport</area>
    <workgroup>Transport Area Working Group</workgroup>

    <keyword>RFC</keyword>

    <abstract>
      <t>This document defines an early-warning ECN mechanism for WAN. With the growing demand for AI computing power,
          the computational capacity of a single Artificial Intelligence Data Center (AIDC) can no longer meet the
          requirements of large-scale model training. This has led to the emergence of cross-AIDC distributed model
          training, driving the need for transmitting RoCEv2 packets across WANs. AI training is highly sensitive
          to network packet loss, where even minimal packet loss can significantly degrade training efficiency.
          Additionally, elephant flows and extreme concurrent traffic impose higher demands on network performance.</t>
      <t>
          ECN provides active feedback of network congestion by marking the ECN field of IP packets rather than
          dropping them, and is an effective traffic control method. RFC 6040 specifies how ECN is propagated
          across IP-in-IP tunnels.
          However, due to the much higher end-to-end delay in WAN than in DC, and the frequent occurrence
          of instantaneous traffic bursts in WAN, ECN marking may be triggered prematurely. This document
          addresses these limitations with a two-threshold ECN mechanism for a single managed WAN domain: a lower
          threshold re-marks packets to ECT(1) as a domain-local early-warning signal, a higher threshold
          marks packets to CE to indicate severe congestion, and congested network devices additionally send a Congestion Event
          Notification (CEN) to the tunnel ingress PE for prompt in-network reaction. It updates RFC 6040 to
          specify domain-local early-warning semantics for the ECT(1) codepoint within a single
          managed WAN domain.</t>
    </abstract>
 
  </front>

  <middle>
    
    <section>
      <name>Introduction</name>
      <t>
        The rapid growth of AI computing power, particularly for large-scale model training, has necessitated
          distributed training across multiple Artificial Intelligence Data Centers (AIDCs). This shift has increased
          the demand for reliable and high-performance transmission of RoCEv2 (RDMA over Converged Ethernet version 2)
          traffic over the WAN. However, AI workloads are highly sensitive to network congestion and packet loss: even
          minor packet drops can significantly degrade training efficiency. Due to the long links and significant
          end-to-end latency in wide area networks, traditional congestion control mechanisms may not react in time.
          They are insufficient for AI workloads due to their reactive nature and inability to ensure
          near-zero packet loss.
      </t>
      <t>
        To address these challenges, this document explores the use of Explicit Congestion Notification (ECN) for
          early-warning congestion signaling in WAN environments, particularly for RoCEv2 over IP tunnels. ECN enables proactive congestion signaling by
          marking packets instead of dropping them, allowing endpoints to adjust transmission rates before congestion
          escalates. However, traditional ECN implementations face challenges in WAN scenarios, including inconsistent
          ECN propagation across tunnel boundaries and inefficient congestion response mechanisms. This document focuses on
          optimizing ECN for loss-sensitive RoCEv2 transmission in WANs by:
      </t>
      <ol>
        <li>
          <t>Ensuring Accurate ECN Propagation: Defining rules for consistent ECN field
            handling across IP-in-IP tunnels to prevent packet loss.</t>
        </li>
        <li>
          <t>Enhancing Congestion Feedback: Adjusting the rate of individual flows at the ingress
            of the WAN domain, so that prompt reactions do not have to wait for end-to-end
            feedback across long RTTs.</t>
        </li>
        <li>
          <t>Supporting Multi-Level Congestion Signaling: Extending ECN to differentiate between
            varying congestion severities, improving responsiveness for AI traffic.</t>
        </li>
      </ol>
      <t>
        By refining ECN mechanisms for WAN environments, this approach enhances network efficiency for distributed AI
        training while maintaining backward compatibility with existing RFC 3168 deployments. The proposed framework provides a
        scalable and reliable solution for future large-scale distributed computing applications.
      </t>
      <t>
        This document specifies the behavior of network devices within a single managed WAN domain. It does
        not define or modify the behavior of RoCEv2 end hosts: RoCEv2 and its congestion control
        mechanisms are specified by the InfiniBand Trade Association, and all end-host behavior is left
        to those specifications.
      </t>
    </section>
      
    <section anchor="related">
      <name>Relationship to Other Work</name>
      <t>
        This document is scoped to ECN codepoint semantics and their propagation across
        IP-in-IP tunnels in a WAN. The early-warning signal (ECT(1)) defined here is distinct
        from the Pre-Congestion Notification (PCN) concept of <xref target="RFC5559"/>, which
        encodes the PCN states on Diffserv codepoints <xref target="RFC6660"/> rather than on
        the ECN field; the mechanism defined here is therefore described in terms of early
        warning, not PCN. Re-use of ECT(1) within a single managed WAN domain follows
        the flexibility permitted by <xref target="RFC8311"/> and the guidance for specifying
        alternate ECN semantics in <xref target="RFC4774"/> (BCP 124).
      </t>
      <t>
        This work complements the "Fast CNP with Proxy" concept of
        <xref target="I-D.xiao-fann-fast-cnp-with-proxy"/>, which is being progressed in the
        Fast Network Notifications (FANN) working group and addresses how a
        congested node can notify a traffic sender when
        it cannot identify or reach the sender directly. This document instead keeps
        early-warning congestion local to the ingress domain, and propagates only the severe
        congestion codepoint (CE) toward the end host. The two approaches address different
        problems and may be combined.
      </t>
      <t>
        Congestion control based on the SRv6 path, defined in
        <xref target="I-D.liu-fann-srv6-cc"/>, performs path- and slice-scoped congestion
        control using the SRv6 data plane and the notification it carries. It does not
        reuse or reinterpret the ECN codepoints, whereas the mechanism in this document is
        built on the ECN field within a single managed WAN domain. The two approaches are
        complementary and operate on different signaling channels.
      </t>
      <t>
        This document is also related to, but independent from, the FANN framework.
        FANN defines a general framework for fast, low-latency network
        notifications (congestion level, queue length, latency). This document can be regarded
        as an ECN-oriented use case that provides fast congestion feedback through the ECN
        codepoints and an in-domain CEN.
      </t>
      <t>
        The Fast CNP without a proxy, defined in <xref target="I-D.xiao-fann-fast-cnp"/>,
        is sent by a congested node directly to the traffic sender in RoCEv2 networks. This
        document is complementary to it: the in-domain CEN described here targets the ingress
        Provider Edge (PE) of the WAN domain instead of the traffic sender,
        and keeps early-warning handling
        internal to the domain. The RoCEv2 CNP is an InfiniBand Architecture message generated by the receiver
        and sent to the traffic sender; the in-domain CEN defined here is a different construct,
        generated by network devices and named accordingly.
      </t>
      <t>
        The ECT(1) codepoint is also used by the Low Latency, Low Loss, and Scalable
        Throughput (L4S) service <xref target="RFC9330"/> <xref target="RFC9331"/>
        <xref target="RFC9332"/> as the identifier for L4S-capable traffic. The early-warning
        semantics defined in this document therefore conflict with L4S when both are active
        in the same domain. This mechanism is intended to be deployed only within a single
        managed WAN domain in which L4S traffic and L4S marking are not enabled; at the
        domain boundary an early-warning mark MUST NOT be propagated to nodes that do not
        understand it (see <xref target="deployment"/>). Operators that enable L4S in a
        domain MUST NOT enable this mechanism on the same path. The two approaches also
        rest on different deployment premises. In L4S the sending endpoint must itself
        set ECT(1) and implement a scalable congestion controller <xref target="RFC9331"/>,
        so the rate response is made by the sender after the congestion signal has
        traversed a full end-to-end feedback loop; the mechanism defined here leaves the
        endpoints unchanged and reacts inside the network domain, at the ingress PE. The
        two are therefore applicable to different deployment scenarios and are
        complementary rather than interchangeable.
      </t>
      <t>
        The ECT(1) codepoint has also been proposed as an end-to-end "some congestion
        experienced" (SCE) signal in <xref target="I-D.morton-tsvwg-sce"/>: an AQM re-marks
        ECT(0)-capable packets to ECT(1) as a congestion signal milder than CE -- an idea that
        goes back to Section 20.2 of <xref target="RFC3168"/> -- and SCE-aware receivers feed
        the signal back to their senders, which apply intermediate rate responses. This
        document keeps that codepoint-level idea of ECT(1) as an earlier signal than CE, but
        consumes the signal in the network rather than at the endpoints: the mark is applied
        to the outer tunnel header inside one managed WAN domain, is consumed at the
        decapsulating egress PE, and is acted upon by the ingress PE via the CEN. Unlike SCE,
        the mechanism therefore requires no change to end hosts, and the early-warning
        signal is never exposed beyond the domain boundary.
      </t>
      <t>
        The tunnel behavior defined here is consistent with the guidelines for adding
        congestion notification to protocols that encapsulate IP in <xref target="RFC9599"/>:
        the outer IP header carries the ECN codepoints used for congestion signaling, while
        the inner packet is left unmodified except for the CE propagation at decapsulation
        described in <xref target="tunnelling"/>.
      </t>
      <t>
        More accurate ECN feedback for TCP, e.g., AccECN <xref target="RFC9768"/>, improves
        the granularity of end-to-end ECN feedback at the transport layer. The mechanism in
        this document is orthogonal to it: it operates at the network layer within a managed
        WAN domain and does not change the transport-layer ECN feedback loop.
      </t>
    </section>

    <section title="Conventions Used in This Document">
      <section>
        <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"/>
          <xref target="RFC8174"/> when, and only when, they appear in
          all capitals, as shown here. This document is an Informational
          contribution; the keywords precisely describe the behavior of
          the mechanism and do not impose normative requirements beyond
          the scope of this document.</t>
      </section>

      <section title="Abbreviations">
        <t> AIDC: Artificial Intelligence Data Center</t>
        <t> RoCEv2: RDMA over Converged Ethernet version 2</t>
        <t> ECN: Explicit Congestion Notification</t>
        <t> CEN: Congestion Event Notification</t>
      </section>
    </section>

    <section title="ECN for WAN">
      <section anchor="tunnelling">
        <name>ECN Tunneling Behavior</name>
        <t>
          In WANs, tunneling is a fundamental technique used to encapsulate and transport data
          packets across different network domains while maintaining security, performance, and compatibility. Tunneling
          works by embedding an original packet (the inner payload) within a new packet with an outer header, allowing it
          to traverse intermediate networks that may not natively support the original protocol.
        </t>
        <t>
          ECN, as a traditional congestion notification mechanism, has also been extended from DC to WAN. <xref target="RFC6040"/>
          introduces how to label and use ECN mechanisms in tunnels, dividing the behavior into tunnel ingress
          behavior and tunnel egress behavior. The ingress behavior defines two encapsulation modes: a
          "compatibility mode," which is for backward compatibility with tunnel decapsulators that do not
          comprehend ECN, and a REQUIRED "normal mode"; the egress behavior defines a single decapsulation mode
          (Section 4.4 of <xref target="RFC6040"/>). The details of the ingress behavior are shown below:
        </t>
        <figure>
          <name>Early-Warning ECN: Encapsulation Behaviors</name>
          <artwork align="center"><![CDATA[
+-----------------+------------------------------+
| Incoming Header |    Departing Outer Header    |
| (also equal to  +---------------+--------------+
| departing Inner | Compatibility |    Normal    |
|      Header)    |       Mode    |     Mode     |
+-----------------+---------------+--------------+
|     Not-ECT     |      Not-ECT  |    Not-ECT   |
|      ECT(0)     |      Not-ECT  |     ECT(0)   |
|      ECT(1)     |      Not-ECT  |     ECT(1)   |
|       CE        |      Not-ECT  |      CE      |
+-----------------+---------------+--------------+
            ]]>
          </artwork>
        </figure>
        <t>
          For the decapsulation behavior, details are shown below:
        </t>
          <figure>
            <name>Early-Warning ECN: Decapsulation Behaviors</name>
            <artwork align="center"><![CDATA[
+---------+------------------------------------------------+
|Arriving |            Arriving Outer Header               |
|   Inner +---------+------------+------------+------------+
|  Header | Not-ECT | ECT(0)     | ECT(1)     |     CE     |
+---------+---------+------------+------------+------------+
| Not-ECT | Not-ECT |Not-ECT(!!!)|Not-ECT(!!!)| <drop>(!!!)|
|  ECT(0) |  ECT(0) | ECT(0)     | ECT(0)*    |     CE     |
|  ECT(1) |  ECT(1) | ECT(1) (!) | ECT(1)*    |     CE     |
|    CE   |      CE |     CE     |     CE(!!!)|     CE     |
+---------+---------+------------+------------+------------+
* The departing inner header carries the arriving inner codepoint
  unchanged: an arriving outer ECT(1) mark denotes the local
  early-warning state defined in this document and is consumed at
  the decapsulating PE (not copied to the inner header, not
  propagated further), so the domain-local semantics are not
  exposed to nodes outside the domain.
            ]]>
          </artwork>
        </figure>
        <t>
            In the decapsulation table above, '(!)' and '(!!!)' follow the notation of <xref target="RFC6040"/> for
            combinations of inner and outer ECN fields that were still unused (CU) when RFC 6040 was specified, for which
            it also specifies that a decapsulator SHOULD log the event. The entries marked '*' in the column for an
            arriving outer ECT(1) header denote the early-warning state defined in this document. The decapsulating
            PE consumes the arriving mark as a local early-warning state and leaves the inner ECN field unchanged,
            so that the domain-local ECT(1) semantics are not propagated beyond the domain boundary. For an arriving
            inner ECT(0) header this changes the departing inner codepoint relative to <xref target="RFC6040"/>, which
            would propagate ECT(1); for an arriving inner ECT(1) header the departing codepoint is ECT(1) in both
            cases. The CEN itself is generated by the congested device (see below); consumption of the mark at the
            egress is independent of it.
          </t>
        <t>
            <xref target="RFC6040"/> allows ECT(0) and ECT(1) to indicate the same severity of congestion marking
            (e.g., "not congestion marked"), and it also allows schemes in which ECT(1) indicates a more severe
            marking than ECT(0), ranking the codepoints CE &gt; ECT(1) &gt; ECT(0) &gt; Not-ECT. This document
            builds on exactly that flexibility: within the managed WAN domain, ECT(1) carries the early-warning
            semantics defined below, while ECT(0) denotes an ECT-capable packet that has not yet been marked.
          </t>
      </section>
        <section>
          <name>Two-Threshold ECN Mechanism for WAN</name>
          <t>
            The high latency and bursty nature of WAN links introduce significant challenges for timely and accurate
            congestion management. Traditional single-threshold ECN or packet-drop mechanisms often result in delayed
            feedback, causing over-correction (global synchronization) or under-correction (persistent congestion). To
            address this, this document proposes a two-threshold ECN mechanism specifically designed for WAN environments
            carrying latency-sensitive, loss-averse traffic like RoCEv2 for AI training.
          </t>
          <section>
            <name>Mechanism Overview</name>
            <t>
              This mechanism redefines the use of the ECT(1) codepoint within a managed WAN domain (e.g., a provider's
              WAN core), leveraging the flexibility permitted by <xref target="RFC8311"/>. Network devices (e.g., routers, switches)
              supporting this mechanism are configured with two queue occupancy thresholds: a Lower Threshold (T1) and
              a Higher Threshold (T2).
            </t>
            <t>
              ECT(1) as the "Early Warning" Signal: The device measures queue occupancy over a short
              timescale -- the instantaneous queue length, optionally smoothed by a filter whose time
              constant is a small fraction of the path RTT. When the measured occupancy exceeds T1,
              the device interprets this as incipient or light congestion. Packets with an outer IP
              header ECN field of ECT(0) or ECT(1) are remarked to ECT(1) with a probability that
              increases linearly with the measured occupancy above T1. This ECT(1) marking is defined
              within this WAN domain as an early-warning congestion signal (referred to below simply
              as the "early-warning signal"). Its purpose is to signal an impending congestion
              condition before queues build to a level that would impact latency or cause loss.
            </t>
            <t>
              The short measurement timescale is deliberate. Averaging over a long window would delay
              the warning by roughly the averaging period and would defeat its purpose on bursty WAN
              links, where a queue can build and drain within a small number of RTTs. A short
              timescale makes the signal more sensitive to transient micro-bursts; the linear
              probability ramp bounds that sensitivity, because a brief overshoot that only slightly exceeds T1 produces
              only a low marking probability rather than marking every packet, and the filter time
              constant trades warning latency against sensitivity to such transients.
            </t>
            <t>
              CE as "Severe Congestion" Signal: T2 is the second line of defense in the two-threshold
              design. The early-warning reaction at T1 depends on the CEN reaching the ingress PE, on
              the ingress PE being able to reduce or reroute the affected flow, and on this mechanism
              being implemented at the congested device; when any of these is unavailable, or when
              the offered load exceeds what in-domain reaction can absorb, congestion must still be
              signaled to the end host so that the transport's own congestion control responds.
            </t>
            <t>
              When queue occupancy exceeds T2 -- measured over a timescale long enough that the
              condition is sustained rather than an instantaneous overshoot -- the device interprets
              this as severe congestion requiring immediate action. ECT-capable packets (with an outer
              header of ECT(0) or ECT(1)) are marked with the CE codepoint following a standard
              RED-like algorithm. Unlike the early-warning mark, the CE mark is not consumed at the
              egress: it is propagated to the inner header at the decapsulating PE under the rules in
              <xref target="tunnelling"/>, reaches the end host, and engages the end-to-end
              congestion control of the original sender as the ultimate backstop of the design. The
              sender's reaction is defined by its transport-layer congestion control, outside the
              scope of this document.
            </t>
          </section>
          <section>
            <name>Congestion Event Notification (CEN) and Ingress PE Action</name>
            <t>
              A critical component of this mechanism is the generation and processing of a Congestion Event
              Notification (CEN). This is a control message generated by the congested device (or a network
              controller monitoring it) and sent to the tunnel ingress PE -- the point
              where the traffic entered the WAN domain.
              </t>
              <t>
                The ECT(1) or CE marking travels in-band with the affected packets, while the CEN is a
                separate control message addressed to the ingress PE; both are produced at the congested
                device, and the consumption of the early-warning mark at the egress is independent of the CEN.
              </t>
              <t>
                CEN Format: this specification does not mandate a new CEN wire format; the CEN is
                carried as a control message between the congested device and the ingress PE over an
                existing channel (for example, a UDP-based or in-band control channel). At minimum,
                the CEN MUST identify the affected flow (e.g., a 5-tuple or a flow identifier) and the
                congestion level (early or severe), and MUST include a value or timestamp sufficient for
                rate limiting. The ingress PE MUST rate-limit CEN handling to avoid reacting to
                transient micro-bursts, and SHOULD discard CENs that refer to flows it does not
                serve, or that duplicate a CEN it has already received for the same flow.
              </t>
              <t>
                Monitoring and Telemetry Option: the ECN state observed at the congested device can
                also be exported over an IPFIX-based monitoring channel, using the information
                elements defined for ECN export in <xref target="I-D.ietf-opsawg-ipfix-ecn"/>. IPFIX
                export is an aggregation and monitoring channel rather than a per-event control
                path: it complements the CEN instead of replacing it. Exported state supports
                accounting, trending and threshold tuning, while the CEN remains the trigger for the
                prompt ingress PE reaction, because a per-event loop with burst timescales needs
                notification latency that periodic export does not provide.
              </t>
              <section>
                <name>T1 Reached: Early-Warning (ECT(1)) Marking</name>
              <t>
                The congested device generates and sends a CEN to the ingress PE. This CEN identifies the affected flow
                (e.g., via 5-tuple) and indicates an early (light) congestion event.
              </t>
              <t>
                Ingress PE Action: Upon receiving this CEN, the ingress PE MAY take proactive measures to alleviate the
                impending congestion without involving the end host. This can include:
              </t>
              <t>
                Local Rate Adjustment: Slightly reducing the transmission rate for the identified flow into the tunnel.
              </t>
              <t>
                Traffic Rerouting: Dynamically steering the flow to an alternative, less congested path within the WAN
                if available (e.g., using SRv6 policy).
              </t>
              <t>
                ECN Propagation at the Egress: Independently of the CEN, when a packet carrying the outer ECT(1)
                early-warning mark reaches the decapsulating (egress) PE, that PE does not copy the mark to the inner
                IP header and consumes it locally. The end host remains unaware of
                this early warning, preventing an over-reaction from a distant sender whose feedback loop is delayed by
                the WAN RTT.
              </t>
            </section>
            <section>
              <name>T2 Reached: Severe Congestion (CE) Marking</name>
              <t>
                The congested device generates and sends a CEN to the ingress PE, now indicating a severe congestion event.
              </t>
              <t>
                Ingress PE Action: Upon receiving this CEN, the ingress PE MUST intensify its local congestion control
                for the affected flow, for example by applying stronger versions of the Local Rate Adjustment and
                Traffic Rerouting actions described for the T1 case. Independently of this, the decapsulating (egress)
                PE performs standard RFC 6040 "normal mode" decapsulation: for an ECN-capable inner header, the
                CE codepoint from the outer header is copied to the inner IP header, so that the end-to-end
                transport's congestion control is engaged (a Not-ECT inner header with an arriving CE outer is
                dropped, per the decapsulation table above).
              </t>
              <t>
                The packet, now with CE set in the inner header, is forwarded to the receiver. The receiver's transport
                (e.g., RoCEv2) then feeds this congestion signal back to the original sender; how the sender reacts is defined by
                its congestion control algorithm as specified by the InfiniBand Architecture, and this document imposes no requirement on it.
              </t>
            </section>
          </section>
          <section anchor="deployment">
            <name>Deployment and Compatibility Considerations</name>
            <t>
              Backward Compatibility: Devices not implementing this two-threshold mechanism will treat ECT(1) as
              equivalent to ECT(0) per <xref target="RFC3168"/>, and will process CE normally. This ensures safe coexistence and
              incremental deployment.
            </t>
            <t>
              Domain of Application: This mechanism is intended for use within a managed WAN domain (e.g., a
              single provider's core). The re-definition of the ECT(1) semantics is a local policy, confined to the
              outer tunnel header inside the domain. At the egress PE leaving this domain, the RFC 6040 rules apply as
              updated by this document (see the next paragraph); outside the domain, packets
              are handled according to the rules of the external network. The tunnel MUST run in normal mode:
              in compatibility mode the departing outer header is Not-ECT and cannot carry ECN marks,
              so neither marking level of this mechanism can take effect.
            </t>
            <t>
              Interaction with L4S: both this mechanism and the L4S service <xref target="RFC9330"/> use the ECT(1)
              codepoint with different meanings. An L4S-capable source marks ECT(1) to identify its traffic, while
              this mechanism re-marks packets to ECT(1) inside the domain as an early-warning signal, and the two
              cannot be distinguished on the wire. Therefore, this mechanism MUST NOT be enabled on any path where
              L4S traffic may be present, including paths carrying traffic from sources outside the domain that may
              already have set ECT(1); see <xref target="RFC9331"/> and <xref target="related"/>. The
              incompatibility is nonetheless domain-local by construction: the early-warning mark
              is applied to the outer header inside one managed WAN domain and is consumed at the
              egress PE (see the next paragraph), so it never leaves the domain and cannot interfere
              with L4S traffic in other domains along the path. Within a single administrative
              domain, the operator can observe whether traffic carries ECT(1) and controls whether
              the L4S service is offered, so this constraint is an operational condition that can
              be satisfied by construction, rather than a coordination problem across the open
              Internet.
            </t>
            <t>
              Egress Behavior at the Domain Boundary: when a packet traverses the egress PE that
              leaves the managed WAN domain, the outer header is stripped and the departing inner
              header is derived from the arriving inner and outer ECN fields according to the
              decapsulation table above. In particular, an early-warning (ECT(1)) mark applied to
              the outer header inside the domain MUST NOT be propagated beyond the domain boundary: the egress
              PE consumes the mark -- it is not copied to the inner header and not propagated further -- and
              leaves the inner ECN field unchanged, so that the local ECT(1) semantics are not
              leaked to nodes outside the domain. The CE mark is produced only when severe congestion
              applies and, unlike the early-warning mark, is propagated to the inner header as
              described above.
            </t>
            <t>
              Threshold Tuning: The values of T1 and T2 are critical and should be set based on link capacity, typical
              traffic profiles, and the desired latency-loss trade-off for the target applications (e.g., AI training).
              T1 should be set low enough to provide meaningful early warning but high enough to avoid triggering on
              transient micro-bursts. T2 MUST be set strictly greater than T1, so that the early-warning and severe
              congestion regions are clearly separated.
            </t>
          </section>
        </section>
      </section>
    
    <section anchor="IANA">
      <name>IANA Considerations</name>
      <t>No IANA actions are required by this specification; it does not define new protocol elements, codepoints, or
      registries.</t>
    </section>
    
    <section anchor="Security">
      <name>Security Considerations</name>
      <t>
        The proposed enhancements introduce new mechanisms that must be evaluated for potential security
        vulnerabilities. This section expands upon the security considerations of <xref target="RFC3168"/> and <xref target="RFC6040"/> within the
        context of this document.
      </t>
      <section>
        <name>Threats Related to the Two-Threshold Mechanism</name>
        <t>
          CEN Spoofing and Forgery: An attacker could generate malicious CENs and send them to an ingress PE, falsely
          indicating congestion. This could trigger unnecessary rate reduction or rerouting, leading to denial-of-service
          (performance degradation) for legitimate flows or manipulation of traffic paths for interception.
          Within a single administrative domain, this can be contained by restricting the channel that carries
          CENs to trusted devices and, where available, authenticating it.
        </t>
        <t>
          Threshold Manipulation: An attacker with access to network device configuration could alter the T1 or
          T2 thresholds. Lowering T1 excessively would cause frequent ECT(1) marking and CEN generation, leading to
          under-utilization of the link. Raising T2 excessively could suppress legitimate CE signals, leading to
          bufferbloat and packet loss.
        </t>
        <t>
          ECN Field Tampering within the Tunnel: As noted in <xref target="RFC3168"/> and <xref target="RFC6040"/>, the outer ECN field is mutable. An
          attacker within the WAN could erase CE marks to hide congestion from the sender, or could set false CE
          marks to artificially throttle flows. The two-threshold mechanism's use of ECT(1) as a significant signal
          creates a new vector for manipulation.
        </t>
      </section>
      <section>
        <name>Covert Channel Considerations</name>
        <t>
          <xref target="RFC6040"/> explicitly relaxed earlier restrictions on the covert channel bandwidth across tunnels, deeming a
          2-bit per packet channel manageable. This mechanism does not alter that fundamental assessment. However, the
          specific arrangement where the egress PE suppresses ECT(1) at the domain boundary while the ingress PE does act on CENs could
          theoretically be exploited by a colluding ingress and egress point to encode information. This is considered
          a manageable risk within a single administrative domain.
        </t>
      </section>
    </section>
    
  </middle>

  <back>
    <references>
      <name>References</name>
      <references>
        <name>Normative References</name>
        
        <xi:include href="https://bib.ietf.org/public/rfc/bibxml/reference.RFC.2119.xml"/>
        <xi:include href="https://bib.ietf.org/public/rfc/bibxml/reference.RFC.8174.xml"/>
        <xi:include href="https://bib.ietf.org/public/rfc/bibxml/reference.RFC.6040.xml"/>
        <xi:include href="https://bib.ietf.org/public/rfc/bibxml/reference.RFC.3168.xml"/>
        <xi:include href="https://bib.ietf.org/public/rfc/bibxml/reference.RFC.8311.xml"/>
        <xi:include href="https://bib.ietf.org/public/rfc/bibxml/reference.RFC.4774.xml"/>
        
      </references>
      <references>
        <name>Informative References</name>
        <xi:include href="https://bib.ietf.org/public/rfc/bibxml/reference.RFC.5559.xml"/>
        <xi:include href="https://bib.ietf.org/public/rfc/bibxml/reference.RFC.6660.xml"/>
        <xi:include href="https://bib.ietf.org/public/rfc/bibxml/reference.RFC.9330.xml"/>
        <xi:include href="https://bib.ietf.org/public/rfc/bibxml/reference.RFC.9331.xml"/>
        <xi:include href="https://bib.ietf.org/public/rfc/bibxml/reference.RFC.9332.xml"/>
        <xi:include href="https://bib.ietf.org/public/rfc/bibxml/reference.RFC.9599.xml"/>
        <xi:include href="https://bib.ietf.org/public/rfc/bibxml/reference.RFC.9768.xml"/>
        <reference anchor="I-D.xiao-fann-fast-cnp-with-proxy"
            target="https://datatracker.ietf.org/doc/draft-xiao-fann-fast-cnp-with-proxy/">
          <front>
            <title>Fast Congestion Notification Packet (CNP) with Proxy</title>
            <author initials="X." surname="Min" fullname="Xiao Min">
              <organization>ZTE Corporation</organization>
            </author>
            <author initials="T." surname="Han" fullname="Tingting Han">
              <organization>China Mobile</organization>
            </author>
            <author initials="Z." surname="Hu" fullname="Zehua Hu">
              <organization>China Telecom</organization>
            </author>
            <date year="2026" month="September"/>
          </front>
          <seriesInfo name="Internet-Draft" value="draft-xiao-fann-fast-cnp-with-proxy-05"/>
        </reference>
        <reference anchor="I-D.xiao-fann-fast-cnp"
            target="https://datatracker.ietf.org/doc/draft-xiao-fann-fast-cnp/">
          <front>
            <title>Fast Congestion Notification Packet (CNP) in RoCEv2 Networks</title>
            <author initials="X." surname="Min" fullname="Xiao Min">
              <organization>ZTE Corporation</organization>
            </author>
            <author initials="H." surname="Li" fullname="Hesong Li">
              <organization>ZTE Corporation</organization>
            </author>
            <author initials="T." surname="Han" fullname="Tingting Han">
              <organization>China Mobile</organization>
            </author>
            <author initials="W." surname="Cheng" fullname="Weiqiang Cheng">
              <organization>China Mobile</organization>
            </author>
            <author initials="J." surname="Yang" fullname="Jin Yang">
              <organization>China Mobile</organization>
            </author>
            <author initials="X." surname="He" fullname="Xiaoming He">
              <organization>China Telecom</organization>
            </author>
            <date year="2026" month="September"/>
          </front>
          <seriesInfo name="Internet-Draft" value="draft-xiao-fann-fast-cnp-01"/>
        </reference>
        <reference anchor="I-D.liu-fann-srv6-cc"
            target="https://datatracker.ietf.org/doc/draft-liu-fann-srv6-cc/">
          <front>
            <title>Congestion Control Based on SRv6 Path</title>
            <author initials="C." surname="Lin" fullname="Changwang Lin">
              <organization>New H3C Technologies</organization>
            </author>
            <author initials="J." surname="Yao" fullname="Junda Yao">
              <organization>Huawei</organization>
            </author>
            <author initials="M." surname="Xiao" fullname="Min Xiao">
              <organization>ZTE Corporation</organization>
            </author>
            <author initials="Y." surname="Liu" fullname="Yisong Liu">
              <organization>China Mobile</organization>
            </author>
            <date year="2026" month="September"/>
          </front>
          <seriesInfo name="Internet-Draft" value="draft-liu-fann-srv6-cc-01"/>
        </reference>
        <reference anchor="I-D.morton-tsvwg-sce"
            target="https://datatracker.ietf.org/doc/draft-morton-tsvwg-sce/">
          <front>
            <title>The Some Congestion Experienced ECN Codepoint</title>
            <author initials="J." surname="Morton" fullname="Jonathan Morton">
              <organization/>
            </author>
            <author initials="P.G." surname="Heist" fullname="Peter G. Heist">
              <organization/>
            </author>
            <author initials="R.W." surname="Grimes" fullname="Rodney W. Grimes">
              <organization/>
            </author>
            <date year="2022" month="October"/>
          </front>
          <seriesInfo name="Internet-Draft" value="draft-morton-tsvwg-sce-04"/>
        </reference>
        <reference anchor="I-D.ietf-opsawg-ipfix-ecn"
            target="https://datatracker.ietf.org/doc/draft-ietf-opsawg-ipfix-ecn/">
          <front>
            <title>Export of ECN Information in IPFIX</title>
            <author initials="X." surname="Song" fullname="Xueyan Song">
              <organization>ZTE Corp.</organization>
            </author>
            <author initials="S." surname="Moeller" fullname="Sebastian Moeller">
              <organization>Independent</organization>
            </author>
            <author initials="Y." surname="Liu" fullname="Yao Liu">
              <organization>ZTE Corp.</organization>
            </author>
            <author initials="J." surname="Newton" fullname="Jonathan Newton">
              <organization>Vodafone</organization>
            </author>
            <author initials="J." surname="Livingood" fullname="Jason Livingood">
              <organization>Independent</organization>
            </author>
            <date year="2026" month="October"/>
          </front>
          <seriesInfo name="Internet-Draft" value="draft-ietf-opsawg-ipfix-ecn-01"/>
        </reference>
      </references>
    </references>
    
    <section anchor="Contributors" numbered="false">
      <name>Contributors</name>
      <t>Thanks to all the contributors.</t>
    </section>
    
 </back>
</rfc>

