Summarization
Cheat sheet · https://pcornel.dk/topic.php?topic=634
Answer
OSPF summarises only at borders: an ABR summarises inter-area routes with area <id> range, an ASBR summarises external routes with summary-address. Inside an area, every link stays visible.
Remember
The range must cover only networks in that area, or traffic will be attracted to the wrong place. The summary exists while at least one component route exists. The ABR installs a route to Null0 for the summary to prevent loops.
First checks
show ip ospf database summary <prefix>— type 3 LSAs, including the summary.show ip route <summary>— on the ABR: a route to Null0; elsewhere: the summary.show ip ospf | section Area— ranges configured per area.show ip ospf summary-address— external summaries on an ASBR.
Commands
show ip ospf database summary- Shows Type-3 Summary LSAs.
area <area-id> range <prefix> <mask>- Configures ABR summarization for inter-area routes.
summary-address <prefix> <mask>- Configures external route summarization at an OSPF redistribution boundary on supported IOS XE releases.
show ip route ospf- Display OSPF-installed routes, including O/E1/E2 route codes.
area <area> range <network> <mask>- Summarize intra-area routes from an OSPF area into one range on the ABR.
show ip ospfshow ip route <summary> <mask>show ip ospf database summary <summary>
Verify in this order
component routes in the area → range configured on the ABR → one type 3 LSA for the summary → Null0 route on the ABR → other areas see only the summary
Where it usually breaks
underlay/interface reachability → protocol adjacency/session → received/originated state → policy → best path/RIB → FIB/adjacency → traffic path
Summarization · operational reference
| State / evidence | Interpretation |
|---|---|
| ABR summary | Inter-area scope |
| ASBR summary | External redistribution scope |
| Discard route | Loop-prevention boundary |
| Aggregate present | Does not prove all specifics alive |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=634