Administrator Guide

Layer 2 Switching Commands 683
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 packet buffer 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
Example 2
This example configures simple RED on an N1500 series switch. CoS queue 1
is globally configured for simple RED with a congestion threshold of 50% and
a drop probability of 0.781% for green colored traffic.
console(config)# random-detect queue-parms 1 min-thresh 50 0 0 drop-prob-
scale 8 0 0
console(config)#cos-queue random-detect 1
cos-queue strict
Use the cos-queue strict command in either Global Configuration mode or
Interface Configuration mode to activate the strict priority scheduler mode
for the specified queue. To restore the default weighted scheduler mode for
each specified queue, use the no form of this command.
Syntax
cos-queue strict {queue-id-1} [{queue-id-2} … {queue-id-n}]
no cos-queue strict {queue-id-1} [{queue-id-2} … {queue-id-n}]
queue-id-1 — Specifies the queue ID for which you are activating the
strict priority scheduler. You can specify a queue ID for as many queues as
you have (queue-id 1 through queue-id-n). (Range: 0–6)
Default Configuration
This command has no default configuration.
Command Mode
Global Configuration mode or Interface Configuration (gigabitethernet,
port-channel, tengigabitethernet, fortygigabitethernet) mode