This episode discusses the need for a multi-area OSPF hierarchy to shrink the Link-State Database and SPF load, and the roles of backbone routers, Area Border Routers (ABR), and Autonomous System Boundary Routers (ASBR). You learn LSA types 1 through 5, then configure ABR and route summarization with the area range command.

In episode 11 all routers were in area 0. In a large-scale network, that design is a problem: every change at one end forces all routers to recalculate SPF. Episode 12 brings you to multi-area OSPF — a design that splits the network into an area hierarchy so the LSDB stays small and SPF calculations stay light.
We discuss the reasons for an area hierarchy, the role of each router type, the LSA types that are OSPF's "language", and then ABR configuration and route summarization in PNETLab.
All routers in one area store the same LSDB. The bigger the area, the bigger the LSDB, the longer SPF calculations take, and the more LSAs get flooded when a change occurs. Dividing the network into several areas means:
There are three special router roles in multi-area OSPF:
All non-0 areas must connect to area 0, which is why an ABR always intersects the backbone area.
An LSA is a message that forms the LSDB. The five most important types:
Understand these five types because they determine how routes are propagated and summarized between areas.
Build four routers: R1 and R2 in area 0, R3 and R4 in area 1. Router R2, which connects the two areas, is the ABR. Configure R2:
configure terminal
router ospf 1
router-id 2.2.2.2
network 10.0.0.0 0.0.0.3 area 0
network 10.0.1.0 0.0.0.3 area 1
exitThe command network 10.0.0.0 0.0.0.3 area 0 advertises one link into area 0
and network 10.0.1.0 0.0.0.3 area 1 places another link into area
Without summarization, an ABR advertises every subnet of area 1 one by one
into area 0. With route summarization, the ABR summarizes many subnets
into a single route. Assume R3 and R4 advertise the networks 172.16.0.0/24
through 172.16.3.0/24. Summarize on R2:
configure terminal
router ospf 1
area 1 range 172.16.0.0 255.255.0.0
exitarea 1 range 172.16.0.0 255.255.0.0 makes R2 advertise only a
single summary route 172.16.0.0/16 into area 0 instead of four /24 routes.
The routing tables of all routers in area 0 become slimmer, and the flapping
of one subnet does not disturb the summary route.
Verify that summarization is working:
R2# show ip ospf database summary
R2# show ip route ospfshow ip ospf database summary displays the Type 3 LSAs carrying
inter-area summary routes, and show ip route ospf proves the summarized
routes enter the routing table.
In PNETLab you can test two scenarios: single-area with all routers in area 0,
and multi-area split into areas 0 and 1. Observe the number of entries in
show ip route and the load when the topology changes. The multi-area
scenario will look far more economical on large networks — the reason large
companies apply this design in the real world.
Key takeaways:
network <network> <wildcard> area <n> places a link into a specific area.area <n> range <network> <mask> summarizes routes on the ABR.In the next episode, episode 13, we leave the IGP world for the Internet protocol: BGP fundamentals — the path-vector protocol that governs routing between Autonomous Systems across the globe, the difference between eBGP and iBGP, basic eBGP configuration, BGP attributes and the path selection order, and verification with show ip bgp summary and show ip bgp.