Good morning,
I am in the process of migrating our BGP router to v7. I have a very basic question for which I could not find an answer in the documentation, regarding the processing of the route filter rules.
My assumption is that the rules are processed from top to bottom and that, if no rule results in accept, the route will be discarded.
So to reject only a few routes, I expect the following script should work:
/routing filter rule
add chain=ipv4_in rule="if (dst in127.0.0.0/8) {reject}"
add chain=ipv4_in rule="if (dst in 192.0.0.0/24) {reject}"
add chain=ipv4_in rule="if (dst in 10.0.0.0/8) {reject} else {accept}"
Is that correct?