MikroTik API icon

MikroTik API

Community Node for MikroTik RouterOS API

Actions67

Queue Simple → Add Simple Queue

AI-generated

Summary

Adds a simple queue to limit traffic for a target IP address.

Inputs

  • queueTarget (required) — Target IP address (e.g., 192.168.88.10/32) for which the queue will be created.
  • queueMaxLimit — Upload/download limit (e.g., 5M/10M). Defaults to 1M/1M if not set.
  • commentText — Optional comment to attach to the queue.

Output shape

The operation returns an object with the fields resource, operation, count, and data. data contains the raw response from the MikroTik API (with - and / replaced by _ if the Clean Keys option is enabled).

For a successful add, MikroTik typically returns the newly created queue item, which includes an auto‑generated .id.

Examples

Example 1: Limit a specific host to 2 Mbps upload and 5 Mbps download.

Set Target IP to 192.168.1.45/32, Max Limit to 2M/5M.

Links

Discussion