beautypg.com

Wrr-queue weight – Allied Telesis AT-DC2552XS User Manual

Page 524

background image

Chapter 21: Quality of Service (QoS) Commands

524

Section V: Security and Traffic Control

WRR-QUEUE WEIGHT

Syntax

wrr-queue weight

weight

queues

queue_numbers

Parameters

weight

Specifies the weight as a data ratio of a port’s egress priority
queue for WRR queuing. The range is 1 to 15.

queue_numbers

Specifies one or multiple numbers of egress queues to use the
WRR queuing method. The range is 0 to 7. Use a space to
separate numbers. By default, all egress queues are specified to
use Strict PQ.

Mode

Port Interface mode

Description

Use this command to set egress queues in the specified port to the WRR
queuing method and specify the data ratios to queues. In WRR queuing,
the port transmits packets in one queue based on the data ratio to the
average size of packets transmitted for a certain period of time and then
moves to next queue.

You must enable QoS on the switch to use this command. To enable QoS,
see “MLS QOS ENABLE” on page 503.

Confirmation Command

“SHOW MLS QOS INTERFACE” on page 519

Example

This example specifies all queues of port 1.0.3 to WRR scheduling and
data ratios to 10:10:5:5:2:2:1:1 to queues 7:6:5:4:3:2:1:0:

awplus# configure terminal
awplus(config)# mls qos enable
awplus(config)# interface port1.0.3
awplus(config-if)# wrr-queue weight 10 queues 7 6
awplus(config-if)# wrr-queue weight 5 queues 5 4
awplus(config-if)# wrr-queue weight 2 queues 3 2
awplus(config-if)# wrr-queue weight 1 queues 1 0