2-227
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 cos
random-detect cos
To specify the outer class of service (CoS) value of a packet, the minimum and maximum thresholds,
and the maximum probability denominator used for enabling weighted random early detection (WRED),
use the random-detect cos command in policy-map class configuration mode. To reset the thresholds
and maximum probability denominator to the default values for the specified CoS, use the no form of
this command.
random-detect cos cos-value min-threshold max-threshold mark-probability-denominator
no random-detect cos cos-value min-threshold max-threshold mark-probability-denominator
Syntax Description
Defaults The default values for the min-threshold and max-threshold arguments are based on the output buffering
capacity and the transmission speed for the interface.
The default value for the mark-probability-denominator argument is 10; 1 out of every 10 packets is
dropped at the maximum threshold.
Command Modes Policy-map class configuration
Command History
Usage Guidelines Note the following points when using the random-detect cos command:
• When the average queue length reaches the minimum threshold, WRED randomly drops some
packets with the specified IP precedence.
• When the average queue length exceeds the maximum threshold, WRED drops all packets with the
specified IP precedence.
• The mark-probability-denominator argument is 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.
cos-value Specifies the CoS value. The CoS value ranges from 0 to 7.
min-threshold Minimum threshold in number of packets. Valid values are 1 to 4096.
max-threshold Maximum threshold in number of packets. Valid values are 1 to 4096.
mark-probabilit
y-denominator
Denominator for the fraction of packets dropped when the average queue depth is
at the maximum threshold. Valid values are 1 to 65535.
Release Modification
15.1(2)EY This command was introduced.