The bgp2 peer bandwidth is overloaded and I need to filter some comunities(302,303,304) and announce routes (my routes?) to comunities 2209,2309,2409.
I didn’t used before and I’m not sure if it’s OK. Please help me.
I make a route filter for bgp-in-filter chain with bgp-connection=302 /303/304 action discard
Enable that bgp-in-filter filter in BGP2 peer at “in-filter” ?
But how I set to announce my routes to 2209 communities?
Set out-filter to peer which is advertising your prefix. Action typically is “accept”. And also custom communities are written in format x:x, so if you need to set 2209 then in routeros you must set 0:2209
Let’s say you set to bgp peer out-filter=peer1-out
Then filter should be:
/routing filter add chain=peer1-out action=accept prefix=x.x.x.x/y set-bgp-communities=0:2209