aggregate-address
(BGP)
aggregate-address
{
ip-addr
ip-mask
|
ipv6-addr
ipv6-mask
}
[
advertise-map
map-name
]
[
as-set
]
[
attribute-map
map-name
]
[
summary-only
]
[
suppress-map
map-name
]
no aggregate-address
{
ip-addr
ip-mask
|
ipv6-addr
ipv6-mask
}
[
advertise-map
map-name
]
[
as-set
]
[
attribute-map
map-name
]
[
summary-only
]
[
suppress-map
map-name
]
The address aggregation feature is disabled. By default, the device advertises individual routes for all networks.
- as-set
- Causes the device to aggregate AS-path information for all routes in the aggregate routes from a range of networks into a single network prefix.
- attribute-map
- Causes the device to set attributes for the aggregate routes according to the specified route map.
- summary-only
- Prevents the device from advertising more-specific routes contained within the aggregate route.
BGP configuration mode
BGP address-family IPv6 unicast configuration mode
BGP address-family IPv4 unicast VRF configuration mode
BGP address-family IPv6 unicast VRF configuration mode
When this command is entered in BGP global configuration mode, it applies only to the IPv4 address family. Use this command in BGP address-family IPv6 unicast configuration mode for BGP4+ configurations.
This example aggregates routes from a range of networks into a single network prefix and prevents the device from advertising more-specific routes.
device# configure terminal device(config)# router bgp device(config-bgp-router)# aggregate-address 10.11.12.0 summary-only
This example aggregates routes from a range of networks into a single network prefix under the IPv6 address family and advertises the paths for this route as AS_SET.
device# configure terminal device(config)# router bgp device(config-bgp-router)# address-family ipv6 unicast device(config-bgp-ipv6u)# aggregate-address 2001:DB8:12D:1300::/64 as-set
| Release version | Command history |
|---|---|
| 08.0.30 | Support was added for the BGP address-family IPv6 unicast VRF configuration mode. |