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: "WRED configuration must be specified using either dscp-group or drop-precedence"

Cause

You tried to configure two different styles of WRED map together; both DSCP group style and designation/drop-precedence style.

If you want to use drop precedence to differentiate between two WRED maps on the same profile queue, then you must use an ingress map. This is because you need to be able to assign different drop-precedence values to different flows of traffic.

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

set policy qos name <policy-name> shaper profile <profile-name> queue <queue-id> wred-map-bytes dscp-group ...
set policy qos name <policy-name> shaper profile <profile-name> queue <queue-id> wred-map-bytes drop-precedence ...

or

set policy qos name <policy-name> shaper profile <profile-name> queue <queue-id> wred-map-bytes drop-precedence ...
set policy qos name <policy-name> shaper profile <profile-name> queue <queue-id> wred-map-bytes dscp-group ...

Remedy

Decide if you want to use DSCP groups or drop precedence to differentiate between multiple WRED configurations on the same profile queue.
If you want to use DSCP groups to differentiate between two WRED maps on the same profile queue, then you cannot use ingress maps to provide second stage classification on input.
  • If you want to use DSCP groups, delete all set policy qos name <policy-name> shaper profile <profile-name> queue <queue-id> wred-map-byte drop-precedence ... commands and delete all ingress maps.
  • If you want to use drop precedence, create an ingress map, if you don't already have one. Then delete all set policy qos name <policy-name> shaper profile <profile-name> queue <queue-id> wred-map-bytes dscp-group ... commands.