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 bytes

An example of how to configure the WRED algorithm thresholds in bytes, and then configure a profile queue to randomly drop packets when the queue is active.
  1. Configure a DSCP group. This group may contain multiple DSCP.
    user@system# set resources group dscp-group group-1 dscp 0
  2. Determine which profile queue you will configure with the WRED algorithm. Then assign this profile queue to a traffic class.
    user@system# set policy qos name policy-2 shaper profile profile-2 queue 0 traffic-class 0
  3. Map the DSCP group that you defined earlier — group-1 — to queue 0.
    user@system# set policy qos name policy-2 shaper profile profile-2 map dscp-group group-1 to 0
  4. Configure the filter-weight attribute for the WRED algorithm for queue 0. This attribute is common to all DSCP groups on this queue.
    user@system# set policy qos name policy-2 shaper profile profile-2 queue 0 wred-map-bytes filter-weight 5
  5. Configure the mark-probability attribute of the WRED algorithm for DSCP group group-1.
    user@system# set policy qos name policy-2 shaper profile profile-2 queue 0 wred-map-bytes dscp-group group-1 mark-probability 32
  6. Configure the min-threshold attribute, in bytes, for DSCP group group-1.
    user@system# set policy qos name policy-2 shaper profile profile-2 queue 0 wred-map-bytes dscp-group group-1 min-threshold 10000
  7. Configure the max-threshold attribute, in bytes, of the WRED algorithm for DSCP group group-1.
    user@system# set policy qos name policy-2 shaper profile profile-2 queue 0 wred-map-bytes dscp-group group-1 max-threshold 50000
You have configured the WRED algorithm in bytes on queue 0 of profile profile-2 of policy policy-2.