Hello
Upgraded latest longterm v6 to v7
I have a problem with a filter:
drop any except the default route
/routing filter rule
add chain=bgp-cliente disabled=no rule=“if (not dst == 0.0.0.0/0) { reject; }”
it was created after upgrade from v6.
doesnt work, dont export anything.
can someone help me?
Your issue probably is that the default action for filter rules has been changed from accept to reject.
So when you have only this in your rules, it does not work. You need to add an extra rule with “accept”.
Or better you change your rule to:
add chain=bgp-cliente disabled=no rule=“if (dst == 0.0.0.0/0) { accept; }”
Ok good to hear that!
In actuality, it is of course a bug in the v6->v7 upgrade conversion, which should have added an “accept” rule.
I suppose the easiest way to translate ROS6 filter rules to ROS7 format is to upgrade in place? Is there any other way?
No. I have suggested that MikroTik make some offline tool or website to convert filters (and maybe the entire config).
Sort of an offline version of crossfig.
But I don’t think that was implemented already.