queue weighting-constant
Syntax
queue queue-number weighting-constant exponent
undo queue queue-number weighting-constant
View
WRED table view
Default level
2: System level
Parameters
queue-number: Queue number.
weighting-constant exponent: Specifies the exponent for average queue length calculation, in the range
of 0 to 21. This argument is 8 by default.
Description
Use queue weighting-constant to specify an exponent for average queue length calculation for a
specified queue.
Use undo queue weighting-constant to restore the default.
Related commands: qos wred table.
Examples
# Set the exponent for average queue length calculation to 12 for queue 1 in the queue-based WRED
table queue-table1.
<Sysname> system-view
[Sysname] qos wred queue table queue-table1
[Sysname-wred-table-queue-table1] queue 1 weighting-constant 12
qos wred apply
Syntax
qos wred apply table-name
undo qos wred apply
View
Interface view, port group view
Default level
2: System level
Parameters
table-name: Name of a global WRED table.
Description
Use qos wred apply to apply a global WRED table on a port/port group.
Use undo qos wred apply to restore the default.
100