Manual:Queue: Difference between revisions

From MikroTik Wiki
Jump to navigation Jump to search
Megis (talk | contribs)
No edit summary
Megis (talk | contribs)
No edit summary
Line 10: Line 10:
<li>'''/queue simple''' menu - more user-friendly implementation of queues designed to ease configuration of simple,everyday queuing tasks (such as single client upload/download limitation, p2p traffic limitation, etc.).
<li>'''/queue simple''' menu - more user-friendly implementation of queues designed to ease configuration of simple,everyday queuing tasks (such as single client upload/download limitation, p2p traffic limitation, etc.).
<li>'''/queue tree''' menu -  simplest way to implement advanced queuing tasks (such as global prioritization policy, user group limitations) require market packet flows from '''/ip firewall mangle''' facility.
<li>'''/queue tree''' menu -  simplest way to implement advanced queuing tasks (such as global prioritization policy, user group limitations) require market packet flows from '''/ip firewall mangle''' facility.
</ul>
<div class=properties>
<h2>Simple Queues</h2>


<p><h5><var>name</var></h5> (Text) &mdash; </p>


<h4>Simple Queues</h4>
<p>lalala</p>
<p>lalala</p>


<div class=properties>
<h4>Flow Identifiers</h4>


<p><h5><var>name</var></h5> (Text) &mdash; </p>
<p><h5><var>target-addresses</var></h5> (comma separated list of IP prefixes) &mdash; </p>
<p><h5><var>target-addresses</var></h5> (comma separated list of IP prefixes) &mdash; </p>
<p><h5><var>dst-address</var></h5> (IP prefix) &mdash; </p>
<p><h5><var>dst-address</var></h5> (IP prefix) &mdash; </p>
<p><h5><var>interface</var></h5> (Name of interface, or <i>all</i>) &mdash; </p>
<p><h5><var>interface</var></h5> (Name of interface, or <i>all</i>) &mdash; </p>
<p><h5><var>direction</var></h5> (One of <i>both</i>, <i>upload</i>, <i>download</i> or <i>none</i>) &mdash; </p>
<p><h5><var>time</var></h5> () &mdash; </p>
<p><h5><var>p2p</var></h5> () &mdash; </p>
<p><h5><var>packet-marks</var></h5> (Comma separated list of) &mdash; </p>
<h4>HTB Properties</h4>
<p><h5><var>parent</var></h5> (Name of , or <i>none</i>) &mdash; </p>
<p><h5><var>parent</var></h5> (Name of , or <i>none</i>) &mdash; </p>
<p><h5><var>packet-marks</var></h5> (Comma separated list of) &mdash; </p>
<p><h5><var>direction</var></h5> (One of <i>both</i>, <i>upload</i>, <i>download</i> or <i>none</i>) &mdash; </p>
<p><h5><var>priority</var></h5> (1..8) &mdash; </p>
<p><h5><var>priority</var></h5> (1..8) &mdash; </p>
<p><h5><var>queue</var></h5> (<i><em>SOMETHING</em>/<em>SOMETHING</em></i>) &mdash; </p>
<p><h5><var>queue</var></h5> (<i><em>SOMETHING</em>/<em>SOMETHING</em></i>) &mdash; </p>
<p><h5><var>limit-at</var></h5> (<i><em>NUMBER</em>/<em>NUMBER</em></i>) &mdash; </p>
<p><h5><var>limit-at</var></h5> (<i><em>NUMBER</em>/<em>NUMBER</em></i>) &mdash; </p>
Line 31: Line 39:
<p><h5><var>burst-threshold</var></h5> (<i><em>NUMBER</em>/<em>NUMBER</em></i>) &mdash; </p>
<p><h5><var>burst-threshold</var></h5> (<i><em>NUMBER</em>/<em>NUMBER</em></i>) &mdash; </p>
<p><h5><var>burst-time</var></h5> (<i><em>TIME</em>/<em>TIME</em></i>) &mdash; </p>
<p><h5><var>burst-time</var></h5> (<i><em>TIME</em>/<em>TIME</em></i>) &mdash; </p>
<p><h5><var>total-queue</var></h5> () &mdash; </p>
<p><h5><var>total-queue</var></h5> () &mdash; </p>
<p><h5><var>total-limit-at</var></h5> () &mdash; </p>
<p><h5><var>total-limit-at</var></h5> () &mdash; </p>
Line 37: Line 46:
<p><h5><var>total-burst-threshold</var></h5> () &mdash; </p>
<p><h5><var>total-burst-threshold</var></h5> () &mdash; </p>
<p><h5><var>total-burst-time</var></h5> () &mdash; </p>
<p><h5><var>total-burst-time</var></h5> () &mdash; </p>
<h4>Statistics</h4>
<p><h5><var>bytes</var></h5> (<i><em>NUMBER</em>/<em>NUMBER</em></i>; read-only) &mdash; </p>
<p><h5><var>bytes</var></h5> (<i><em>NUMBER</em>/<em>NUMBER</em></i>; read-only) &mdash; </p>
<p><h5><var>time</var></h5> () &mdash; </p>
<p><h5><var>p2p</var></h5> () &mdash; </p>
<p><h5><var>total-bytes</var></h5> (read-only) &mdash; </p>
<p><h5><var>total-bytes</var></h5> (read-only) &mdash; </p>
<p><h5><var>packets</var></h5> (read-only) &mdash; </p>
<p><h5><var>packets</var></h5> (read-only) &mdash; </p>
<p><h5><var>total-packets</var></h5> (read-only) &mdash; </p>
<p><h5><var>total-packets</var></h5> (read-only) &mdash; </p>
<p><h5><var>dropped</var></h5> (read-only) &mdash; </p>
<p><h5><var>dropped</var></h5> (read-only) &mdash; </p>
<p><h5><var>total-dropped</var></h5> (read-only) &mdash; </p>
<p><h5><var>total-dropped</var></h5> (read-only) &mdash; </p>
<p><h5><var>overlimits</var></h5> (read-only) &mdash; </p>
<p><h5><var>overlimits</var></h5> (read-only) &mdash; </p>
<p><h5><var>total-overlimits</var></h5> (read-only) &mdash; </p>
<p><h5><var>total-overlimits</var></h5> (read-only) &mdash; </p>
<p><h5><var>rate</var></h5> (read-only) &mdash; </p>
<p><h5><var>rate</var></h5> (read-only) &mdash; </p>
<p><h5><var>total-rate</var></h5> (read-only) &mdash; </p>
<p><h5><var>total-rate</var></h5> (read-only) &mdash; </p>
<p><h5><var>packet-rate</var></h5> (read-only) &mdash; </p>
<p><h5><var>packet-rate</var></h5> (read-only) &mdash; </p>
<p><h5><var>total-packet-rate</var></h5> (read-only) &mdash; </p>
<p><h5><var>total-packet-rate</var></h5> (read-only) &mdash; </p>
<p><h5><var>queued-packets</var></h5> (read-only) &mdash; </p>
<p><h5><var>queued-packets</var></h5> (read-only) &mdash; </p>
<p><h5><var>total-queued-packets</var></h5> (read-only) &mdash; </p>
<p><h5><var>total-queued-packets</var></h5> (read-only) &mdash; </p>
<p><h5><var>queued-bytes</var></h5> (read-only) &mdash; </p>
<p><h5><var>queued-bytes</var></h5> (read-only) &mdash; </p>
<p><h5><var>total-queued-bytes</var></h5> (read-only) &mdash; </p>
<p><h5><var>total-queued-bytes</var></h5> (read-only) &mdash; </p>
<p><h5><var>lends</var></h5> (read-only) &mdash; </p>
<p><h5><var>lends</var></h5> (read-only) &mdash; </p>
<p><h5><var>total-lends</var></h5> (read-only) &mdash; </p>
<p><h5><var>total-lends</var></h5> (read-only) &mdash; </p>
<p><h5><var>borrows</var></h5> (read-only) &mdash; </p>
<p><h5><var>borrows</var></h5> (read-only) &mdash; </p>
<p><h5><var>total-borrows</var></h5> (read-only) &mdash; </p>
<p><h5><var>total-borrows</var></h5> (read-only) &mdash; </p>
<p><h5><var>pcq-queues</var></h5> () &mdash; </p>
<p><h5><var>pcq-queues</var></h5> () &mdash; </p>
<p><h5><var>total-pcq-queues</var></h5> (read-only) &mdash; </p>
<p><h5><var>total-pcq-queues</var></h5> (read-only) &mdash; </p>

