Community discussions

MikroTik App
 
excession
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 95
Joined: Mon May 11, 2015 8:16 pm

V7 OSPF accept out filter - causes redistribute connected

Mon Jun 19, 2023 12:47 pm

V7.9.2 I've found that if I set an OSPF filter with a general accept rule such as:
if ( dst-len > 0 ) { accept}
or simply
accept
All connected routes are now advertised via OSPF even if no route types are selected in the Redistribute option and even if there are no interface templates advertising those routes. If I then remove the filter, route advertisements return to normal.

Is this by design that the route filter should override the redistribute option and template functionality or is it a bug?

Many thanks,

Sam
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 7063
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

Re: V7 OSPF accept out filter - causes redistribute connected

Mon Jun 19, 2023 12:52 pm

routing filter and select chains in ROSv7 by design are used to control route redistribution. "redistribute" parameter was added back just for quick redistribution option without using filters.
 
excession
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 95
Joined: Mon May 11, 2015 8:16 pm

Re: V7 OSPF accept out filter - causes redistribute connected

Mon Jun 19, 2023 1:02 pm

Thanks for the speedy clarification :)

Who is online

Users browsing this forum: No registered users and 7 guests