Error: "Global profile <profile-name> RED qmax <X> >= queue limit <Y>"
Cause
You configured a WRED max-threshold
value that is equal to or greater than the associated queue's queue-limit
value.
You configure the maximum size of queues that QoS will use on a per traffic class basis within each QoS policy. Whenever you configure a WRED queue, the WRED thresholds must be less than the queue limit of the appropriate traffic class.
When you use global profiles, the 'connection' between the WRED configuration of a profile queue and the queue limit of the traffic class in the QoS policy is more 'remote'.
You will trigger this error if you combine commands like these:
set policy qos profile <global-profile-name> queue <A> traffic-class <B>
set policy qos profile <global-profile-name> queue <A> wred-map dscp-group <group-name> max-threshold <X>
set policy qos name <policy-name> shaper class <M> profile <global-profile-name>
set policy qos name <policy-name> shaper traffic-class <B> queue-limit <Y>
Remedy
- Reduce the
max-threshold
value in the WRED map of the global profile. Make it less than thequeue-limit
value of the traffic class in the QoS policy. - Increase the queue value of the traffic class in the QoS policy. Make it more than the
max-threshold
value.