R0106-HP MSR Router Series ACL and QoS Configuration Guide(V7)
53
Enabling WRED
When you enable WRED, follow these guidelines:
• Before enabling WRED, configure the queue af or queue wfq command.
• The wred command and the queue-length command are mutually exclusive.
• When WRED is disabled, other WRED configurations are deleted.
To enable 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
By default, no traffic behavior is created.
3. Enable WRED.
wred [ dscp |
ip-precedence ]
By default, WRED is not enabled.
Configuring the exponent for WRED to calculate the average queue size
Before configuring the WRED exponent, make sure the queue af or 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
By default, no traffic behavior is
created.
3. Configure the exponent for WRED
to calculate the average queue
size.
wred weighting-constant
exponent
The default setting is 9.
Configuring the lower limit, upper limit, and drop probability denominator for a 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-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
By default, no traffic behavior is
created.










