Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

Including BGP Communities and Extended Communities in Routing Policy Match Conditions

To include a BGP community or extended community in a routing policy match condition, include the community condition in the from statement of a policy term:

from {community [ names ];}

You can include this statement at the following hierarchy levels:

  • [edit policy-options policy-statement policy-name term term-name]
  • [edit logical-systems logical-system-name policy-options policy-statement policy-name term term-name]

Additionally, you can explicitly exclude BGP community information with a static route by using the none option. Include this option when configuring an individual route in the route portion to override a community option specified in the defaults portion.

Note: You can include the names of multiple communities in the community match condition. If you do this, only one community needs to match for a match to occur (matching is effectively a logical OR operation).

Published: 2012-12-04

Supported Platforms

Published: 2012-12-04