Explicit Congestion Notification (ECN)

Weighted Random Early Detection (WRED) drops packets based on the average length exceeding a specific threshold value to indicate congestion. Explicit Congestion Notification (ECN) is an extension to WRED that marks the drop-eligible packets, instead of dropping, using the same criteria of minimum threshold, maximum threshold, and drop probability.

The current WRED implementation prevents tail dropping of packets that are queued in the output queue by selectively dropping packets early. This avoids dropping of all packets at once when congestion occurs. With ECN functionality, routers are no longer limited to packet drops to indicate congestion. Routers can instead set the CE (Congestion Experienced) codepoint in the IP header of packets from ECN-capable transport entities. The transport endpoints use the ECE and CWR bits of the TCP header to mitigate congestion.

Supported Platforms

Summit X460-G2, X670-G2, X770, and ExtremeSwitching X870, X690 series switches.

Limitations

  • TCP yellow traffic color is not supported.
  • ECN over VXLAN is not supported. Any tunneling protocol implemented with double headers is not supported.
  • Except for on the ExtremeSwitching X870 series switches, the ECN counters showing the number of marked packets is not available yet, so those appear as 0.
  • This implementation is limited to ECN pass-through. End points having TCP/DCTCP/RoCEv2 capabilities can use the ECN services.

New CLI Commands

configure qosprofile egress qp_num wred ecn [on | off] ports [port_list | all ]

clear counters wred ecn

Changed CLI Commands

Changes are underlined.

show ports port_list wred ecn {no-refresh | refresh}

The following show command is revised to display ECN information:

show wredprofile {ports [port_list | all]}