beautypg.com

Queue bandwidth – Accton Technology VS4512DC User Manual

Page 295

background image

Priority Commands

4-149

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 four class of
service (CoS) priority queues. Use the no form to restore the default weights.

Syntax

queue bandwidth weight1...weight4
no queue bandwidth

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

Default Setting

Weights 1, 4, 16, 64 are assigned to queues 0 - 3 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-151)

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

Console(config)#queue bandwidth 1 3 5 7
Console(config)#

This manual is related to the following products: