Command Line Interface Guide

682 QoS Commands
1 - 18.75% of maximum drop probability
2 - 30.25% of maximum drop probability
3 - 43.75% of maximum drop probability
4 - 56.25% of maximum drop probability
5 - 68.75% of maximum drop probability
6 - 81.25% of maximum drop probability
7 - 92.75% of maximum drop probability
Packets are dropped at 100% when the queue size exceeds the maximum
value and at 0% when the queue size is below the minimum value.
If the maxthresh is less than the corresponding minthresh, it is adjusted to be
the minthresh plus one.
Example
This example configures interface te2/0/1 to drop packets queued for egress
on the all interfaces (global config) or a single interface (interface config)
with a piecewise linear approximation of the configured probability when the
average queue size is within the given range:
TCP Green Range: 15 to 74% - 10% maximum drop probability
TCP Yellow Range: 75% to 89% - 50% maximum drop probability
TCP Red Range: 90% to 98% - 75% maximum drop probability
Non-TCP traffic: 50 to 98% - 50% maximum drop probability
console(config-if-Te2/0/1)#random-detect queue-parms 0 min-
thresh 15 75 90 50 max-thresh 74 89 98 98 drop-prob-scale 10
50 75 50
random-detect exponential-weighting-constant
Use the random-detect exponential-weighting-constant command to
configure the decay in the calculation of the average queue size user for
WRED on an interface or all interfaces.
Syntax
random-detect exponential-weighting-constant
0-15
2CSPC4.X8100-SWUM100.book Page 682 Wednesday, August 29, 2012 6:23 PM