OSPF — area X range for ABR Type-3 summary aggregation
- Routing
- Advanced
- 14 min
- 3 steps
- Cisco IOS-style
R1 advertises three /24 loopbacks (10.0.0.0/24, 10.0.1.0/24, 10.0.2.0/24) into area 1. Without summarisation, the ABR projects three Type-3 summaries into area 0. Configure area 1 range 10.0.0.0 255.255.0.0 on the ABR and watch the three /24s collapse into one /16 in area 0.
Open this lab in your browser →
Free · no install · no account
Scenario
area <id> range <network> <mask> is OSPF's ABR-side aggregation knob. RFC 2328 §12.4.3: - When the ABR generates Type-3 summaries OUT of area <id>, every prefix that falls within <network>/<mask> is suppressed. - One summary Type-3 covering <network>/<mask> is emitted in its place. - Cost = max of contributing components (Cisco default; cost N overrides). Optional not-advertise keyword: suppress the components AND the summary — effectively a black-hole filter at the area boundary. In this lab three /24s under a /16 cover get aggregated. Verify with show ip route on the area-0 router (R3): one /16 entry instead of three /24s.
Topology
3 × router · Cisco IOS-style
R1— routerABR— routerR3— router
What you will do
On R3, run
show ip route ospf. Without aggregation you should see THREE inter-area routes (O IA) — one per /24.On the
ABR, configurearea 1 range 10.0.0.0 255.255.0.0underrouter ospf 1. This tells the ABR to aggregate area-1's10.0.0.0/16cover to a single Type-3 in area 0.Back on R3, re-run
show ip route ospf. The three /24s should be gone, replaced by oneO IA 10.0.0.0/16entry.
Open this lab in your browser →
More labs on this topic
- Syntax delta — static route (Extreme EXOS)Beginner · 4 min
- Syntax delta — static route (Cisco IOS)Beginner · 4 min
- Syntax delta — static route (Juniper Junos)Beginner · 5 min
- Syntax delta — static route (VyOS)Beginner · 5 min
- Static routes — fix hub-and-spokeBeginner · 12 min
- Static routes — egress-interface form (point-to-point)Beginner · 8 min
This lab in other languages
OSPF — area X range für ABR-Type-3-Summary-AggregationOSPF — area X range para agregación Type-3 en el ABROSPF — area X range para agregação Type-3 no ABROSPF — area X range pour l'agrégation Type-3 sur l'ABROSPF — ABR Type-3 summary aggregation के लिए area X rangeOSPF — area X range 用于 ABR Type-3 汇总聚合OSPF — area X range per aggregazione Type-3 sull'ABROSPF — ABR Type-3 サマリ集約のための area X rangeOSPF — ABR Type-3 요약 집계를 위한 area X rangeOSPF — area X range для агрегации Type-3 на ABROSPF — ABR Type-3 özet toplaması için area X rangeOSPF — area X range để tổng hợp Type-3 trên ABR