OSPF

OSPF Route Summarization: Strategy and Configuration

Use area range on ABRs for inter-area summaries and summary-address on ASBRs for externals. Here is the difference, the config, and the show command output.
OSPF Route Summarization: Strategy and Configuration
In: OSPF

Inter-Area Summarization (ABRs)

Command: area [id] range [network] [mask]

Configuration:

router ospf 1
 area 10 range 172.16.0.0 255.255.0.0

What it does:

  • Summarizes all 172.16.x.x networks in Area 10
  • ABR advertises single /16 into Area 0
  • Blocks individual /24 LSAs

External Summarization (ASBRs)

Command: summary-address [network] [mask]

Configuration:

router ospf 1
 summary-address 192.168.0.0 255.255.0.0

What it does:

  • Summarizes all 192.168.x.x external routes
  • ASBR advertises single /16 Type 5 LSA

Example Configuration

Topology

Area 0 --- R1 (ABR) --- Area 10 (172.16.1.0/24, 172.16.2.0/24, etc.)

R1 Configuration

router ospf 1
 area 10 range 172.16.0.0 255.255.0.0

Result

Before:

O IA 172.16.1.0/24
O IA 172.16.2.0/24
O IA 172.16.3.0/24

After:

O IA 172.16.0.0/16  ← One route instead of many

Verification

R1# show ip ospf | include range
  Area 10
    It is an area border router
    Area has range for advertisement: 172.16.0.0/16

Summary

Inter-areaarea X range on ABR
Externalsummary-address on ASBR
Benefits — Smaller tables, faster SPF
Plan IP addressing for clean summarization

Next: OSPF Redistribution (Article 29)

Internal Links:

Written by
More from Ping Labz
Great! You’ve successfully signed up.
Welcome back! You've successfully signed in.
You've successfully subscribed to Ping Labz.
Your link has expired.
Success! Check your email for magic link to sign-in.
Success! Your billing info has been updated.
Your billing was not updated.