Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

latency-ecn (Schedulers)

Syntax

Hierarchy Level

Description

Set the latency ECN threshold for a scheduler.

When you enable ECN and set a latency ECN threshold, the PFE measures per-packet queuing delay by subtracting the ingress pipeline timestamp from the egress pipeline timestamp and compares the result to the threshold. If the instantaneous latency for a unicast packet exceeds that threshold, the egress pipeline sets an internal congestion indicator that the system maps to ECN bits in the IP header. Because this decision occurs in the scheduler pipeline and uses a color-blind model, all packets in the queue, regardless of drop precedence or loss priority, use the same deterministic latency trigger for ECN marking.

Options

threshold

Latency ECN threshold value, in nanoseconds.

  • Range: 1 through 1000000000

Required Privilege Level

interface—To view this statement in the configuration.

interface-control—To add this statement to the configuration.

Release Information

Statement introduced in Junos OS Evolved Release 25.2X100D20.