R0106-HP MSR Router Series ACL and QoS Command Reference(V7)

99
Use undo wred to restore the default.
Syntax
wred [ dscp | ip-precedence ]
undo wred
Default
WRED is not enabled.
Views
Traffic behavior view
Predefined user roles
network-admin
Parameters
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.
Usage guidelines
You can configure this command only after you have configured the queue af or queue wfq command.
This command and the queue-length command are mutually exclusive.
When WRED is disabled, other WRED configurations are deleted.
Examples
# Enable WRED in traffic behavior database and calculate the drop probabilities based on IP
precedence values.
<Sysname> system-view
[Sysname] traffic behavior database
[Sysname-behavior-database] queue wfq
[Sysname-behavior-database] wred
Related commands
queue af
queue wfq
wred dscp
Use wred dscp to configure the lower limit, upper limit, and drop probability for packets with a DSCP
value.
Use undo wred dscp to restore the default.
Syntax
wred dscp dscp-value low-limit low-limit high-limit high-limit [ discard-probability discard-prob ]
undo wred dscp dscp-value
Default
The low-limit is 10, high-limit is 30, and discard-prob is 10.