2-235
Cisco ME 3800X and ME 3600X Switch Command Reference
OL-28238-01
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands
random-detect precedence
random-detect precedence
To configure WRED parameters for a particular IP Precedence for a class policy in a policy map, use the
random-detect precedence command in policy-map class configuration mode. To return the values to
the default for the precedence, use the no form of this command.
random-detect precedence precedence_value min-threshold max-threshold
mark-probability-denominator
no random-detect precedence
Syntax Description
Command Default For all precedences, the mark-probability-denominator default is 10, and the max-threshold is based on
the output buffering capacity and the transmission speed for the interface.
The default min-threshold depends on the precedence. The min-threshold for IP Precedence 0
corresponds to half of the max-threshold. The values for the remaining precedences fall between half the
max-threshold and the max-threshold at evenly spaced intervals. See Table 5 in the “Usage Guidelines”
section of this command for a list of the default minimum threshold values for each IP Precedence.
Command Modes Policy-map class configuration (config-pmap-c)
Command History
Usage Guidelines WRED is a congestion avoidance mechanism that slows traffic by randomly dropping packets when
congestion exists.
precedence IP Precedence number. The value range is from 0 to 7.
min-threshold Minimum threshold in number of packets. The value range of this
argument is from 1 to 4096. When the average queue length reaches
the minimum threshold, WRED randomly drops some packets with
the specified IP Precedence.
max-threshold Maximum threshold in number of packets. The value range of this
argument is from the value of the min-threshold argument to 4096.
When the average queue length exceeds the maximum threshold,
WRED drops all packets with the specified IP Precedence.
mark-probability-denominator Denominator for the fraction of packets dropped when the average
queue depth is at the maximum threshold. For example, if the
denominator is 512, 1 out of every 512 packets is dropped when the
average queue is at the maximum threshold. The value range is from
1 to 65536. The default is 10; 1 out of every 10 packets is dropped at
the maximum threshold.
Release Modification
15.1(2) EY This command was introduced.