Explains configuring aggregate routes and marking specific routes as aggregate contributors to control route aggregation and advertisement via route policies.
Policy-based aggregate route management is a feature that
-
allows you to configure aggregate routes in the routing table
-
marks specific routes as aggregate contributors for a specific destination route via route policy, and
-
enables you to set and modify aggregate contributors to a route aggregate address.
Aggregate contributor behavior in BGP
| Feature Name |
Release |
Description |
|---|---|---|
| Configuring an Aggregate Contributor |
Release 7.5.4 |
You can now configure aggregate routes in the routing table and mark specific routes as aggregate contributors for a specific destination route via route policy. This allows you to set the aggregate contributors to a route aggregate address and modify these routes. You can then use the BGP route policy to tag BGP prefixes before announcing them to the rest of the global network. Earlier, there was no mechanism to identify a more specific route contributing to an aggregate and mark them as aggregate contributors. This feature introduces these changes:
|
Route aggregation in BGP combines several specific routes into one route. You can configure the aggregate routes in the BGP routing table and mark specific routes as aggregate contributors for a specific destination route via route policy.
For example, if you have three prefixes 1.1.1.2/32, 1.1.1.3/32, and 1.1.1.4/32 in the routing table, BGP aggregates them by an aggregate route 1.1.1.0/24 and advertises that route to a peer. Before Cisco IOS XR Release 7.5.4, you could advertise to a peer the more specific route addresses along with the aggregate route (the 1.1.1.X’s) or the aggregate route, 1.1.1.0/24.
You can now mark specific routes (the 1.1.1.X’s) as aggregate contributors for a specific destination route. This allows you to set the aggregate contributors to a route aggregate address and modify these routes. After setting an aggregate contributor, you also have the option to set BGP attributes (for example, cost community, next-hop, BGP multiple exit discriminator) to the aggregate contributor. This checks the integrity of BGP updates in BGP update messages and optimizes reaction when detecting invalid attributes. You can then apply the inbound policy and the outbound policy to the neighbors.