Manual:Queue

From MikroTik Wiki
Revision as of 13:12, 25 September 2008 by Megis (talk | contribs)
Jump to navigation Jump to search

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

    lalala

    name
    (Text) —

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

    dst-address
    (IP prefix) —

    interface
    (Name of interface, or all) —

    parent
    (Name of , or none) —

    packet-marks
    (Comma separated list of) —

    direction
    (One of both, upload, download 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
    () —

    bytes
    (NUMBER/NUMBER; read-only) —

    time
    () —

    p2p
    () —

    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) —