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
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. Table 3: IP
Precedence Values and Names, on page 51 describes the reserved keywords. Up to
eight values or reserved keywords can be entered separated by commas.
precedence-value
Minimum threshold in number of packets. Range is from 0 to 1073741823 in bytes.
min-threshold
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.
max-threshold
(Optional) Units for the threshold values. Values can be:
• bytes—bytes
• gbytes—gigabytes
• kbytes—kilobytes
• mbytes—megabytes
• ms—milliseconds
• packets—packets (default)
• us—microseconds
units
Command Default
Default unit for max-threshold and min-threshold is packets.
Command Modes
Policy map class configuration
Command History
ModificationRelease
This command was introduced.Release 2.0
Range of values for the thresholds changed from 512 to 1073741823 to
0 to 1073741823.
Release 3.2
Cisco IOS XR Modular Quality of Service Command Reference for the Cisco CRS Router, Release 4.0
90 OL-23235-03
Quality of Service Commands on the Cisco IOS XR Software
random-detect precedence