Skip to content
Dorian FINKEL
Cisco IOSOSPFRoutingTutorial · 2026 · 4 min read · Updated 9 October 2026
Level · IntermediateDuration · 30 min

Multi-area OSPF on Cisco IOS: the essentials

A backbone area, areas around it, passive interfaces where there is no neighbour, an up-to-date reference bandwidth: the basis of readable, robust OSPF routing.

Prerequisites

  • Cisco IOS routers that can reach each other
  • An addressing plan per area

01Why areas

In one big area, every router knows every link, and a link change forces every router to recompute. Splitting into areas contains the flooding of those details: an area only receives route summaries from the others, and its tables stay smaller.

Every area connects to backbone area 0, which must remain contiguous. Routers that sit across two areas (ABRs) make the link.

02An area border router (ABR)

network ties interfaces to an area: an address, an inverse mask (wildcard), an area number. passive-interface default stops hellos everywhere, then you re-enable them where a neighbour is expected.

The reference bandwidth defaults to 100 Mbit/s: a 1 Gbit/s link and a 10 Gbit/s link then have the same cost, 1. Raising it (here to 100 Gbit/s) makes costs meaningful; the value must be the same on every router.

Example · Cisco IOS
router ospf 1
 router-id 1.1.1.1
 auto-cost reference-bandwidth 100000
 passive-interface default
 no passive-interface GigabitEthernet0/0
 no passive-interface GigabitEthernet0/1
 network 10.0.0.0 0.0.0.3 area 0
 network 10.10.1.0 0.0.0.255 area 10

03Point-to-point links

On an Ethernet link between only two routers, electing a designated router (DR) is useless and delays the adjacency. The point-to-point type removes it.

Example · Cisco IOS
interface GigabitEthernet0/0
 ip ospf network point-to-point

04Lighten an edge area

A stub area doesn’t receive external routes, replaced by a default route. The command goes on every router in the area: the stub flag must match for them to become neighbours.

With no-summary, added on the ABR only, the area becomes “totally stubby”: it no longer receives routes from other areas either, only the default route.

Example · Cisco IOS
! On every router in area 10
router ospf 1
 area 10 stub
! On the ABR only, for a totally stubby area
router ospf 1
 area 10 stub no-summary

05Verify

Neighbours in FULL, then routes marked O (intra-area) and O IA (inter-area) in the routing table. A neighbour stuck in EXSTART or EXCHANGE often means mismatched MTUs on the two sides.

Example · Cisco IOS
show ip ospf neighbor
show ip ospf interface brief
show ip route ospf

Key takeaways

  • Every area connects to area 0, which stays contiguous.
  • Fixed router-id: stable, readable neighbours.
  • reference-bandwidth raised, identical everywhere.
  • passive-interface default, then open case by case.
  • FULL neighbours, O and O IA routes: you’re good.

Example addresses.

Official sources