If you’ve ever worked on a network with hundreds of routers, you’ve probably run into the limitations of single-area OSPF: excessive LSA flooding, massive routing tables, and slow convergence. Multi-area OSPF solves all of this — but it introduces its own design complexity. This guide covers exactly when to go multi-area, how to design it correctly, and how to configure it on both Cisco IOS and Huawei VRP.
Single-Area vs Multi-Area OSPF: When Does It Matter?
Single-area OSPF (everything in Area 0) is perfectly fine for most networks. The general rule of thumb: if you have fewer than 50–75 routers, single-area is simpler and works well. You should consider moving to multi-area when:
- You have 50+ routers in a single area causing excessive SPF calculations
- Network instability in one part of the network is causing SPF storms across all routers
- Routing tables are too large and you need route summarization between areas
- You’re connecting to external routing domains (BGP, EIGRP) and need ASBR control
- Your network spans multiple geographic sites where you want to contain failures locally
OSPF Area Types Explained
Before designing anything, you need to understand the area types available and what problem each solves:
| Area Type | LSAs Allowed | Use When | Reduces Table? |
|---|---|---|---|
| Backbone (Area 0) | Types 1,2,3,4,5 | Always required — all areas connect here | No |
| Standard Area | Types 1,2,3,4,5 | General purpose non-backbone areas | No |
| Stub Area | Types 1,2,3 only | Areas with single exit point, no external routes needed | Yes |
| Totally Stubby | Types 1,2 only | Stub area + block inter-area summaries (Cisco-only) | Maximum |
| NSSA | Types 1,2,3,7 | Stub area that also has an ASBR redistributing external routes | Yes |
Golden rule: Every non-backbone area MUST have a direct or virtual connection to Area 0. There are no exceptions. If Area 0 is not contiguous, use a virtual link — but treat this as a temporary fix, not a design choice.
Key Roles: ABR and ASBR
Understanding these two roles is critical before designing your area structure:
Area Border Router (ABR) — A router with interfaces in two or more areas (always including Area 0). The ABR maintains separate LSDBs for each area and generates Type 3 Summary LSAs to advertise routes between areas. This is where inter-area route summarization happens.
AS Boundary Router (ASBR) — A router that redistributes routes from another routing protocol (BGP, EIGRP, static, connected) into OSPF. Generates Type 5 External LSAs (or Type 7 in NSSA). Every router in the OSPF domain will know about external routes unless you use stub areas to block them.
Sample Design: 3-Area Enterprise Network
Here’s a realistic multi-area design for a company with HQ, two branch regions, and an internet edge:
[Internet/BGP]
|
[ASBR]
|
[Area 0 - Backbone]
/ [ABR1] [ABR2]
| |
[Area 1] [Area 2]
Branch North Branch South
(Stub Area) (NSSA - has
local ASBR)
- Area 0: Core/HQ routers, distribution layer — keeps the backbone lean
- Area 1 (Stub): Branch North — single exit via ABR1, no external routes needed, uses default route
- Area 2 (NSSA): Branch South — has a local internet breakout (ASBR), needs to redistribute those routes but still wants stub behavior
Configuration: Cisco IOS
ABR1 — Area 0 and Area 1
router ospf 1
router-id 1.1.1.1
! Advertise Area 0 interface
network 10.0.0.0 0.0.0.255 area 0
! Advertise Area 1 interfaces
network 192.168.1.0 0.0.0.255 area 1
! Make Area 1 a stub
area 1 stub
! Summarize Area 1 routes toward Area 0 (reduces LSA flooding)
area 1 range 192.168.1.0 255.255.255.0
Internal Router in Area 1 (Stub)
router ospf 1
router-id 2.2.2.2
network 192.168.1.0 0.0.0.255 area 1
! Must match the ABR — both sides must declare stub
area 1 stub
Critical: Both the ABR and all internal routers in a stub area must have
configured. If any router in the area is missing it, adjacency will fail with a Hello mismatch error.area X stub
ABR2 — Area 0 and Area 2 (NSSA)
router ospf 1
router-id 3.3.3.3
network 10.0.0.0 0.0.0.255 area 0
network 192.168.2.0 0.0.0.255 area 2
area 2 nssa
area 2 range 192.168.2.0 255.255.255.0
ASBR in Area 2 (redistributing static/connected)
router ospf 1
router-id 4.4.4.4
network 192.168.2.0 0.0.0.255 area 2
area 2 nssa
redistribute connected subnets
redistribute static subnets
Configuration: Huawei VRP
The key difference on Huawei: OSPF is enabled per interface, not via network statements. The area type is still configured under the OSPF process.
ABR1 — Area 0 and Area 1 (Stub)
[ABR1] ospf 1
[ABR1-ospf-1] router-id 1.1.1.1
[ABR1-ospf-1] area 0
[ABR1-ospf-1-area-0.0.0.0] quit
[ABR1-ospf-1] area 1
[ABR1-ospf-1-area-0.0.0.1] stub
[ABR1-ospf-1-area-0.0.0.1] abr-summary 192.168.1.0 255.255.255.0
[ABR1-ospf-1-area-0.0.0.1] quit
[ABR1-ospf-1] quit
! Enable OSPF on interfaces
[ABR1] interface GigabitEthernet0/0/0
[ABR1-GigabitEthernet0/0/0] ospf 1 area 0
[ABR1] interface GigabitEthernet0/0/1
[ABR1-GigabitEthernet0/0/1] ospf 1 area 1
ASBR in Area 2 (NSSA) — Huawei
[ASBR] ospf 1
[ASBR-ospf-1] router-id 4.4.4.4
[ASBR-ospf-1] area 2
[ASBR-ospf-1-area-0.0.0.2] nssa
[ASBR-ospf-1-area-0.0.0.2] quit
[ASBR-ospf-1] import-route static
[ASBR-ospf-1] import-route direct
[ASBR-ospf-1] quit
[ASBR] interface GigabitEthernet0/0/0
[ASBR-GigabitEthernet0/0/0] ospf 1 area 2
Verification Commands
| Task | Cisco | Huawei |
|---|---|---|
| Show OSPF neighbors |
show ip ospf neighbor |
display ospf peer |
| Show areas on this router |
show ip ospf |
display ospf brief |
| Show LSDB for an area |
show ip ospf database |
display ospf lsdb |
| Show routes learned via OSPF |
show ip route ospf |
display ospf routing |
| Show ABR/ASBR info |
show ip ospf border-routers |
display ospf abr-asbr |
| Check area type |
show ip ospf | include Area |
display ospf brief |
Common Mistakes and How to Avoid Them
1. Area 0 is not contiguous
If you have two separate parts of Area 0 with non-backbone areas in between, OSPF will not work correctly. Fix: either redesign to make Area 0 contiguous, or use a virtual link as a temporary measure.
2. Stub area mismatch
If the ABR has
3. Summarizing at the wrong router
Route summarization only works at ABRs (for inter-area routes) and ASBRs (for external routes). You cannot summarize on internal area routers — the command will be accepted but has no effect.
4. Using NSSA when you just need Stub
NSSA is only needed when the area has its own ASBR. If the area has no external route injection, use a regular stub area — it’s simpler and reduces more LSA types.
5. Forgetting the Router ID
Always set an explicit router ID with
Conclusion
Multi-area OSPF is powerful but only worth the added complexity when you genuinely need it. The most important design rules: keep Area 0 contiguous, use stub areas aggressively to reduce LSA flooding, summarize at every ABR, and always set explicit router IDs. The Cisco vs Huawei syntax differs mainly in how OSPF is enabled on interfaces — the design principles are identical on both platforms.
For Cisco vs Huawei CLI differences in general, check out my Cisco vs Huawei CLI Cheat Sheet. Need help designing a multi-area OSPF network for your environment? Get in touch.