beautypg.com

5 queue-weight, 6 queue <0-3> threshold – CANOGA PERKINS 9175 Command Reference User Manual

Page 579

background image

CanogaOS Command Reference

32-4

32.5 queue-weight

Use this command to configure a bandwidth allocation weight for queue 0 in SAP egress policy. To use

the default weight, use the no form of this command. The default weight of queue 0 is 1.

Command Syntax

queue-weight WEIGHT

no queue-weight

WEIGHT: The weight value of queue 0 of all EVCs at egress UNI accounts for proportional bandwidth

sharing. The valid weight value ranges from 1 to 100.

Command Mode

SAP Egress Policy Configuration

Usage

1. In SAP egress policy, the queue 1 - queue 3 are always treated with high priorities to be scheduled

and their bandwidths are generally committed through configuring the queue-rate. So, the system

does not allow to configure their weight values.

2. Queue 0 is generally used by BE (Best Effort) traffic, and it only use the residual bandwidth left by

high-priority queues. The weight values is used for WDRR scheduling in a same class.

Examples

In the following example, the queue-weight command is used to assign a weight for WDRR scheduling

for queue 0 in the SAP egress policy.

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

Switch(config-sap-egress)# queue-weight 2

Related Commands

None

32.6 queue <0-3> threshold

Use this command to configure Tail Drop threshold for each queue in an SAP egress policy.

Command Syntax

queue <0-3> threshold THRESH1 THRESH2 THRESH3

no queue <0-3> threshold

THRESH1: The drop threshold for red-colored packets. If the current queue length is greater than the

threshold, all incoming red-colored packets will be dropped.

THRESH2: The drop threshold for yellow-colored packets. If the current queue length is greater than the

threshold, all incoming yellow-colored packets will be dropped.