R2511-HP MSR Router Series ACL and QoS Configuration Guide(V5)
60
3. Use WRED drop.
wred [ dscp | ip-precedence ]
• dscp—Uses the DSCP value for calculating
the drop probability for a packet.
• ip-precedence—Uses the IP precedence
value for calculating the drop probability for
a packet. This keyword is used by default.
Configuring the exponent for WRED to calculate the average queue size
Before configuring the wred weighting-constant command, make sure the queue af command or the
queue wfq command has been configured and the wred command has been used to enable WRED.
To configure the exponent for WRED to calculate the average queue size:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Create a traffic behavior and
enter traffic behavior view.
traffic behavior behavior-name
The specified traffic behavior name
cannot be the name of any
system-defined behavior.
3. Configure the exponent for WRED
to calculate the average queue
size.
wred weighting-constant
exponent
The default exponent is 9.
Configuring the lower limit, upper limit, and drop probability denominator for each DSCP value in
WRED
To perform this configuration, make sure DSCP-based WRED has been enabled with the wred dscp
command.
Disabling WRED also removes the wred dscp command configuration.
Removing the queue af or queue wfq command configuration also removes the WRED drop-related
parameters.
To configure the lower limit, upper limit, and drop probability denominator for a DSCP value in WRED:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Create a traffic behavior and
enter traffic behavior view.
traffic behavior behavior-name
The specified traffic behavior
name cannot be the name of any
system-defined behavior.
3. Configure the lower limit,
upper limit and drop
probability denominator for a
DSCP value in WRED.
wred dscp dscp-value low-limit
low-limit high-limit high-limit
[ discard-probability discard-prob ]
N/A
dscp-value: DSCP value in the range of 0 to 63, which can also be any of the following keywords: ef,
af11, af12, af13, af21, af22, af23, af31, af32, af33, af41, af42, af43, cs1, cs2, cs3, cs4, cs5, cs6, cs7,
and default.










