Motorola 3347 User Manual

Page 233

Advertising
background image

233

CONFIG Commands

Weighted Fair Queue

set queue name wfq option [ on | off ]
set queue name

wf_queue_name

type wfq

set queue name

wf_queue_name

weight-type [ relative | bps ]

set queue name

wf_queue_name

entry

n

input input_queue_name

set queue name

wf_queue_name

entry

n

weight

weight

set queue name

wf_queue_name

entry

n

share-bw [ on | off ]

set queue name

wf_queue_name

entry

n

default-input

queue_name

Specifies the attributes of the Weighted Fair Queue named

wf_queue_name.

wf_queue_name – name of weighted fair queue

A weighted fair queue can contain up to 8 input queues. For each input queue, the follow-
ing is configured:

weight-type – the weighted fair queue configuration allows you to set the rate in bits
per second (

bps) or percentage of the line rate (relative). bps is the default.

n – entry number for this input queue

input_queue_name – name of input queue

weight_value – numeric relative weight of queue

share-bw – if enabled, the bandwidth for this queue can be shared between other
queues when idle.

default-input – specifies the default input queue name.

The default special queuing configuration shapes the rate of a custom flow toward the
Remote Management Ser ver.

By default, the following WFQ is created:

set queue name "wfq" option on

set queue name "wfq" type wfq

set queue name "wfq" weight-type bps

set queue name "wfq" entry 1 input "basic_q0"

set queue name "wfq" entry 1 weight 10000

set queue name "wfq" entry 1 share-bw off

set queue name "wfq" entry 2 input "basic_q1"

set queue name "wfq" entry 2 weight 20000

set queue name "wfq" entry 2 share-bw off

set queue name "wfq" entry 3 input "basic_q2"

Advertising