Setup guide

total-burst-threshold (text; default: 0) - Total (bidirectional) average burst threshold (bits/s)
total-burst-time (text; default: 0) - total (bidirectional) burst time
Notes
max-limit must be equal or greater than limit-at.
Queue rules are processed in the order they appear in the list. If some packet matches the queue
rule, then the queuing mechanism specified in that rule is applied to it, and no more rules are
processed for that packet.
The value 0 means that these settings will be ignored.
Example
To add a simple queue that will limit download traffic from 192.168.0.0/24 network to 128000 bits
per second, and upload traffic to 192.168.0.0/24 network to 64000 bits per second on ether1
interface:
[admin@Wandy] queue simple> add dst-address=192.168.0.0/24 interface=ether1\
\... max-limit=64000/128000
[admin@Wandy] queue simple> print
Flags: X - disabled, I - invalid, D - dynamic
0 name="queue1" target-address=0.0.0.0/0 dst-address=192.168.0.0/24
interface=ether1 queue=default priority=8 limit-at=0/0
max-limit=64000/128000
[admin@Wandy] queue simple>
Configuring Queue Trees
queue tree
Description
The queue trees should be used when you want to use sophisticated data rate allocation based on
protocols, ports, groups of IP addresses, etc.
Property Description
name (name; default: queueN) - descriptive name for the queue
parent (name) - name of the parent queue. The top-level parents are the available interfaces
(actually, main HTB). Lower level parents can be other queues
global-in - match all incomming traffic
global-out - match all outgoing traffic
flow (name; default: "") - flow mark of the packets to be queued. Flow marks can be assigned to
the packets under '/ip firewall mangle' when the packets enter the router through the incoming
interface
limit-at (integer; default: 0) - maximum stream data rate (bits/s)
queue (name; default: default) - queue type
priority - flow priority, 1 is the highest
max-limit (integer; default: 0) - maximum stream data rate (bits/s)
burst-limit (text; default: 0) - maximal allowed burst of data rate
burst-threshold (text; default: 0) - average burst threshold