random-detect exp
To configure the Weighted Random Early Detection (WRED) thresholds for packets marked with a specific
MPLS experimental (EXP) bit value, use the random-detect exp command in policy map class configuration
mode. To return the value to the default, use the no form of this command.
random-detect exp exp-value min-threshold [ units ] max-threshold [ units ]
no random-detect exp exp-value min-threshold [ units ] max-threshold [ units ]
Syntax Description
MPLS experimental value. Valid values are from 0 to 7. Up to eight values can be
entered separated by commas.
exp-value
Minimum threshold in number of packets. The value range of this argument is from
0 to 1073741823 in bytes.
min-threshold
Maximum threshold in units specified. The value range of this argument 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
experimental 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 was 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
OL-23235-03 87
Quality of Service Commands on the Cisco IOS XR Software
random-detect exp