Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

BGP Aggregation & Multipath Deep Reference

Direct answer

BGP aggregation advertises one summary prefix instead of many component routes (aggregate-address, optionally summary-only). BGP multipath installs several equal paths in the routing table (maximum-paths) instead of only the single best path.

When to use this

Use it when one exact route, peer or policy behaves differently from design and you need to identify the first BGP/routing-policy boundary that disagrees.

First 30 seconds

1. Aggregation summarises with aggregate-address; summary-only suppresses specifics; as-set keeps path info.

2. Multipath installs equal paths (maximum-paths, ibgp).

3. Paths must match on weight, LP, AS path length, origin, MED, IGP metric.

4. eBGP multipath needs the same neighbour AS unless relaxed.

5. Verify RIB and CEF show multiple paths.

Operational verification

components → aggregate; equal best paths → multipath → RIB/FIB

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
Key commandmaximum-paths <count>
Scope / prerequisiteUse it when one exact route, peer or policy behaves differently from design and you need to identify the first BGP/rout…
Reference · 1
What next?3 suggested next steps
Catalog command links1
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.

3 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 Operational verification and known-good state Verify boundary
show ip bgp 10.20.0.0/16
show ip bgp 10.20.0.0/16 longer-prefixes
show ip route 10.20.0.0 255.255.0.0
show ip bgp 203.0.113.0/24
show ip route 203.0.113.0

For aggregation: the summary appears in BGP as locally originated, with atomic-aggregate; longer-prefixes lists the contributing routes, marked s when suppressed; the routing table shows the summary to Null0. For multipath: the prefix detail marks the extra paths multipath beside the best one, and the routing table lists several next hops.

Known-good: the summary exists with at least one contributor and is received by the neighbour; or, for multipath, two paths are flagged and two next hops are installed.

Step 2 Failure signatures and troubleshooting branches Narrow the fault
  • The summary is not created. No more-specific route within it is in the BGP table — being in the routing table alone is not enough.
  • The neighbour still receives all the specific routes. summary-only is missing.
  • Traffic to part of the summary is dropped. That part has no specific route, and the Null0 route does its job; the summary promises more than is reachable.
  • The summary flaps. as-set is in use and the contributors change, or there is a single unstable contributor.
  • maximum-paths is set but only one path is installed. The paths differ in an attribute, come from different ASes, are of different types, or — for iBGP — have unequal IGP cost.
  • Two paths are installed but neighbours still hear one. BGP advertises only the best path; that is expected.
Step 3 When the problem is really fixed Narrow the fault
  • The summary is in BGP, received by the neighbour, and the specific routes are suppressed if that was intended.
  • Every part of the summary that is advertised is reachable.
  • For multipath, the paths are flagged multipath and all next hops are in the routing table.
  • Traffic is seen on all the links.
Command lookup Jump straight to Cisco syntax
Key points

Do not equate a configured policy, Established BGP session, visible attribute or installed route with end-to-end success. Prove each boundary in order.

Key checks
  • show bgp ipv4 unicast <aggregate> — aggregate and atomic-aggregate
  • show bgp ipv4 unicast <prefix> bestpath — multipath flags
  • show running-config | section router bgp — maximum-paths
ReferenceWhat it is1 section · depth on demand

Mechanics & mental model

Two separate BGP features. Aggregation advertises one summary prefix in place of many specific ones. Multipath lets the router install more than one BGP path for a prefix and share traffic between them, where BGP would otherwise use only the single best path.

ReferenceWhy it matters1 section · depth on demand

Why it matters operationally

Aggregation keeps routing tables small and hides instability, but it also hides which parts of the summary are actually reachable. Multipath uses links that would otherwise sit idle, but only for paths that BGP considers equal — and the conditions for "equal" are stricter than most expect.

ReferenceImportant terms & boundaries2 sections · depth on demand

In depth

Aggregation attributes and multipath in practice

When BGP summarises routes, RFC 4271 defines how the summary should describe the paths it replaces. If the aggregate leaves out AS numbers that appeared in the original AS_PATHs, it should carry the ATOMIC_AGGREGATE attribute (type 6, length 0), which warns that path information has been lost. The AGGREGATOR attribute (type 7, optional transitive) records the AS and router that created the aggregate. An aggregate can instead keep the original ASes as an AS_SET, an unordered set of the ASes the contributing routes passed through.

Aggregation options on Cisco IOS XE

CommandResult
aggregate-address 10.20.0.0 255.255.0.0The summary is added; specifics are still advertised
... summary-onlyOnly the summary is advertised
... as-setThe summary carries an AS_SET of the contributing ASes (no ATOMIC_AGGREGATE needed)
... suppress-map / unsuppress-mapAdvertise selected specifics as well
network 10.20.0.0 mask 255.255.0.0 plus a Null0 routeA static summary, independent of the specifics

