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.

Configure the WRED algorithm on an individual queue when queue-limit is defined in time

For a QoS policy you can configure weighted random early detection (WRED). WRED enables early detection of congestion.

  1. Configure the exponentially weighted moving average (EWMA) filter weight.
    user@system# set policy qos name policy-1 shaper profile-1 queue 0 wred-map-time filter-weight 1
  2. Configure the maximum value for the inverse of packet marking probability.
    user@system# set policy qos name policy-1 shaper traffic-class 1 random-detect mark-probability 2
  3. Configure the maximum threshold for the queue.
    user@system# set policy qos name policy-1 shaper traffic-class 1 random-detect max-threshold 100
  4. Configure the minimum threshold for the queue.
    user@system# set policy qos name policy-1 shaper traffic-class 1 random-detect min-threshold 5
  5. Commit the configuration.
    user@system# commit
You have configured WRED queues for all traffic class 1 queues of policy-1.