Community discussions

MikroTik App
 
dragon2611
Member Candidate
Member Candidate
Topic Author
Posts: 179
Joined: Fri Sep 25, 2009 12:06 am

routing filters?

Sat May 01, 2021 7:42 pm

How do you actually use routing filters in v7, maybe I'm just being even stupider than usual but they just don't make any sense to me, all I want to do is advertise connected routes and it's proving a headache.

I can get routerOS to advertise routes with no filter, but as soon as I try and add one it just blocks everything


/routing filter rule
add chain=bgp_out rule=" if ([protocol connected]) then={ action accept }"
add chain=bgp_out rule=" if ([prfx-value is=dst<subsumes>2a00:xxxx:xxx::/48]) then={ action accept}"
/routing filter select-rule
add chain=bgp_out do-where=bgp_out
yet if i set bgp_out as an output.filter in the BGP template or on the peer it just blocks all routes

These are a couple of ebgp peers with privateAS, one is ROSv7 the other is FRR

Who is online

Users browsing this forum: No registered users and 28 guests