Hello,
I've updated from ros6 to ros7 and BGP filters seems to not work anymore.
In the ros6 the config it's this:
[admin@ros6] /routing filter> print
0 chain=from_telekom prefix=x.x.96.0/23 invert-match=no action=discard set-bgp-prepend-path=""
1 chain=from_rds prefix=x.x.96.0/23 invert-match=no action=discard set-bgp-prepend-path=""
2 chain=from_telekom prefix=x.x.98.0/23 invert-match=no action=discard set-bgp-prepend-path=""
3 chain=from_rds prefix=x.x.98.0/23 invert-match=no action=discard set-bgp-prepend-path=""
4 chain=from_telekom prefix=0.0.0.0/0 invert-match=no action=accept set-bgp-weight=100 set-bgp-local-pref=120 set-bgp-prepend-path=""
5 chain=from_rds invert-match=no action=accept set-distance=50 set-bgp-prepend-path=""
6 chain=to_telekom prefix=x.x.96.0/23 invert-match=no action=accept set-bgp-prepend=3 set-bgp-prepend-path="" set-bgp-communities=""
7 chain=to_rds prefix=x.x.96.0/23 invert-match=no action=accept set-bgp-prepend-path="" set-bgp-communities="" append-bgp-communities=""
8 chain=to_telekom prefix=x.x.98.0/23 invert-match=no action=accept set-bgp-prepend=3 set-bgp-prepend-path="" set-bgp-communities=""
9 chain=to_rds prefix=x.x.98.0/23 invert-match=no action=accept set-bgp-prepend-path="" set-bgp-communities="" append-bgp-communities=""
10 chain=to_rds invert-match=no action=discard set-bgp-prepend-path=""
11 chain=to_telekom invert-match=no action=discard set-bgp-prepend-path=""
In the ros7 the config it's this:
[admin@ros7] /routing/filter> export
add chain=from_telekom disabled=no rule="if (dst == x.x.96.0/23) { reject; }"
add chain=from_rds disabled=no rule="if (dst == x.x.96.0/23) { reject; }"
add chain=from_telekom disabled=no rule="if (dst == x.x.98.0/23) { reject; }"
add chain=from_rds disabled=no rule="if (dst == x.x.98.0/23) { reject; }"
add chain=from_telekom disabled=no rule="if (dst == 0.0.0.0/0) { set bgp-weight 100; set bgp-local-pref 120; accept; }"
add chain=from_rds disabled=no rule="set distance 50; accept;"
add chain=to_rds disabled=no rule="reject;"
add chain=to_telekom disabled=no rule="reject;"
Any ideeas what to change in ros7 to work?