R0106-HP MSR Router Series ACL and QoS Configuration Guide(V7)
63
[Sysname] interface gigabitethernet 2/1/0
# Enable IP precedence-based WRED.
[Sysname-GigabitEthernet2/1/0] qos wred ip-precedence enable
# Set the following parameters for packets with IP precedence value 3: lower threshold 20, upper
threshold 40, and drop probability denominator 15.
[Sysname-GigabitEthernet2/1/0] qos wred ip-precedence 3 low-limit 20 high-limit 40
discard-probability 15
# Set the exponent for average queue size calculation to 6.
[Sysname-GigabitEthernet2/1/0] qos wred weighting-constant 6
Displaying and maintaining WRED
Execute display commands in any view.
Task Command
Display WRED configuration and statistics for
an interface or PVC.
display qos wred interface [ interface-type interface-number
[ pvc { pvc-name | vpi/vci } ] ]