...
In a similar manner, you are allowed to define also community, extended community, and large community lists. Community sets can be used for matching, appending, and setting.
For example match communities from the list and clear the attribute:
Code Block | ||
---|---|---|
| ||
/routing/filter/community-list
add communities=111:222 list=myCommunityList
/routing/filter/rule/add
chain=myChain rule="if (bgp-communities equal-list myCommunityList) {delete bgp-communities wk,other; accept;}" |
/routing/filter/community-list
...