Foundry Switch and Router Installation and Configuration Guide
11 - 8
December 2000
NOTE:
The weighted fair queuing method is based on packet-level scheduling. As a result, a queue’s bandwidth
percentage does not necessarily reflect the exact bandwidth share the queue receives. This is due to the effects
of variable size packets.
USING THE CLI
To change the minimum guaranteed bandwidth percentages of the queues, enter commands such as the
following. Note that this example uses the default queue names.
BigIron(config)# qos profile qosp3 75 qosp2 10 qosp1 10 qosp0 5
Profile qosp3 : PREMIUM bandwidth requested 75% calculated 75%
Profile qosp2 : HIGH bandwidth requested 10% calculated 13%
Profile qosp1 : NORMAL bandwidth requested 10% calculated 8%
Profile qosp0 : BEST-EFFORT bandwidth requested 5% calculated 4%
BigIron(config)# write memory
Notice that the CLI displays the percentages you request and the percentages the device can provide based on
your request. The values are not always the same, as explained below.
Syntax:
[no] qos profile <queue> <percentage> <queue> <percentage> <queue> <percentage>
<queue> <percentage>
Each <queue> parameter specifies the name of a queue. You can specify the queues in any order on the
command line, but you must specify each queue.
The <percentage> parameter specifies a number for the percentage of the device’s outbound bandwidth that are
allocating to the queue.
NOTE:
The percentages you enter must equal 100. Also, the percentage for the premium queue (the highest
priority queue) must be at least 50.
If you enter percentages that are less than the minimum percentages supported for a queue, the CLI recalculates
the percentages to fall within the supported minimums. Here is an example. In this example, the values entered
for all but the best-effort queue (the lowest priority queue) are much lower than the minimum values supported for
those queues.
BigIron(config)# qos qosp3 1 qosp2 1 qosp1 2 qosp0 96
Warning - qosp3 bandwidth should be at least 50%
bandwidth scheduling mechanism: weighted priority
Profile qosp3 : PREMIUM bandwidth requested 1% calculated 50%
Profile qosp2 : HIGH bandwidth requested 1% calculated 25%
Profile qosp1 : NORMAL bandwidth requested 2% calculated 13%
Profile qosp0 : BEST-EFFORT bandwidth requested 96% calculated 12%
This example shows the warning message that is displayed if you enter a value that is less than 50% for the
premium queue. This example also shows the recalculations performed by the CLI. The CLI must normalize the
values because the weighted fair queuing algorithm and queue hardware require specific minimum bandwidth
allocations. You cannot configure the hardware to exceed the weighted fair queuing limitations.
The CLI normalizes the percentages you enter by increasing the percentages as needed for queues that have
less than the minimum percentage, converting the percentages to weights (which the weighted fair queuing
algorithm uses), and applying the following equations to calculate the percentages:
qosp3 = w3 / (w3 + 1)
qosp2 = (1 – qosp3) * w2 / (w2 + 1)
qosp1 = (1 – qosp3 – qosp2) * w1 / (w1 + 1)
qosp0 = 1 – qosp3 – qosp2 – qosp1
The value “w” stands for “weight”. Thus, these calculations determine the weights that the weighted fair queuing
algorithm will use for each queue.
Summary of Contents for Switch and Router
Page 2: ...December 2000 Copyright 2000 by Foundry Networks Inc ...
Page 26: ...Foundry Switch and Router Installation and Configuration Guide xxvi December 2000 ...
Page 64: ...Foundry Switch and Router Installation and Configuration Guide 2 34 December 2000 ...
Page 162: ...Foundry Switch and Router Installation and Configuration Guide 5 38 December 2000 ...
Page 196: ...Foundry Switch and Router Installation and Configuration Guide 6 34 December 2000 ...
Page 208: ...Foundry Switch and Router Installation and Configuration Guide 7 12 December 2000 ...
Page 236: ...Foundry Switch and Router Installation and Configuration Guide 8 28 December 2000 ...
Page 258: ...Foundry Switch and Router Installation and Configuration Guide 9 22 December 2000 ...
Page 420: ...Foundry Switch and Router Installation and Configuration Guide 13 32 December 2000 ...
Page 442: ...Foundry Switch and Router Installation and Configuration Guide 14 22 December 2000 ...
Page 554: ...Foundry Switch and Router Installation and Configuration Guide 15 112 December 2000 ...
Page 574: ...Foundry Switch and Router Installation and Configuration Guide 16 20 December 2000 ...
Page 626: ...Foundry Switch and Router Installation and Configuration Guide 17 52 December 2000 ...
Page 682: ...Foundry Switch and Router Installation and Configuration Guide 18 56 December 2000 ...
Page 826: ...Foundry Switch and Router Installation and Configuration Guide 20 20 December 2000 ...
Page 994: ...Foundry Switch and Router Installation and Configuration Guide 26 10 December 2000 ...
Page 1004: ...Foundry Switch and Router Installation and Configuration Guide B 6 December 2000 ...
Page 1044: ...Foundry Switch and Router Installation and Configuration Guide C 40 December 2000 ...
Page 1048: ...Foundry Switch and Router Installation and Configuration Guide D 4 December 2000 ...
Page 1070: ...Foundry Switch and Router Installation and Configuration Guide Index 18 December 2000 ...