Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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
languageros
/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

...