Navigation
Using Routing Policies to Prevent Advertisement of BGP Communities to Neighbors
By default, communities are sent to BGP peers. To suppress the advertisement of communities to a neighbor, remove all communities. When the result of an export policy is an empty set of communities, the community attribute is not sent. To remove all communities, first define a wildcard set of communities (here, the community is named wild):
[edit policy-options]community wild members "* : *";
Then, in the routing policy statement, specify the community delete action:
[edit policy-options]
To suppress a particular community from any AS, define the community as community wild members "*:community-value".