Administrator Guide

Layer 2 Switching Commands 722
Example
The following example shows how to establish a new ingress DiffServ policy
named "DELL."
console(config)#policy-map DELL in
console(config-policy-classmap)#
random-detect queue-parms
Use the random-detect queue-parms command to configure the WRED
green, yellow, and red TCP and non-TCP packet minimum and maximum
drop thresholds and corresponding drop probabilities on an interface or
globally.
NOTE: On the N1500 Series switches, enable Simple RED since the
hardware is not capable of Weighted Red.
Syntax
random-detect queue-parms
queue-id
[queue-id] ... min-thresh
minthresh-
green minthresh-yellow minthresh-red minthresh-nontcp
max-thresh
max-
thresh-green max-thresh-yellow max-thresh-red maxthresh-nontcp
drop-
prob-scale
drop-scale-green
drop-scale-yellow
drop-scale-red
drop-scale-
nontcp
[ ecn ]
no random-detect queue-parms
queue-id
[queue-id] ...
queue-id
—The internal class of service queue. Range 0 to 6. The queue-id
is not the same as the CoS value received in incoming packets. Use the
show classofservice dot1p-mapping
command to display the CoS value to
internal CoS queue mapping.
min-thresh
—The minimum threshold at which to begin dropping, based
on the configured maximum drop probability for each color and for non-
TCP packets. Range 0 to 250. At or below the minimum threshold, no
packets are dropped. The range between the minimum and maximum
thresholds is divided equally into eight increasing levels of drop probability.
max-thresh
—The maximum threshold to end dropping at the configured
maximum drop probability for each color and for non-TCP packets. Range
0 to 250. Above the maximum threshold, 100% of matching packets are
dropped.
2CSNXXX_SWUM204.book Page 722 Monday, January 25, 2016 1:25 PM