latency-ecn (Schedulers)
Syntax
latency-ecn {
threshold threshold-value;
}Hierarchy Level
[edit class-of-service schedulers], [edit dynamic-profiles name class-of-service schedulers]
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.
|
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.