Command Line Interface Guide
QoS Commands 647
Syntax
cos-queue {random-detect
queue-id1
[
queue-id2
..
queue-idn
]}
no cos-queue {random-detect
queue-id1
[
queue-id2
..
queue-idn
]}
Parameter Description
Default Configuration
WRED queue management policy is disabled by default. Tail-drop queue
management policy is enabled by default.
Command Mode
Interface Configuration (physical or port-channel)
User Guidelines
When used on a port-channel, this command will override the settings on the
individual interfaces that are part of the port channel.
This command can be used in Interface Range mode.
Use the cos-queue min-bandwidth command to configure the minimum
bandwidth percentage for the CoS queues.
Use the show interfaces random-detect command to display the WRED
configuration.
Example
Enable WRED on the default CoS queue for unmarked packets and set the
green, yellow, red and non-TCP packet thresholds to utilize WRED at 98% of
port bandwidth with a drop probability of 1%.
console(config)# cos-queue random-detect 1
console(config)# random-detect queue-parms 1 min-thresh 98
98 98 98 max-thresh 100 100 100 100 drop-prob-scale 1 1 1 1
Parameter Description
queue-id An integer indicating the queue-id which is to be enabled for
WRED. Range 0-6. Up to 7 queues may be simultaneously
specified.
2CSPC4.XModular-SWUM201.book Page 647 Monday, October 3, 2011 2:21 PM










