2-230
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 dscp
random-detect dscp
To change the minimum and maximum packet thresholds for the differentiated services code point
(DSCP) value, use the random-detect dscp command in QoS policy-map class configuration mode. To
return the minimum and maximum packet thresholds to the default for the DSCP value, use the no form
of this command.
random-detect dscp dscp-value min-threshold max-threshold [mark-probability-denominator]
no random-detect dscp dscp-value min-threshold max-threshold [mark-probability-denominator]
Syntax Description
Command Default If WRED is using the DSCP value to calculate the drop probability of a packet, all entries of the DSCP
table are initialized with the default settings shown in Table 4 in the “Usage Guidelines” section of this
command.
Command Modes Policy-map class configuration
Command History
Usage Guidelines The random-detect dscp command allows you to specify the DSCP value. The DSCP value can be a
number from 0 to 63, or it can be one of the following keywords: af11, af12, af13, af21, af22, af23, af31,
af32, af33, af41, af42, af43, cs1, cs2, cs3, cs4, cs5, or cs7.
dscp-value The DSCP value. The DSCP value can be a number from 0 to 63, or
it can be one of the following keywords: af11, af12, af13, af21,
af22, af23, af31, af32, af33, af41, af42, af43
, cs1, cs2, cs3, cs4,
cs5, cs7, ef, or rsvp.
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, Weighted Random Early Detection
(WRED) randomly drops some packets with the specified DSCP
value.
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 DSCP value.
mark-probability-denominator (Optional) 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.