Vyatta Network OS Documentation

Learn how to install, configure and operate the Vyatta NOS, which helps drive our virtual networking & physical platforms portfolio.

Error: "min-threshold must be less than max-threshold"

Cause

You tried to configure a WRED profile to have a min-threshold that is greater than or equal to its max-threshold value.

The min-threshold value must always be smaller than the max-threshold value. Also, the max-threshold value must always be less than the queue-limit value.

You will trigger this error if you combine commands like these:

(Where <X> >= <Y>.)

set policy qos profile <global-profile-name> queue <queue-id> wred-map dscp-group <grp-name> min-threshold <X>
set policy qos profile <global-profile-name> queue <queue-id> wred-map dscp-group <grp-name> max-threshold <Y>

or

set policy qos name <policy-name> shaper profile <profile-name> queue <queue-id> wred-map dscp-group <group-name> min-threshold <X>
set policy qos name <policy-name> shaper profile <profile-name> queue <queue-id> wred-map dscp-group <group-name> max-threshold <Y>

or

set policy qos name <policy-name> shaper profile <profile-name> queue <queue-id> wred-map-bytes dscp-group <group-name> min-threshold <X>
set policy qos name <policy-name> shaper profile <profile-name> queue <queue-id> wred-map-bytes dscp-group <group-name> max-threshold <Y>

or

set policy qos name <policy-name> shaper profile <profile-name> queue <queue-id> wred-map-time dscp-group <group-name> min-threshold <X>
set policy qos name <policy-name> shaper profile <profile-name> queue <queue-id> wred-map-time dscp-group <group-name> max-threshold <Y>

Remedy

Apply one of these solutions:
  • Reduce the value of max-threshold.
  • Increase the value of max-threshold — but make sure that it doesn't equal or exceed the queue-limit value of the queue.