strict queue

Syntax

strict queue <QUEUE-NUMBER> [[max-bandwidth <BANDWIDTH>] [burst <BURST>]]

no strict queue <QUEUE-NUMBER>

Description

Assigns the strict priority algorithm to a queue. Strict priority services all packets waiting in a queue, before servicing the packets in lower priority queues.

Egress queue shaping can be configured using the max-bandwidth and burst options to limit the amount of traffic transmitted per output queue. The buffer associated with each egress queue stores the excess traffic to absorb bursts and smooth the output rate. Sustained rates of traffic above the maximum bandwidth will eventually fill the output queue causing tail drops. Use the command show interface <PORT> queues to determine if any tail drop errors have occurred.

The no form of this command removes the strict priority algorithm from a queue along with egress queue shaping. To remove just egress queue shaping, re-enter the strict queue command without the max-bandwidth and burstparameters.

Command context

config-schedule

Parameters

<QUEUE-NUMBER>

Specifies the number of the queue. Range: 0 to 7.

max-bandwidth <BANDWIDTH>

Specifies the maximum bandwidth allowed on the queue. Range: 1 to 4294967295 Kbps.

burst <BURST>

Specifies the maximum burst allowed on the queue. Range: 1 to 127 Kbps. Default: 32 Kbps.

Authority

Administrators

Examples

Assigning strict priority to queue 7 in the schedule profile myschedule:

switch(config)# qos schedule-profile myschedule
switch(config-schedule)# strict queue 7

Deleting strict priority from queue 7 in the schedule profile myschedule:

switch(config)# qos schedule-profile myschedule
switch(config-schedule)# no strict queue 7

Assigning strict priority to queue 7 in the schedule profile myschedule with a maximum bandwidth of 100 Mbps and a burst of 62 Kbps :

switch(config)# qos schedule-profile myschedule
switch(config-schedule)# no strict queue 7 max-bandwith 1000 burst 62