Page 1 of 1

/ip route print - filters?

Posted: Mon Jul 09, 2007 10:05 am
by akukula
Hello,

I'm stuck. I have some 444.000 routes in my Mikrotik (two routers with BGP to the world, and iBGP between them, doubling the routing table). I need to quickly check only some routes, like all under 63.192.0.0/12, to see what causes problems. Unfortunately /ip route print has no filters whatsoever, and Winbox hangs for a few minutes when I click IP -> Routes.

Is there any way to display only limited set of routes?

Regards,
Andrzej

Re: /ip route print - filters?

Posted: Mon Jul 09, 2007 1:54 pm
by mrz
For example to print only default route you can do like this:
/ip route print from= [/ip route find dst-address=0.0.0.0/0]