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

105
Use undo qos wred dscp to restore the default.
Syntax
qos wred dscp dscp-value low-limit low-limit high-limit high-limit discard-probability discard-prob
undo qos wred dscp dscp-value
Default
The low-limit is 10, high-limit is 30, and discard-prob is 10.
Views
Interface view, PVC 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 0 to 255.
Usage guidelines
Before configuring this command, enable DSCP-based WRED on the interface or PVC with the qos wred
dscp enable command. The upper and lower limits restrict the average queue length.
Examples
# Configure the following parameters for packets with DSCP value 63 on GigabitEthernet 2/1/0: lower
limit 20, upper limit 40, and drop probability 15.
<Sysname> system-view
[Sysname] interface gigabitethernet 2/1/0
[Sysname-GigabitEthernet2/1/0] qos wfq queue-length 100 queue-number 512
[Sysname-GigabitEthernet2/1/0] qos wred dscp enable
[Sysname-GigabitEthernet2/1/0] qos wred dscp 63 low-limit 20 high-limit 40
discard-probability 15
Related commands
display qos wred interface
qos wred enable
qos wred ip-precedence
Use qos wred ip-precedence to configure the lower limit, upper limit, and drop probability for an IP
precedence value.
Use undo qos wred ip-precedence to restore the default.
Syntax
qos wred ip-precedence ip-precedence low-limit low-limit high-limit high-limit discard-probability
discard-prob
undo qos wred ip-precedence ip-precedence