random-detect cos
To configure Weighted Random Early Detection (WRED) thresholds for packets with a specific class of
service (CoS) value, use the random-detect cos command in policy map class configuration mode. To return
the thresholds to the default for the CoS, use the no form of this command.
random-detect cos cos-value min-threshold [ units ] max-threshold [ units ]
no random-detect cos cos-value min-threshold [ units ] max-threshold [ units ]
Syntax Description
CoS value. Valid values are from 0 to 7. Up to eight values can be entered separated
by commas.
cos-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 number of packets. The value range of this argument is
from the value of the min-threshold argument to 1073741823.
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.
min-threshold: 30 ms
max-threshold: 100 ms
Command Modes
Policy map class configuration
Command History
ModificationRelease
This command was introduced.Release 3.4.0
Cisco IOS XR Modular Quality of Service Command Reference for the Cisco CRS Router, Release 4.0
OL-23235-03 79
Quality of Service Commands on the Cisco IOS XR Software
random-detect cos