R2511-HP MSR Router Series ACL and QoS Command Reference(V5)
120
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
Views
Interface view, PVC view
Default command level
2: System level
Parameters
ip-precedence precedence: IP precedence value in the range of 0 to 7.
low limit low-limit: Specifies the lower WRED limit value in the range of 1 to 1024.
high-limit high-limit: Specifies the upper WRED limit value in the range of 1 to 1024.
discard-probability discard-prob: Specifies the drop probability denominator in the range of 1 to 255.
Usage guidelines
Before this configuration, enable IP precedence-based WRED on the interface/PVC with the qos wred
enable command first. The upper and lower limits restrict the average queue length.
Examples
# Configure the following parameters for packets with IP precedence 3 on Ethernet 1/1: lower limit 20,
upper limit 40, and drop probability 15.
<Sysname> system-view
[Sysname] interface ethernet 1/1
[Sysname-Ethernet1/1] qos wfq queue-length 100 queue-number 512
[Sysname-Ethernet1/1] qos wred ip-precedence enable
[Sysname-Ethernet1/1] qos wred ip-precedence 3 low-limit 20 high-limit 40
discard-probability 15
Related commands
• qos wred enable
• display qos wred interface
qos wred weighting-constant
Use qos wred weighting-constant to configure the exponent for calculating the average queue length.
Use undo qos wred weighting-constant to restore the default.
Syntax
qos wred weighting-constant exponent
undo qos wred weighting-constant










