Reference Guide
668 QoS Commands
Command Mode
Interface Configuration (physical or port-channel) 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
bandwidth percentage guarantee for the CoS queues.
Use the
show interfaces random-detect
command to display the WRED
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.
Example
Enable WRED on the default CoS 0 queue for unmarked packets and set the
green, yellow, and red colored traffic to utilize WRED starting at 3% of port
congestion with a drop probability of 1%, 2% and 3%, respectively. In this
configuration, non-TCP traffic uses tail-drop queue discipline with a drop
threshold at 100% of the statically calculated port queue length vs. the
dynamically calculated value used by the normal tail-drop mechanism
(approx. 1/2 remaining free memory).
console(config)# cos-queue random-detect 0
console(config)# random-detect queue-parms 0 min-thresh 3 3
3 100 max-thresh 10 10 10 100 drop-prob-scale 1 2 3 0
2CSPC4.XModular-SWUM204.book Page 668 Friday, March 15, 2013 9:24 AM










