Community discussions

MikroTik App
 
akukula
newbie
Topic Author
Posts: 33
Joined: Wed May 16, 2007 3:57 pm

/ip route print - filters?

Mon Jul 09, 2007 10:05 am

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
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 7169
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

Re: /ip route print - filters?

Mon Jul 09, 2007 1:54 pm

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]

Who is online

Users browsing this forum: No registered users and 6 guests