Page 1 of 1

Find route

Posted: Thu Sep 08, 2005 3:22 pm
by SA
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)

Posted: Thu Sep 08, 2005 6:47 pm
by changeip
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

Posted: Thu Sep 08, 2005 10:25 pm
by SA
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