random-detect precedence
random-detect precedence
To configure the Weighted Random Early Detection (WRED) thresholds for packets with a particular IP
precedence, use the random-detect precedence command in policy map class configuration mode. To return
the thresholds to the default for the precedence, use the no form of this command.
random-detect precedence precedence-value min-threshold [ units ] max-threshold [ units ]
no random-detect precedence precedence-value min-threshold [ units ] max-threshold [ units ]
Syntax Description
precedence-value
min-threshold
max-threshold
units
Command Default
Default unit for max-threshold and min-threshold is packets.
Command Modes
Policy map class configuration
Command History
Release
Release 2.0
Release 3.2
Cisco IOS XR Modular Quality of Service Command Reference for the Cisco CRS Router, Release 4.0
90
An IP precedence value identifier that specifies the exact value. Range is from 0 to
7. Reserved keywords can be specified instead of numeric values.
Precedence Values and Names, on page 51
eight values or reserved keywords can be entered separated by commas.
Minimum threshold in number of packets. Range is from 0 to 1073741823 in bytes.
Maximum threshold in the units specified. Range is from the value of the
min-threshold argument to 1073741823. When the average queue length exceeds the
maximum threshold, WRED drops all packets with the specified precedence value.
(Optional) Units for the threshold values. Values can be:
• bytes—bytes
• gbytes—gigabytes
• kbytes—kilobytes
• mbytes—megabytes
• ms—milliseconds
• packets—packets (default)
• us—microseconds
Modification
This command was introduced.
Range of values for the thresholds changed from 512 to 1073741823 to
0 to 1073741823.
Quality of Service Commands on the Cisco IOS XR Software
describes the reserved keywords. Up to
Table 3: IP
OL-23235-03