Multipath

Multipath is outside RFC 4271's single-best-path model. It is an implementation feature that installs several equal paths in the forwarding table. BGP still advertises only one best path to its peers, unless add-path is used.

CommandPaths eligible
maximum-paths 4eBGP paths from the same neighbouring AS, equal up to the IGP-metric step
maximum-paths ibgp 4iBGP paths that are otherwise equal
bgp bestpath as-path multipath-relaxeBGP paths from different ASes with the same AS_PATH length
R1(config)# router bgp 65010
R1(config-router)# address-family ipv4 unicast
R1(config-router-af)# aggregate-address 10.20.0.0 255.255.0.0 summary-only as-set
R1(config-router-af)# maximum-paths 2
R1# show bgp ipv4 unicast 10.20.0.0/16 | include aggregated|atomic|best
R1# show bgp ipv4 unicast 198.51.100.0/24 | include multipath|best
R1# show ip route 198.51.100.0 | include via

Design notes

PointReason
A summary hides specific outagesTraffic may be attracted to a site where the specific is down
as-set changes the AS_PATH when specifics changeThat can cause updates and dampening
Multipath needs equal attributes up to the tie-breaking stepsCheck show bgp for why a path is not multipath

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.

Mechanics and state ownership

Aggregation. aggregate-address 10.20.0.0 255.255.0.0 creates the summary in BGP, provided at least one more-specific route within it is in the BGP table. When the last one disappears, so does the summary. By default the specific routes are still advertised alongside it; summary-only suppresses them. The router also installs a route for the summary to Null0, so that traffic to a part of the summary with no specific route is dropped instead of following a default route back out — a loop prevention measure.

The summary is originated by the aggregating router, so the AS path of the specific routes is lost. It is marked with the ATOMIC_AGGREGATE attribute to say so. as-set keeps the AS numbers as an unordered set, which preserves loop prevention at the cost of the summary changing whenever a contributor changes.

Multipath. BGP always selects one best path and advertises only that one. With maximum-paths <n> (eBGP) or maximum-paths ibgp <n>, additional paths are installed in the routing table as well if they tie with the best path on everything that matters: weight, LOCAL_PREF, AS path length, origin and MED, and they are the same type (all eBGP or all iBGP). For eBGP the paths must by default come from the same neighbouring AS; bgp bestpath as-path multipath-relax allows different ASes with equal path length. For iBGP the IGP cost to each next hop must also be equal.

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 Network & Protocols → BGP Aggregation & Multipath Deep Reference. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://www.rfc-editor.org/rfc/rfc4271.html · confidence 94%
Technical changelog & impact

What changed and what may be affected

Recent technical edits are separated from ordinary page timestamps. Relationship impact is advisory: it identifies nearby canonical references to review, not automatic breakage.

Related reference impactReview these references after material technical changes when their shared boundary is affected.
Terminology layer

Terms & aliases

Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.

Aliases that resolve here
bgp aggregateaggregate-addressbgp multipathmaximum-pathsecmp bgp
Embedded reference data

Quick lookup tables

BGP Aggregation & Multipath Deep Reference operational reference

Topic-specific bounded interpretation: known-good state, suspicious signatures and the next technical proof boundary.

BoundaryKnown-good for BGP Aggregation & Multipath Deep ReferenceSuspicious signatureNext proof
Input/sessionCorrect peer, source, AF and route contextSession/source/input state disagreesExact peer/source/prefix detail
Policy/protocolthe separate control-plane problems of BGP route aggregation and multipath installation: component-route eligibility, summary generation/suppression, aggregate attributes, multiple-path eligibility, maximum-path settings and actual RIB/FIB programming matches intended designan aggregate is absent because required component reachability is missing, summary-only suppresses more specifics unexpectedly, aggregate attributes differ from policy intent, candidate paths fail multipath eligibility, maximum-path settings are absent, or multiple RIB/CEF paths exist but a single flow hashes to one member and is misread as failed load balancingCompare policy/attributes/propagation
Route/forwardingExpected result reaches RIB/FIBControl-plane state exists but installed path disagreesRIB/FIB/CEF + next-hop proof
ClosureOriginal workload passes for explained reasonSymptom moved, was bypassed or state was forcedRegression/failover test
Embedded quick reference

Operational notes

Former standalone Cheat Sheet content now lives directly inside the Topic where it belongs.

BGP Aggregate & Multipath — Fast Check

Distinguish summary generation from forwarding multipath

1. Verify component routes.

2. Inspect aggregate attributes.

3. Check summary-only/suppression.

4. Inspect candidate BGP paths.

5. Check multipath eligibility/max-paths.

6. Verify RIB/FIB.

Confirmation

Confirm action

Continue?