94
low-limit
low-limit
: Lower limit, which is 100 by default. The range for the
low-limit
argument is from 0 to
8000.
high-limit
high-limit
: Upper limit, which is 1000 by default. The range for the
high-limit
argument is from
0 to 8000.
discard-probability
discard-prob
: Specifies the drop probability in percentage, in the range of 0 to 100.
When the queue length is within the lower limit and upper limit, the switch drops packets based on the
drop probability.
Description
Use the
queue
command to configure the drop-related parameters for a specified queue in the
queue-based WRED table.
Use the
undo queue
command to restore the default.
By default, the global queue-based WRED table uses the following parameters: lower limit 100, upper
limit 1000, and drop probability
10.
Related commands:
qos wred queue table
.
Examples
# Modify the drop-related parameters for packets with drop level 1 in queue 1 in WRED table
queue-table1
as follows: lower limit 120, upper limit 300, and drop probability 20.
<Sysname> system-view
[Sysname] qos wred queue table queue-table1
[Sysname-wred-table-queue-table1]
[Sysname-wred-table-queue-table1] queue 1 drop-level 1 low-limit 120 high-limit 300
discard-probability 20
queue weighting-constant
Syntax
queue
queue-id
weighting-constant
exponent
undo queue
queue-id
weighting-constant
View
WRED table view
Default level
2: System level
Parameters
queue-id
: Queue number, in the range of 0 to 7.
exponent
: Exponent for average queue length calculation. This argument is 9 by default. The range for
the
exponent
argument is from 0 to 15.
Description
Use the
queue weighting-constant
command to configure the exponent for average queue length
calculation.
Use the
undo queue weighting-constant
command to restore the default.