R0106-HP MSR Router Series ACL and QoS Command Reference(V7)
101
Views
Traffic behavior view
Predefined user roles
network-admin
Parameters
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 1 to 255.
Usage guidelines
Before configuring this command, make sure IP precedence-based WRED is enabled by using the wred
command.
Disabling WRED also removes the wred ip-precedence command configuration.
Removing the queue af or queue wfq command configuration also removes the WRED-related
parameters.
Examples
# Configure the following parameters for packets with IP precedence 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 ip-precedence
[Sysname-behavior-database] wred ip-precedence 3 low-limit 20 high-limit 40
discard-probability 15
Related commands
• queue af
• queue wfq
• wred
wred weighting-constant
Use wred weighting-constant to configure the exponent for WRED to calculate the average queue size.
Use undo wred weighting-constant to restore the default.
Syntax
wred weighting-constant exponent
undo wred weighting-constant
Default
The exponent for WRED to calculate the average queue size is 9.
Views
Traffic behavior view