Error: "traffic-class <X> max-threshold <Y> must be less than the queue limit <Z>"
Cause
You tried to configure a WRED configuration on a traffic class basis, and you have defined the WRED max-threshold
value to be the same or greater that the queue-limit
value of the traffic class.
You will trigger this error if you combine commands like these:
set policy qos name <policy-name> shaper traffic-class <X> random-detect max-threshold <Y>
set policy qos name <policy-name> shaper traffic-class <X> queue-limit <Z>
Remedy
- Decrease the
max-threshold
value to be less than thequeue-limit
value. - Increase the
queue-limit
value to be more than themax-threshold
value.