Community discussions

MikroTik App
 
SA
just joined
Topic Author
Posts: 21
Joined: Wed Jul 28, 2004 12:03 am

Find route

Thu Sep 08, 2005 3:22 pm

Hi. When I execute /ip route print from [/ip route find connect=yes] I get the listing of directly connected routes. But when I try /ip route print from [/ip route find connect=no] I get all routes including connected. :shock:
Is there any way to filter out "connect" routes? I've tried other combinations(bgp=yes also gives all routes, while ospf=yes gives only ospf, but ospf=no gives all including ospf)
 
changeip
Forum Guru
Forum Guru
Posts: 3833
Joined: Fri May 28, 2004 5:22 pm

Thu Sep 08, 2005 6:47 pm

You are correct, this looks like a bug probably.

[admin@mikroHome] ip route> :put [find connect=yes]
*75,*1C,*1E,*1F,*20,*1D,*22
[admin@mikroHome] ip route> :put [find connect=no]

[admin@mikroHome] ip route>

Can you submit a ticket for this, I am short on time today. I tested on 2.9.1.

Sam
 
SA
just joined
Topic Author
Posts: 21
Joined: Wed Jul 28, 2004 12:03 am

Thu Sep 08, 2005 10:25 pm

Actually it's even worse.
:put [find connect=no] doesn't show anything but i DO HAVE ospf and static routes (which are supposed to appear here). So it seems like TWO bugs
1) find returns an empty set
2) print outputs something on an empty set from find

Who is online

Users browsing this forum: maxivanuk, nescafe2002, nglgkvigywempkgciv and 89 guests