Queue weight – LevelOne GTL-2691 User Manual

Page 1158

Advertising
background image

C

HAPTER

40

| Class of Service Commands

Priority Commands (Layer 2)

– 1158 –

A weight can be assigned to each of the weighted queues (and thereby

to the corresponding traffic priorities). This weight sets the frequency

at which each queue is polled for service, and subsequently affects the

response time for software applications assigned a specific priority

value.

Service time is shared at the egress ports by defining scheduling

weights for WRR, or for the queuing mode that uses a combination of

strict and weighted queuing. Service time is allocated to each queue by

calculating a precise number of bytes per second that will be serviced

on each round.

E

XAMPLE

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

Console(config)#interface ge1/1

Console(config-if)#queue mode strict

Console(config-if)#

R

ELATED

C

OMMANDS

queue weight (1158)

show queue mode (1160)

queue weight

This command assigns weights to the eight class of service (CoS) priority

queues when using weighted queuing, or one of the queuing modes that

use a combination of strict and weighted queuing. Use the no form to

restore the default weights.

S

YNTAX

queue weight weight0...weight7
no queue weight

weight0...weight7 - The ratio of weights for queues 0 - 7

determines the weights used by the WRR scheduler. (Range: 1-15)

D

EFAULT

S

ETTING

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

C

OMMAND

M

ODE

Interface Configuration (Ethernet, Port Channel)

C

OMMAND

U

SAGE

This command shares bandwidth at the egress port by defining

scheduling weights for Weighted Round-Robin, or the queuing mode

that uses a combination of strict and weighted queuing (

page 1157

).

Bandwidth is allocated to each queue by calculating a precise number

of bytes per second that will be serviced on each round.

Advertising