Queue bandwidth – Alcatel Carrier Internetworking Solutions OmniStack 6300-24 User Manual

Page 411

Advertising
background image

Priority Commands

4-199

4

Command Usage

You can set the switch to service the queues based on a strict rule that
requires all traffic in a higher priority queue to be processed before lower
priority queues are serviced, or use Weighted Round-Robin (WRR) queuing
that specifies a relative weight of each queue. WRR uses a predefined relative
weight for each queue that determines the percentage of service time the
switch services each queue before moving on to the next queue. This
prevents the head-of-line blocking that can occur with strict priority queuing.

Example

The following example sets the queue mode to strict priority service mode:

queue bandwidth

This command assigns weighted round-robin (WRR) weights to the eight class of
service (CoS) priority queues. Use the no form to restore the default weights.

Syntax

queue bandwidth weight1...weight8
no queue bandwidth

weight1...weight8 - The ratio of weights for queues 0 - 7 determines the
weights used by the WRR scheduler. (Range: 1 - 15)

Default Setting

Weights 1, 2, 4, 6, 8, 10, 12, 14 are assigned to queues 0 - 7 respectively.

Command Mode

Interface Configuration (Ethernet, Port Channel)

Command Usage

WRR controls bandwidth sharing at the egress port by defining scheduling
weights.

Example

This example shows how to assign WRR weights to each of the priority queues:

Related Commands

show queue bandwidth (4-201)

Console(config)#queue mode strict
Console(config)#

Console(config)#queue bandwidth 1 3 5 7 9 11 13 15
Console(config)#

Advertising