Revision as of 14:02, 25 September 2008

Queues

Submenu level: /queue

Queue implementation in MikroTik RouterOS is based on Hierarchical Token Bucket (HTB). HTB allows to create hierarchical queue structure and determine relations between queues(parent-child, child priority). RouterOS support 3 virtual HTBs (global-in, global-total, global-out) and one more just before every outgoing interface.

There are two ways how to add queues in RouterOS:
  • /queue simple menu - more user-friendly implementation of queues designed to ease configuration of simple,everyday queuing tasks (such as single client upload/download limitation, p2p traffic limitation, etc.).
  • /queue tree menu - simplest way to implement advanced queuing tasks (such as global prioritization policy, user group limitations) require market packet flows from /ip firewall mangle facility.

Simple Queues

name
(Text) —

lalala

Flow Identifiers

target-addresses
(comma separated list of IP prefixes) —

dst-address
(IP prefix) —

interface
(Name of interface, or all) —

direction
(One of both, upload, download or none) —

time
() —

p2p
() —

packet-marks
(Comma separated list of) —

HTB Properties

parent
(Name of , or none) —

priority
(1..8) —

queue
(SOMETHING/SOMETHING) —

limit-at
(NUMBER/NUMBER) —

max-limit
(NUMBER/NUMBER) —

burst-limit
(NUMBER/NUMBER) —

burst-threshold
(NUMBER/NUMBER) —

burst-time
(TIME/TIME) —

total-queue
() —

total-limit-at
() —

total-max-limit
() —

total-burst-limit
() —

total-burst-threshold
() —

total-burst-time
() —

Statistics


bytes
(NUMBER/NUMBER; read-only) —

total-bytes
(read-only) —

packets
(read-only) —

total-packets
(read-only) —

dropped
(read-only) —

total-dropped
(read-only) —

overlimits
(read-only) —

total-overlimits
(read-only) —

rate
(read-only) —

total-rate
(read-only) —

packet-rate
(read-only) —

total-packet-rate
(read-only) —

queued-packets
(read-only) —

total-queued-packets
(read-only) —

queued-bytes
(read-only) —

total-queued-bytes
(read-only) —

lends
(read-only) —

total-lends
(read-only) —

borrows
(read-only) —

total-borrows
(read-only) —

pcq-queues
() —

total-pcq-queues
(read-only) —