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. ![]()
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)
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
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
- find returns an empty set
- print outputs something on an empty set from find