Users Guide

Layer 2 Switching Commands 726
Syntax
cos-queue {random-detect queue-id1 [queue-id2..queue-idn]}
no cos-queue {random-detect queue-id1 [queue-id2..queue-idn]}
queue-id—An integer indicating the internal CoS queue-id which is to be
enabled for WRED. Range 0-6. Up to 7 queues may be simultaneously
specified.
Default Configuration
WRED queue management policy is disabled by default. Tail-drop queue
management policy is enabled by default. The threshold for invoking tail-
drop behavior when WRED is disabled is approximately 1/2 of the remaining
free packet buffer in the switch.
Command Mode
Interface Configuration (Ethernet or port-channel) mode, Interface Range
mode, or Global Configuration mode
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. Removing an interface
from the port channel restores the individual interface settings.
This command can be used in Interface Range mode.
Use the
cos-queue min-bandwidth
command to configure the minimum
scheduler bandwidth percentage guarantee for the CoS queues.
Use the
show interfaces random-detect
command to display the WRED
configuration, including ECN configuration.
Use the
policy-map
and
conform-color
commands to mark traffic with a color
other than default green color.
The drop probability scale supports values in the range 0-10% and the discrete
values 25%, 50%, 75%, and 100%. Other values are truncated to the next lower
value by the hardware.