I would like to ask for help in checking if I have rewritten the rules to v7 correctly (in this example 123.231.0.0/20 is my external BGP IP pool)
v6:
/routing filter
add action=jump chain=Out_MyISP jump-target=No_Bogon
add action=accept bgp-as-path="^\$" chain=Out_MyISP prefix=123.231.0.0/20 prefix-length=20-24 set-bgp-prepend=3
add action=discard chain=Out_MyISP
[b]add action=jump chain=In_MyISP jump-target=No_Bogon set-bgp-communities=""
add action=discard append-bgp-communities="" chain=In_MyISP prefix=123.231.0.0/20 prefix-length=20-32 set-bgp-communities=""
add action=discard append-bgp-communities="" chain=In_MyISP prefix=0.0.0.0/0 set-bgp-communities=""
add action=accept append-bgp-communities="" chain=In_MyISP[/b]
add action=discard chain=No_Bogon prefix=127.0.0.0/8 prefix-length=8-32
add action=discard chain=No_Bogon prefix=255.255.255.255
v7:
/routing filter rule
add chain=Out_MyISP rule="jump No_Bogon;"
add chain=Out_MyISP rule="if (dst in 123.231.0.0/20 && dst-len in 20-24 && bgp-as-path-slow-legacy \"^\$\") { set bgp-path-prepend 3; accept; }"
add chain=Out_MyISP rule="reject;"
add chain=In_MyISP rule="jump No_Bogon;"
add chain=In_MyISP rule="if (dst in 123.231.0.0/20 && dst-len in 20-32) {reject;}"
add chain=In_MyISP rule="if (dst in 0.0.0.0/0) {reject;}"
add chain=In_MyISP disabled=no rule="accept;"
add chain=No_Bogon rule="if (dst in 127.0.0.0/8 && dst-len in 8-32) { reject; }"
add chain=No_Bogon rule="if (dst == 255.255.255.255) {reject;}"
I don’t know why, when upgrading from v6 to v7 all “In_MyISP” rules were skipped and not converted to the new version?
Interestingly, when I downgrade to v6, “In_MyISP” rules reappeared. Does that mean mikrotik keeps the settings for both versions in different places?
Anticipating suggestions, I have read https://help.mikrotik.com/docs/display/ROS/Route+Selection+and+Filters
However, I already had 2 attempts to upgrade my BGP to v7 and both turned out to be a failure, this time I would like to be sure the filters are OK