Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

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]
policy-statement policy-name {term term-name {then community delete wild;}}

To suppress a particular community from any AS, define the community as community wild members "*:community-value".

Published: 2013-02-10

Supported Platforms

Published: 2013-02-10