236
Funnel Queue
A funnel queue is used to limit the rate of the transmission below the actual line rate:
set queue name
funnel_queue_name
option [ on | off ]
set queue name
funnel_queue_name
type funnel
set queue name
funnel_queue_name
input
input_queue_name
set queue name
funnel_queue_name
bps
bps
Specifies the Funnel Queue named
funnel_queue_name
attributes.
•
funnel_queue_name
– name of funnel queue
•
input_queue_name
– name of input queue
•
bps
– max bits per second permitted through funnel queue
By default, the following funnel queues are created:
Rate-limiting priority queue to 100Kbps:
set queue name pq-100kbps option on
set queue name pq-100kbps type funnel
set queue name pq-100kbps input pq
set queue name pq-100kbps bps 100000
Rate-limiting weighted fair queue to 100Kbps:
set queue name wfq-100kbps option on
set queue name wfq-100kbps type funnel
set queue name wfq-100kbps input wfq
set queue name wfq-100kbps bps 100000
Interface Queue Assignment
The WAN ethernet queue is assigned as follows:
set [ ethernet ethernet | ip ethernet B | ip-ppp vcc
n
] tx-queue
queue_name
By default, the WAN ethernet interface is assigned the default priority queue:
set ethernet ethernet B tx-queue pq
Other interfaces may likewise be assigned
tx-queue
values.