home

Supported platforms

Vyatta documentation

Learn how to install, configure, and operate the Vyatta Network Operating System (Vyatta NOS) and Orchestrator, which help drive our virtual networking and physical platforms portfolio.

Error: "... max-threshold <max-threshold> must be less than queue-limit <number>"

Cause

The max-threshold <max-threshold> value of the WRED map is equal to or greater than the queue-limit <number> value of the traffic class.

There are three elements that, in combination, may cause this error. For example:

set policy qos name <policy-name> shaper profile <profile-name> queue <A> traffic-class <B>
set policy qos name <policy-name> shaper traffic-class <B> queue-limit <Y>
set policy qos name <policy-name> shaper profile <profile-name> queue <A> wred-map dscp-group <grp-name> max-threshold <X>
  1. A profile queue is assigned to a particular traffic class <B>.
  2. That traffic class has a defined queue limit <Y>.
  3. The profile queue also has a WRED map configured, with a max-threshold <max-threshold> value <X>.

Remedy

Apply one of these solutions:
  • Increase the queue-limit <number> value <Y> to be at least one more than the max-threshold <max-threshold> value <X>.
  • Decrease the max-threshold <max-threshold> value <X> to be at least one less than the queue-limit <number> value <Y>.