R3303-HP HSR6800 Routers ACL and QoS Command Reference
109
Parameters
dscp-value: DSCP value in the range of 0 to 63. This argument can also be represented using one of the
keywords listed in Table 17.
lo
w limit low-limit: Specifies the lower WRED limit in number of packets. The value range for the low-limit
argument is 1 to 1024, and the default is 10.
high-limit high-limit: Specifies the upper WRED limit in number of packets. The value range for the
high-limit argument is 1 to 1024, and the default is 30.
discard-probability discard-prob: Specifies the denominator for the drop probability. The value range for
the discard-prob argument is 1 to 255, and the default is 10.
Usage guidelines
Before configuring this command, make sure the DSCP-based WRED drop is enabled using the wred
command.
Removing the wred command configuration removes the wred dscp command configuration as well.
The drop-related parameters are removed if the configuration set with the queue af command or the
queue wfq command is removed.
Examples
# Set the following parameters for packets with DSCP value 3: lower limit 20, upper limit 40, and drop
probability 15.
<Sysname> system-view
[Sysname] traffic behavior database
[Sysname-behavior-database] queue wfq
[Sysname-behavior-database] wred dscp
[Sysname-behavior-database] wred dscp 3 low-limit 20 high-limit 40 discard-probability
15
Related commands
• qos policy
• traffic behavior
• classifier behavior
wred ip-precedence
Use wred ip-precedence to configure the lower limit, upper limit, and drop probability for packets with
a specified IP precedence.
Use undo wred ip-precedence to delete the configuration.
Syntax
wred ip-precedence precedence low-limit low-limit high-limit high-limit [ discard-probability
discard-prob ]
undo wred ip-precedence precedence
Views
Traffic behavior view