Command Reference Guide Global Configuration Mode Command Set
61200510L1-35E Copyright © 2005 ADTRAN 491

qos queue-type wrr <weight1> <weight2> <weight3>

[ <weight4> | expedite]

Use the qos queue-type wrr command to set weights for up to four queues. Use the no form of this
command to set all queues to be weighted round robin (WRR).
Syntax Description
<weight1-4>
Sets the weight of each queue (up to four). All queue weights must be greater
than zero except for the we ight for the last queue (queue 4) . The range for queu es
1 to 3 is 1 to 255. The range for queue 4 is 0 to 255 .
expedite The q ueue 4 entr y can b e replac ed by the expedite command. If set to expedite,
then it becomes a high-priority queue. All outbound traffic is transmitted on an
expedite queue prior to any other traffic in other queues.
Default Values
By default, all four weight s are set to 25.
Applicable Platforms
This command applies to the NetVanta 300, 1000, and 1000R Series units.
Command History
Release 5.1 Command was introduced.
Functional Notes
The actual weight is a calculated value based on the sum of all entered weights. It is the ratio of the
individual weight over the sum of all weights.
For example:
If the user enters 10, 20, 30, and 40 as the weight values, the first queue will have a ratio of 1/10. This is
derived from the formula 10/(10+20+30+40). Therefore, this queue will transmit 1 packet out of every 10
opportunities.
Usage Examples
The following example configures weights for all four queues:
(config)#qos queue-type wrr 10 20 30 40