I have a CCR with 3 BGP peers.
When I use telnet or similar to do something like this:
/ip route> print where dst-address=10.10.10.5/32
I get a response in a few seconds, running the following in the API:
/ip/route/print
?dst-address=10.10.10.5/32
Fails to give a response at all on this router (even if I increase the timeout to 5 minutes). If I run the same code against a router with less routes (one that only has my OSPF routes but not the BGP routes) it works fine and returns quickly.
According to http://forum.mikrotik.com/viewtopic.php ... ch#p365124 I need to use that syntax to efficiently search the route database via command line, My investigation so far indicates the matching API is either not optimized or I am calling it the wrong way. The CCR is running 6.10.
Any suggestions?