home

Supported platforms

Vyatta NOS documentation

Learn how to install, configure, and operate Vyatta Network Operating System (Vyatta NOS), which helps to drive our virtual networking and physical platforms portfolio.

Configure WRR

An example of how to assign weighted round robin (WRR) to queues.

By default, the profile queues that are assigned to the same traffic class operate in a fair-queuing manner. That is, each queue in the traffic class gets an equal share of the traffic class's bandwidth.

However, it is possible to distribute the bandwidth differently across the queues by assigning a different weight to each queue (the default weight for each queue is one). A queue's weight is in the range 1 to 100, the higher the weight, the more bandwidth the queue will get.

In this example, we assign WRR to queues 2 and 3.

  1. Map a DSCP value to queue 2.
    user@system# set policy qos name policy1 shaper profile profile1 map dscp af11 to 2
  2. Map a DSCP value to queue 3.
    user@system# set policy qos name policy1 shaper profile profile1 map dscp af21 to 3
  3. Assign queue 2 to traffic-class 1.
    user@system# set policy qos name policy1 shaper profile profile1 queue 2 traffic-class 1
  4. Assign queue 3 to traffic-class 1.
    user@system# set policy qos name policy1 shaper profile profile1 queue 3 traffic-class 1
  5. Define the weight value for queue 2.
    user@system# set policy qos name policy1 shaper profile profile1 queue 2 weight 12
  6. Define the weight value for queue 3.
    user@system# set policy qos name policy1 shaper profile profile1 queue 3 weight 36
  7. Commit the configuration.
    user@system# commit
Queue 3 will get three times more bandwidth than queue 2.