I have an issue with BGP community filter
I want to give only few communities to neighbour
What I am doing:
routing filter add chain=bgp-out bgp-communities=65009:0 invert-match=no action=accept set-bgp-prepend-path=“”
routing filter add chain=bgp-out bgp-communities=“” invert-match=no action=discard set-bgp-prepend-path=“”
routing bgp peer set peer out-filter=bgp-out
After that i have what i want, neighbour have only routes from community 65009:0. If i trying to give communities as list:
routing filter add chain=bgp-out bgp-communities=65009:0, 65012:0 invert-match=no action=accept set-bgp-prepend-path=“”
routing filter add chain=bgp-out bgp-communities=“” invert-match=no action=discard set-bgp-prepend-path=“”
routing bgp peer set peer out-filter=bgp-out
then neighbour have no routes, but i beilive that neighbour must have routes from communities 65009:0 and 65012:0.
what do i do wrong?