Command Reference Guide
Class of Service Commands
CLI Command Reference
September 2014 Page 621
HP Moonshot Switch Module CLI Command Reference
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
random-detect 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 = 7 and corresponds to the number of supported queues (traffic classes).
no cos-queue random-detect
Use this command to disable WRED, thereby restoring the default tail drop operation for the specified queues
on the interface.
cos-queue strict
This command activates the strict priority scheduler mode for each specified queue for an interface queue on
an interface, a range of interfaces, or all interfaces.
Format
cos-queue random-detect queue-id-1 [queue-id-2 … queue-id-n]
Modes • Global Config
•Interface Config
Format
no cos-queue random-detect queue-id-1 [queue-id-2 … queue-id-n]
Modes • Global Config
•Interface Config
Note: This command is available on the HP Moonshot-45G switch, but it is not available on the HP
Moonshot-180G switch.
Format
cos-queue strict queue-id-1 [queue-id-2 … queue-id-n]
Modes • Global Config
•Interface Config