OSPF area types control which LSAs may exist in an area – to reduce routing-table size, LSA flooding and to improve stability and performance.

Area type overview

Area type Allowed LSAs External routes Default route ASBR in area Cisco command
Normal area 1, 2, 3, 4, 5 ✔️ ✔️ *(default)*
Stub area 1, 2, 3 ❌ (type 5 blocked) ✔️ area X stub
Totally stub (Cisco) 1, 2 ✔️ area X stub no-summary
NSSA 1, 2, 3, 7 ✔️ (type 7) ✔️ ✔️ area X nssa
Totally NSSA (Cisco) 1, 2, 7 ✔️ (type 7) ✔️ ✔️ area X nssa no-summary

Stub area

A stub area does not allow external routes: it blocks Type 5 LSAs and receives one default route (0.0.0.0) from the ABR. Allowed: types 1, 2, 3. Not allowed: type 5.

router ospf 1
 area 1 stub

All routers in the area MUST match.

NSSA (Not-So-Stubby Area)

A stub area with an exception: it allows an ASBR inside; external routes are injected as Type 7 LSAs, and the ABR translates Type 7 → Type 5 toward the backbone.

router ospf 1
 area 2 nssa

Totally stubby & totally NSSA (Cisco proprietary)

⚠️ Cisco-only – not standard OSPF.

When to use what?

Situation Area type
Small site without external routes Stub
Site with local internet/MPLS NSSA
Very small site Totally stub
Strict routing control Totally NSSA

Exam one-liners ⚠️

Typical faults

OSPF filtering & summarization cheat sheet

1. ABR – prefix-list (area filtering) — filters inter-area routes (Type 3):

ip prefix-list BLOCK seq 5 deny 10.0.0.0/8
ip prefix-list BLOCK seq 10 permit 0.0.0.0/0 le 32
router ospf 1
 area 1 filter-list prefix BLOCK in

2. Router – distribute-list — filters only the routing table (RIB), NOT the LSDB:

ip access-list standard BLOCK
 deny 10.0.0.0 0.255.255.255
 permit any
router ospf 1
 distribute-list BLOCK in

3. ASBR – route-map (redistribution filtering) — filters external routes (Type 5):

ip access-list standard REDIST
 permit 192.168.0.0 0.0.255.255
route-map FILTER permit 10
 match ip address REDIST
router ospf 1
 redistribute static subnets route-map FILTER

4. ABR – summarization (inter-area):

router ospf 1
 area 1 range 10.0.0.0 255.0.0.0

5. ASBR – summarization (external):

router ospf 1
 summary-address 192.168.0.0 255.255.0.0

What you MUST remember (exam!)

5-second rule: ABR → areas · ASBR → external · route-map → redistribution · prefix-list → ABR filtering · distribute-list → RIB only.