ProSafe XSM7224S Managed Stackable Switch CLI Manual, Software Version 9.0
Quality of Service (QoS) Commands 5-5
v1.0, November 2010
cos-queue random-detect
This command activates weighted random early discard (WRED) for each specified queue on the
interface. Specific WRED parameters are configured using the randomdetect queue-parms and the
random-detect exponential-weighting-constant commands. When specified in Interface Config'
mode, this command affects a single interface only, whereas in Global Config mode, it applies to
all interfaces. At least one, but no more than n, queue-id values are specified with this command.
Duplicate queue-id values are ignored. Each queue-id value ranges from 0 to (n-1), where n is the
total number of queues supported per interface. The number n is platform dependant and
corresponds to the number of supported queues (traffic classes).
random-detect exponential weighting-constant
This command is used to configure the WRED decay exponent for a CoS queue interface.
random-detect queue-parms
This command is used to configure WRED parameters for each drop precedence level supported
by a queue. It is used only when per-COS queue configuration is enabled (using the cos-queue
random-detect command).
min-thresh is the minimum threshold the queue depth (as a percentage) where WRED starts
marking and dropping traffic.
max-thresh is the maximum threshold is the queue depth (as a percentage) above which WRED
marks / drops all traffic.
drop-probability is the percentage probability that WRED will mark/drop a packet, when the
queue depth is at the maximum threshold. (The drop probability increases linearly from 0 just
before the minimum threshold, to this value at the maximum threshold, then goes to 100% for
larger queue depths). Each parameter is specified for each possible drop precedence ("color" of
TCP traffic).
Format cos-queue random-detect queue-id-1 [queue-id-2 … queue-id-n]
Modes Global Config
Interface Config
Format random-detect exponential-weighting-constant 0-15
Modes Interface Config