Command Manual – QoS/ACL
Quidway S8500 Series Routing Switches
Chapter 2 QoS Commands
Huawei Technologies Proprietary
2-30
yellow
-
min-threshhold
: Minimum queue length to trigger random yellow packet
dropping, in the range of 0 to 65535. It must be a multiple of 256 bytes.
yellow
-
max-threshhold
: Queue length to trigger complete yellow packet dropping, in
the range of 0 to 65535. It must be a multiple of 256 bytes.
yellow
-
max-prob
: Maximum drop probability for yellow packets, in the range of 1 to 15.
red-min-threshhold
: Minimum queue length to trigger random red packet dropping, in
the range of 0 to 65535. It must be a multiple of 256 bytes.
red-max-threshhold
: Queue length to trigger complete red packet dropping, in the
range of 0 to 65535. It must be a multiple of 256 bytes.
red-max-prob
: Maximum drop probability for green packets, in the range of 1 to 15.
exponent
: Weight for calculating average queue length, in the range of 1 to 15. By
default, it is 9.
Description
Use the
queue
command to configure parameters for a WRED index.
Use the
undo
queue
command to restore the default parameters for the WRED index.
The switch provides four sets of default WRED parameters, respectively numbered as
0, 1, 2 and 3. Each set includes 80 parameters, 10 parameters for each of the eight
queues. The ten parameters are
green-min-threshhold
,
yellow
-
min-threshhold
,
red-min-threshhold
,
green-max-threshhold
,
yellow
-
max-threshhold
,
red-max-threshhold
,
green-max-prob
,
yellow
-
max-prob
,
red-max-prob
and
exponent
.
You can use the command to modify the parameters of a specific WRED index.
Example
# Configure parameters for WRED 0:
queue-id
is 7;
green-min-threshold
is 150;
green-max-threshold
is 500;
green-max-prob
is 5;
yellow
-
min-threshold
is 100;
yellow
-
max-threshold
is 150;
yellow
-
max-prob
is 10;
red-min-threshold
is 50;
red-max-threshold
is 100;
red-max-prob
is 15;
exponent
is 10.
<Quidway> system-view
System View: return to User View with Ctrl+Z.
[Quidway]wred 0
[Quidway-wred-0] queue 7 150 500 5 100 150 10 50 100 15 10
2.1.30 queue-scheduler
Syntax
queue-scheduler wrr
{
group1
{
queue-id queue-weight
} &<1-8> |
group2
{
queue-id
queue-weight
} &<1-8> }*
undo queue-scheduler
[
queue-id
] &<1-8>