Use it when advertising a BGP aggregate, or when the aggregate or its more specific routes are not advertised as intended.
BGP Aggregate
BGP aggregate-address advertises a summary when at least one component route exists in the BGP table; summary-only suppresses the components and as-set keeps AS-path information.
1. BGP aggregate-address creates a summary when at least one component exists in the BGP table.
2. summary-only suppresses components.
3. as-set keeps AS path info.
4. Without components, no aggregate.
5. Check what peers receive.
component in BGP table → aggregate created → advertised (components suppressed)
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
aggregate-address <prefix> <mask> [summary-only]Primary Commands
Configuration and operational commands for this Topic.
aggregate-address <prefix> <mask> [summary-only]ReferenceGenerates a BGP aggregate when qualifying component routes are present.
Cisco IOS XE · mixedaggregate-address <prefix> <mask> summary-onlyReferenceCreate a BGP aggregate and suppress covered specifics.
Use when: Use this command at the Route Summarization boundary in the documented evidence chain.
Quick note: Cisco IOS / IOS XE first. A visible summary does not prove every component is reachable; a component route does not prove the aggregate is advertised.
Cisco IOS / IOS XE · mixedVerification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Common mistakes Narrow the fault
summary-onlyhiding specifics that a peer needs.- Aggregate without
as-setin multi-homed designs.
- The summary must cover only address space the summarizing router can intentionally own
- OSPF ABR
area rangeand ASBRsummary-addressare different boundaries - BGP aggregation and EIGRP summaries have their own semantics
- A discard route prevents loops into uncovered portions of an advertised aggregate.
show bgp ipv4 unicast <aggregate>— aggregate presentshow running-config | section router bgp— aggregate-address [summary-only]show bgp ipv4 unicast neighbors <peer> advertised-routes— what is sent
ReferenceWhat it is1 section · depth on demand
How it works
aggregate-address creates a BGP summary when at least one more-specific route exists in the BGP table. By default both the aggregate and the specifics are advertised; summary-only suppresses the specifics, and as-set keeps AS-path information to avoid loops. A Null0 route is installed for the aggregate.
ReferenceImportant terms & boundaries1 section · depth on demand
In depth
Worked example — what the BGP table shows
Components 10.10.1.0/24 and 10.10.2.0/24 are in the BGP table (from network statements or redistribution):
router bgp 65001
address-family ipv4
aggregate-address 10.10.0.0 255.255.0.0 summary-only
R1# show ip bgp
Network Next Hop Metric LocPrf Weight Path
*> 10.10.0.0/16 0.0.0.0 32768 i
s> 10.10.1.0/24 0.0.0.0 0 32768 i
s> 10.10.2.0/24 0.0.0.0 0 32768 i
The s status code means the component is suppressed — still best locally, not advertised. IOS also installs the aggregate in the local RIB towards Null0, so packets to unused parts of 10.10.0.0/16 are discarded instead of looping towards a default route.
Attributes on the aggregate
| Option | Effect on the advertised summary |
|---|---|
| (none) | Components and summary are both advertised |
summary-only | Only the summary; ATOMIC_AGGREGATE and AGGREGATOR are set |
as-set | AS_SET with the component AS numbers is added; prevents loops but the summary is re-advertised whenever a component flaps |
suppress-map | Suppress only the components the route-map matches |
advertise-map | Build the summary only from the matched components |
Check from the neighbor
show ip bgp neighbors 192.0.2.2 advertised-routes on the local router proves what leaves; on the peer, show ip bgp 10.10.0.0/16 shows atomic-aggregate and aggregated by 65001 <router-id>. CIDR aggregation (RFC 4632) only helps if the addresses really are contiguous — an aggregate that covers space used elsewhere attracts traffic it cannot deliver.
Documented example, not captured output.
ReferenceConfiguration & state1 section · depth on demand
Configuration
router bgp 65001
address-family ipv4
aggregate-address 10.10.0.0 255.255.0.0 summary-only
show ip bgp 10.10.0.0/16
Documented example, not captured output.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Routing → Route Summarization → BGP Aggregate. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://www.rfc-editor.org/rfc/rfc4271.html · confidence 94%