Page 231 / 351 Scroll up to view Page 226 - 230
231
CONFIG Commands
Queue Configuration
Beginning with Firmware Version 7.7.4, the queuing characteristics of all “N” and “-02”
model Gateway’s WAN interface can now be configured for:
strict priority queuing (as currently)
weighted fair queuing
rate-limiting funnel
Note:
The configuration mechanism is designed to be flexible enough to accommo-
date complex queuing requirements. Configurations not supported by the
Gateway will be flagged during configuration verification.
You configure the WAN outbound queue as follows:
create and configure one or more queues, which can be a basic queue or a priority
queue comprising a group of basic queues, a weighted fair queue comprising a group of
basic queues, or a funnel comprising a group of basic queues;
assign a queue instance to the Ethernet WAN interface;
map packet attributes to a queue.
The same queue name can be assigned to multiple interfaces which require identical
queue configuration, however currently the only interface available for queueing configura-
tion is ethernet 1.
To help you configure queues, and to maintain compatibility with previous firmware
releases, several queues are set up automatically on upgrade to Version 7.7, or upon a
factory reset.
Page 232 / 351
232
set queue name
queue_name
option [ on | off ]
type [ basic | wfq | priority | funnel ]
Creates a queue named
queue_name
and assigns a
type
:
basic
– Basic Queue
wfq
– Weighted Fair Queue
priority
– Priority Queue
funnel
– Funnel Queue
Basic Queue
set queue name
basic_queue_name
option [ on | off ]
set queue name
basic_queue_name
type basic
Specifies the Basic Queue named
basic_queue_name
attributes. Basic queues have one
input and one output. The basic queue is assigned an ID, with the following attribute: when
the queue is full, discard.
By default, the following Basic Queues are created:
basic_q0
basic_q1
basic_q2
basic_q3
Page 233 / 351
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 Server.
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"
Page 234 / 351
234
set queue name "wfq" entry 3 weight 30000
set queue name "wfq" entry 3 share-bw off
set queue name "wfq" entry 4 input "basic_q3"
set queue name "wfq" entry 4 weight 40000
set queue name "wfq" entry 4 share-bw off
set queue name "wfq" default-input "basic_q0"
Page 235 / 351
235
CONFIG Commands
Priority Queue
set queue name
priority_queue_name
option [ off | on ]
set queue name
priority_queue_name
type priority
set queue name
priority_queue_name
default-input
queue_name
A priority queue can contain up to 8 input queues. For each input queue, the following is
configured:
set queue name
priority_queue_name
entry
n
input
input_queue_name
set queue name
priority_queue_name
entry
n
priority
priority_value
Specifies the Priority Queue named
priority_queue_name
attributes.
priority_queue_name
– name of priority queue
input_queue_name
– name of input queue
priority_value
– numeric relative priority of queue. The higher the number, the higher
the priority of the queue.
default-input
– specifies the default input queue name.
By default, the following priority queue is created:
set queue name "pq" option on
set queue name "pq" type priority
set queue name "pq" entry 1 input "basic_q0"
set queue name "pq" entry 1 priority 10
set queue name "pq" entry 2 input "basic_q1"
set queue name "pq" entry 2 priority 20
set queue name "pq" entry 3 input "basic_q2"
set queue name "pq" entry 3 priority 30
set queue name "pq" entry 4 input "basic_q3"
set queue name "pq" entry 4 priority 40
set queue name "pq" default-input "basic_q0"

Rate

4 / 5 based on 3 votes.

Bookmark Our Site

Press Ctrl + D to add this site to your favorites!

Share
Top