Users Guide

Layer 2 Switching Commands 684
cos-queue random-detect
Use the cos-queue random-detect command in Global Configuration or
Interface Configuration mode to enable WRED queue management policy
on an interface CoS queue. Use the no form of the command to disable
WRED policy for a CoS queue on an interface.
NOTE: On the N1500 Series switches, this command enables Simple
RED since the hardware is not capable of Weighted RED.
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 (physical 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.