R3303-HP HSR6800 Routers ACL and QoS Command Reference

108
Syntax
wred [ dscp | ip-precedence ]
undo wred
Views
Traffic behavior view
Default command level
2: System level
Parameters
dscp: Uses the DSCP value for calculating drop probability of a packet.
ip-precedence: Uses the IP precedence value for calculating drop probability of a packet. This keyword
is the default.
Usage guidelines
You can configure this command only after you have configured the queue af command or the queue
wfq command. Applying a QoS policy with WRED configured to an interface overwrites the previous
interface-level WRED configuration.
Examples
# Configure WRED in traffic behavior database and calculate drop probability based on IP precedence.
<Sysname> system-view
[Sysname] traffic behavior database
[Sysname-behavior-database] queue wfq
[Sysname-behavior-database] wred
Related commands
qos policy
traffic behavior
classifier behavior
wred dscp
Use wred dscp to configure the lower limit, upper limit, and drop probability for packets with a specified
DSCP value.
Use undo wred dscp to delete the configuration.
Syntax
wred dscp dscp-value low-limit low-limit high-limit high-limit [ discard-probability discard-prob ]
undo wred dscp dscp-value
Views
Traffic behavior view
Default command level
2: System level