Table 39 Command output
Field
Interface
Exponent
Precedence
Random discard
Tail discard
Low limit
High limit
Discard probability
qos wred enable
Use qos wred enable to enable WRED on an interface/PVC.
Use undo qos wred enable to restore the default.
Syntax
qos wred [ dscp | ip-precedence ] enable
undo qos wred enable
Default
Tail drop is used.
Views
Interface view, PVC view
Default command level
2: System level
Parameters
dscp: Uses the DSCP values for calculating drop probability.
ip-precedence: Uses the IP precedence for calculating drop probability. This keyword is specified by
default.
Usage guidelines
To configure this command on a interface, enable WFQ on the interface first.
Examples
# Enable WRED on GigabitEthernet 1/0/1, and use the IP precedence for drop probability calculation.
<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
Related commands
•
qos wfq
Description
Interface type and interface number.
WRED exponent for average queue length calculation.
IP precedence.
Number of packets randomly dropped.
Number of packets dropped using tail drop.
Lower limit for a queue.
Upper limit for a queue.
Drop probability.
127