R3303-HP HSR6800 Routers ACL and QoS Command Reference
126
wred
Use wred to enable WRED drop in a traffic behavior.
Use undo wred to delete the configuration from a traffic behavior.
Syntax
wred [ dscp | ip-precedence ]
undo wred
Views
Traffic behavior view
Default command level
2: System level
Parameters
dscp: Uses DSCP for calculating drop probability for a packet.
ip-precedence: Uses IP precedence for calculating drop probability for a packet. If neither dscp nor
ip-precedence is specified, IP precedence applies by default.
Usage guidelines
You can configure a WRED drop action only after you have configured the queue af command or the
queue wfq command. The WRED settings in QoS policies override the WRED settings directly configured
on interfaces.
Examples
# Configure IP precedence-based WRED in traffic behavior database.
<Sysname> system-view
[Sysname] traffic behavior database
[Sysname-behavior-database] queue wfq
[Sysname-behavior-database] wred
Related commands
• qos policy
• traffic behavior
• classifier behavior