Using WRED drop
When the WRED drop configuration is removed, other configurations under it are deleted.
The WRED configuration in QoS policies overrides the WRED configuration directly configured on
interfaces.
To do...
1.
Enter system view.
2.
Create a traffic behavior
and enter traffic
behavior view.
3.
Use WRED drop.
Configuring WRED exponent to calculate average queue size
To do...
1.
Enter system view.
2.
Create a traffic behavior and
enter traffic behavior view.
3.
Configure the WRED
exponent to calculate the
average queue size.
Command...
Remarks
system-view
—
Required.
traffic behavior
The specified traffic behavior name cannot be the name
behavior-name
of any system-defined behavior.
Required.
wred [ dscp |
ip-precedence ]
Before configuring wred [ dscp | ip-precedence ],
configure queue af or queue wfq.
The wred and queue-length commands are mutually
exclusive.
Command...
system-view
traffic behavior
behavior-name
wred weighting-
constant exponent
60
dscp—Uses the DSCP value for calculating the drop
probability for a packet.
ip-precedence—Uses the IP precedence value for
calculating the drop probability for a packet; this
keyword is used by default.
Remarks
—
Required.
The specified traffic behavior name cannot be
the name of any system-defined behavior.
Required.
The default exponent is 9.
Before configuring wred weighting-constant,
ensure queue af or queue wfq has been
configured and wred has been used to enable
WRED drop.