Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

BGP Aggregate

Direct answer

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.

When to use this

Use it when advertising a BGP aggregate, or when the aggregate or its more specific routes are not advertised as intended.

First 30 seconds

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.

Operational verification

component in BGP table → aggregate created → advertised (components suppressed)

Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
Protocol standard + deployed implementation
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformProtocol standard · Cisco IOS XE · Cisco IOS / IOS XE
Key commandaggregate-address <prefix> <mask> [summary-only]
Scope / prerequisiteUse it when advertising a BGP aggregate, or when the aggregate or its more specific routes are not advertised as intend…
Reference · 2
What next?3 suggested next steps
Catalog command links2
Evidence0
On this pageJump to a specific section
Cisco IOS / IOS XE first

Primary Commands

Configuration and operational commands for this Topic.

Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

1 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Common mistakes Narrow the fault
  • summary-only hiding specifics that a peer needs.
  • Aggregate without as-set in multi-homed designs.
Command lookup Jump straight to Cisco syntax
Key points
  • The summary must cover only address space the summarizing router can intentionally own
  • OSPF ABR area range and ASBR summary-address are different boundaries
  • BGP aggregation and EIGRP summaries have their own semantics
  • A discard route prevents loops into uncovered portions of an advertised aggregate.
Key checks
  • show bgp ipv4 unicast <aggregate> — aggregate present
  • show 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

OptionEffect on the advertised summary
(none)Components and summary are both advertised
summary-onlyOnly the summary; ATOMIC_AGGREGATE and AGGREGATOR are set
as-setAS_SET with the component AS numbers is added; prevents loops but the summary is re-advertised whenever a component flaps
suppress-mapSuppress only the components the route-map matches
advertise-mapBuild 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.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
ReferenceConfiguration & state1 section · depth on demand
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docProtocol standard + deployed implementation RFC 4271

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%
Confirmation

Confirm action

Continue?