4 wrr-queue bandwidth, Example, Syntax – PLANET WGSD-1022 User Manual

Page 228: Default configuration, Command mode, User guidelines

Advertising
background image

single queue

Example

The following example maps CoS 3 to queue 7.

Console (config)# wrr-queue cos-map 7 3

5.17.4 wrr-queue bandwidth

The wrr-queue bandwidth interface configuration command assigns Weighted Round Robin (WRR)

weights to egress queues. The weights ratio determines the frequency in which the packet scheduler

dequeues packets from each queue. To return to the default values, use the no form of this command.

Syntax

wrr-queue bandwidth weight1 weight2 ... weight_n

no wrr-queue bandwidth

ƒ weight1...weight_n—Sets the bandwidth ratio in which the WRR packet scheduler dequeues

packets. Separate each value by spaces. (Range: 6 - 255)

Default Configuration

The default WRR weight is 1/8 ratio for all queues (each weight set to 6).

Command Mode

Interface Configuration mode

User Guidelines

The packet refers to a threshold by the conformance level. Weighted round robin queues should be

defined on the interface.

Use the priority-queue out num-of-queues command to globally configure a queue as WRR or Strict

Priority.

Use this command to set a weight per interface.

The ratio will be like this:

The ratio for each queue is defined by the queue weight divided by the sum of all queue weights (i.e., the

normalized weight). This actually sets the bandwidth allocation of each queue.

A weight of 0 means no bandwidth is allocated for the same queue, and the share bandwidth is divided

among the remaining queues.

All eight queues are participating excluding the queues that are assigned as expedite queues. The

weights of these queues are ignored in the ratio calculation.

All eight queues participate in the WRR exclude the expedite queues, in which case the corresponded

Advertising