beautypg.com

4 queue-rate – CANOGA PERKINS 9175 Command Reference User Manual

Page 578

background image

CanogaOS Command Reference

32-3

32.4 queue-rate

Use this command to configure queue shaping rates for the three high priority queues, i.e., queue 1 -

queue 3, in SAP egress policy. The queue shaping rate-limits the de-queue rate for each queue of an

EVC at egress UNI direction. Queue 0, the lowest priority queue, always be given the least chance to be

scheduled, is not necessary to be configured with a queue shaping rate because it is only allowed to

utilize the residual bandwidth after the high priority queues consuming the configured bandwidth.

Command Syntax

queue-rate RATE1 RATE2 RATE3

RATE1: The shaping rate of queue 1, whose value ranges from 0 to 1000, 000 kbps.

RATE2: The shaping rate of queue 2, whose value ranges from 0 to 1000, 000 kbps.

RATE3: The shaping rate of queue 3, whose value ranges from 0 to 1000, 000 kbps.

Command Mode

SAP Egress Policy Configuration

Usage

1. The sum queue-rate of queue 1 - queue 3 can not be greater than the total-rate.

2. Each queue will be assigned with a class. Queues in the highest class will be given the most chance

to be scheduled, and following down, queues in the lowest class can only use the residual bandwidth

after the queues in higher classes consuming the bandwidth.

3. In SAP egress policy, queue i is bound to class i internally. Unlike the interface queues, this

queue-class relationship is immutable and not allowed to be altered.

4. Queues in the same class will be served by WDRR (Weight Deficit Round Robin) scheduling

algorithm. And, queues in different classes will be served by SP (Strictly Priority) scheduling

algorithm.

Examples

In the following example, the queue-rate command is used to configure queue shaping rates for queue

1 to queue 3 of a EVC at egress UNI direction.

Switch(config)# qos sap-egress evc110-policy-at-egress-uni

Switch(config-sap-egress)# queue-rate 8000 4000 2000

Related Commands

None