Pcornel
Networking · Routing › Route Summarization

BGP Aggregate

Cheat sheet · https://pcornel.dk/topic.php?topic=2622

Back to the Topic

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.

Remember

  • 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.

First 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

Commands

aggregate-address <prefix> <mask> summary-only
Create a BGP aggregate and suppress covered specifics.
aggregate-address <prefix> <mask> [summary-only]
Generates a BGP aggregate when qualifying component routes are present.
show ip bgp neighbors 192.0.2.2 advertised-routes
show ip bgp 10.10.0.0/16

Verify in this order

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

Where it usually breaks

underlay/interface reachability → protocol adjacency/session → received/originated state → policy → best path/RIB → FIB/adjacency → traffic path

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=2622

Confirmation

Confirm action

Continue?