R0106-HP MSR Router Series ACL and QoS Command Reference(V7)
106
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
ip-precedence precedence: Specifies an IP precedence value in the range of 0 to 7.
low 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 IP precedence-based WRED on the interface or PVC with the
qos wred enable command.
The upper and lower limits restrict the average queue length.
Examples
# Configure the following parameters for packets with IP precedence value 3 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 ip-precedence enable
[Sysname-GigabitEthernet2/1/0] qos wred ip-precedence 3 low-limit 20 high-limit 40
discard-probability 15
Related commands
• display qos wred interface
• qos wred enable
qos wred weighting-constant
Use qos wred weighting-constant to configure the exponent for WRED to calculate the average queue
size.
Use undo qos wred weighting-constant to restore the default.
Syntax
qos wred weighting-constant exponent
undo qos wred weighting-constant
Default
The exponent for WRED to calculate the average queue size is 9.
Views
Interface view, PVC view