R0106-HP MSR Router Series ACL and QoS Command Reference(V7)
100
Views
Traffic behavior view
Predefined user roles
network-admin
Parameters
dscp-value: Specifies a DSCP value in the range of 0 to 63. This argument can also be represented by
using one of the keywords listed in Table 18.
lo
w limit low-limit: Specifies the lower WRED limit (in packets) in the range of 1 to 1024.
high-limit high-limit: Specifies the upper WRED limit (in packets) in the range of 1 to 1024.
discard-probability discard-prob: Specifies the drop probability in the range of 1 to 255.
Usage guidelines
Before configuring this command, make sure DSCP-based WRED is enabled by using the wred
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.
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
• queue af
• queue wfq
• wred
wred ip-precedence
Use wred ip-precedence to configure the lower limit, upper limit, and drop probability for packets with
an IP precedence value.
Use undo wred ip-precedence to restore the default.
Syntax
wred ip-precedence precedence low-limit low-limit high-limit high-limit [ discard-probability
discard-prob ]
undo wred ip-precedence precedence
Default
The low-limit is 10, high-limit is 30, and discard-prob is 10.