beautypg.com

Queue bandwidth, Queue cos-map – Accton Technology Direk Tronik ES4524D User Manual

Page 488

background image

Class of Service Commands

55-4

55

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...weight4
no queue bandwidth

weight1...weight4 - 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 (55-6)

queue cos-map

This command assigns class of service (CoS) values to the priority queues (i.e.,
hardware output queues 0 - 7). Use the no form set the CoS map to the default
values.

Syntax

queue cos-map queue_id [cos1 ... cosn]
no queue cos-map

queue_id - The ID of the priority queue.

Ranges are 0 to 7, where 7 is the highest priority queue.

cos1 ... cosn - The CoS values that are mapped to the queue ID. It is a

space-separated list of numbers. The CoS value is a number from 0 to 7,
where 7 is the highest priority.

Console#configure
Console(config)#int eth 1/5
Console(config-if)#queue bandwidth 1 3 5 7 9 11 13 15
Console(config-if)#

This manual is related to the following products: