Motorola 2200 User Manual
Page 179
179
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
default-input
queue_name
Specifies the attributes of the Weighted Fair Queue named
wf_queue_name.
❑ wf_queue_name – name of weighted fair queue
❑ 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.
❑ default-input – specifies the default input queue name.
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
limit-bw [ on | off ]
A weighted fair queue can contain up to 8 input queues. For each input queue, the following is config-
ured:
❑ n – entry number for this input queue
❑ input_queue_name – name of input queue
❑ weight_value – numeric relative weight of queue; the number assigned to the weight for WFQs indi-
cates the bandwidth used for each queue.
❑ share-bw – if enabled, the bandwidth for this queue can be shared between other queues when
idle.
❑ limit-bw – if enabled, then the transmit bandwidth for that queue is limited to the weight ratio (if the
WFQ type is
relative) or the specified bps (if the WFQ type is bps). Therefore if queue X has limit-
bw enabled, and any other queues have share-bw enabled, then queue X will not use additional
available bandwidth from the shared queues.
The default special queuing configuration shapes the rate of a custom flow toward the Remote Manage-
ment 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 1 limit-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 2 limit-bw off
set queue name "wfq" entry 3 input "basic_q2"
set queue name "wfq" entry 3 weight 30000
set queue name "wfq" entry 3 share-bw off
set queue name "wfq" entry 3 limit-bw off
set queue name "wfq" entry 4 input "basic_q3"