1.34 wred weighting-constant
Syntax
wred weighting-constant exponent
undo wred weighting-constant
View
Policy-class view
Parameter
exponent: Exponential in the range of 1 to 16. It is 6 by default.
Description
Using wred weighting-constant command, you can set exponential for the
calculation of average queue length by WRED. Using undo wred
weighting-constant command, you can remove the configuration.
Before using this command, you must have configured the af command and have
used the wred command to enable the WRED discarding mode.
When removing the wred configuration, the configuration of wred
weighting-constant is deleted at a time.
For the related command, see qos policy, qos-class.
Example
Configure exponential for calculating average queue to 6.
[3Com] qos policy 3Com
[3Com-qospolicy-3Com] qos-class database
[3Com-qospolicy-c-3Com database] af bandwidth 200
[3Com-qospolicy-c-3Com database] wred ip-precedence
[3Com-qospolicy-c-3Com database] wred weighting-constant 6
3Com Router Command Reference Guide Addendum for V1.2
34