I am struggeling to get a filter done which allows all incoming bgp routes except those which are marked with a certain community. I am running OS 7.6 on the MT.
BGP session looks like this:
Code: Select all
1 E name="ar2-mpls-1"
remote.address=172.22.0.2 .as=29056 .id=217.29.145.52 .capabilities=mp,rr,as4,err .hold-time=20s .messages=810 .bytes=16255 .eor=ip
local.address=172.25.0.130 .as=65535 .id=91.143.98.5 .capabilities=mp,rr,gr,as4 .messages=604 .bytes=11524 .eor=""
output.procid=27 .filter-chain=BGP-OUT .network=LOCAL-NETWORKS-MPLS
input.procid=27 .filter=PRIMARY ebgp
multihop=yes hold-time=20s keepalive-time=6s670ms uptime=1h7m2s290ms last-started=jan/12/2023 00:46:48
Code: Select all
3 chain=PRIMARY rule="if (bgp-communities includes 65535:600) { reject } else { set bgp-local-pref 85; accept }"
So it looks like that my filter is not working.
Any idea what I am doing wrong?
Thanks in advance
Richard