API Guide

random-detect (queue)
Assigns a WRED profile to the specified queue.
Syntax
random-detect wred-profile-name
Parameters wred-profile-name Enter the name of an existing WRED profile.
Default Not configured
Command Mode PMAP-C-QUE
Usage
Information
The no version of this command removes the WRED profile from the queue.
Example
OS10(config)# policy-map type queuing p1
OS10(config-pmap-queuing)# class c1
OS10(config-pmap-c-que)# random-detect test_wred
Supported
Releases
10.4.0E(R1) or later
random-detect color
Configures the threshold of WRED profile for available colors.
Syntax
random-detect color color-name minimum-threshold minimum-value maximum-
threshold maximum-value drop-probability drop-rate
Parameters
color-name Enter the color of drop precedence for the WRED profile. The available options are
green, yellow, and red.
minimum-value Enter the minimum threshold value for the specified color, from 1 to 12480.
maximum-value Enter the maximum threshold value for the specified color, from 1 to 12480.
drop-rate Enter the rate of drop precedence in percentage, from 0 to 100.
Default Not configured
Command Mode WRED CONFIGURATION
Usage
Information
The no version of this command removes the WRED profile.
Example
OS10(config)# wred test_wred
OS10(config-wred)# random-detect color green minimum-threshold 100
maximum-threshold 300 drop-probability 40
Supported
Releases
10.4.0E(R1) or later
random-detect ecn
Enables explicit congestion notification (ECN) for the WRED profile.
Syntax
random-detect ecn
Parameters None
Default Not configured
Command Mode WRED CONFIGURATION
Usage
Information
The no version of this command disables ECN.
Quality of service 1245