Page 1 of 1

Why dosn't work it?

Posted: Sun Sep 03, 2006 2:33 pm
by karatha
Can somebody tell me why doesn't find the following command any queue?
:put [/queue simple find target-addresses=10.10.12.253/32]

But if I try to find the queue regarding the name of the queue, it is work
:put [/queue simple find name=10.10.12.253]

I can't use "name" for the finding because the name and the target-addresses are not same in every case.

Re: Why dosn't work it?

Posted: Mon Sep 18, 2006 2:47 pm
by raivis-v
It is working as it should. It is returning rule number:
[admin@MikroTik] > queue simple print
Flags: X - disabled, I - invalid, D - dynamic
 0    name="queue1" target-addresses=10.10.12.253/32 dst-address=0.0.0.0/0 interface=all parent=none direction=both priority=8
      queue=default-small/default-small limit-at=0/0 max-limit=0/0 total-queue=default-small
[admin@MikroTik] > :put [/queue simple find target-addresses=10.10.12.253/32]
*1
[admin@MikroTik] >