/queue simple > add [...] \ interface=?

Hi

I’m trying to understand the wiki https://wiki.mikrotik.com/wiki/Manual:Queue. There you can read the following code:

/queue simple> add name=private target=10.1.1.0/24 max-limit=256K/512K \
interface=ether2

What is “interface” doing there? It’s not a valid “add” parameter. If I enter that line of code, I get an error: “expected end of command (line 1 column 59)”.

Also there is a code below:

/queue simple> add name=server target=10.1.1.1/32 max-limit=0/0 \
interface=ether2

Same thing here…

I’m also interested in queues, and it is actual for me, but it is also unclear. I think they changed something now:

/queue simple> add name=private target=ether2 max-limit=256K/512K ,

The interface argument existed in RouterOS v5, and was removed in v6. It’s functionality is part of the “target” argument since then.

The manual hasn’t been updated completely it seems. The exact analog in v6 would be to have parent queue that matches all traffic from ether2, and a child queue to match the IP.

Thanks boen_robot!