R3303-HP HSR6800 Routers ACL and QoS Command Reference

130
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 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 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 GigabitEthernet 1/0/1: lower
limit 20, upper limit 40, and drop probability 15.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] qos wfq queue-length 100 queue-number 512
[Sysname-GigabitEthernet1/0/1] qos wred ip-precedence enable
[Sysname-GigabitEthernet1/0/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