Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

Single Area

Direct answer

Single-area OSPF puts every router and link in area 0. It is the simplest design: every router knows every link, and there are no area borders to configure.

When to use this

Use it for small networks, and as the first step when learning OSPF.

First 30 seconds

1. show ip ospf neighbor — is the neighbour there, and FULL (or 2WAY between two DROTHERs)?

2. Missing → show ip ospf interface <interface> on both ends: same area, subnet, timers, network type, authentication? Passive?

3. Stuck in EXSTART/EXCHANGE → MTU mismatch.

4. FULL but route missing → show ip ospf database: is the LSA there? Filtered at an ABR?

5. Unexpected path → compare costs along both paths.

Operational verification

interface in OSPF and not passive → hellos match → 2WAY → DR/BDR elected on broadcast links → database exchange → FULL → LSAs in the database → SPF → routes installed

Evidence · next step

Compare the peer interface, correct the intentional design mismatch, then verify Hellos/neighbor state.

Continue only after interpreting the current observation.
Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
Protocol standard + deployed implementation
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformProtocol standard · Cisco IOS / IOS XE · Cisco IOS XE
Key commandrouter ospf <process-id>
Scope / prerequisiteUse it for small networks, and as the first step when learning OSPF.
Reference · 8
What next?3 suggested next steps
Catalog command links8
Evidence2
On this pageJump to a specific section
Cisco IOS / IOS XE first

Primary Commands

Configuration and operational commands for this Topic.

Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

7 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Single-area OSPFv2: interpreting results and safe closure Verify boundary

Illustrative neighbor states, not captured output:

ObservationInterpretationNext check
FULL/- on a point-to-point linkDatabase adjacency completedTarget advertisement, RIB and CEF
2WAY/DROTHER between two broadcast DROTHERsCan be expected behaviorLocal role and FULL relations to DR/BDR
Persistent EXSTART/BDRDatabase exchange has not completed; suffix is the peer roleMTU, unique router IDs and exchange diagnostics on both peers

For a controlled two-router area-0 lab, advertise distinct loopbacks and verify the remote prefix in the LSDB, route table and CEF. Test loopback-to-loopback traffic with an explicit source and a valid reverse route. As a negative test, make only the transit interface passive on one lab router: neighbor loss and removal of routes dependent on that adjacency are expected after applicable timers. Restore the exact prior passive-interface state and verify recovery plus one unaffected route.

Interface changes and process resets are interventions, not read-only checks. A reset has no inverse that restores the old neighbor state instantly; recovery depends on successful adjacency and route convergence. Examples describe expected behavior only; no lab execution or new Evidence is claimed.

Step 2 Operational verification and known-good state Verify boundary
show ip protocols
show ip ospf interface brief
show ip ospf neighbor
show ip route ospf

show ip protocols summarises the process: router ID, which interfaces are included, and which are passive. The brief interface view is the quickest check that nothing is missing and that the costs are sensible. The neighbour table and the routing table show the result.

Known-good: every intended interface is in area 0, router links are Full, user-facing interfaces are passive, and each router has an O route to every remote subnet.

Step 3 Verification and output interpretation Verify boundary

Verify neighbors, interface area/network type, LSDB contents, SPF-derived routes and CEF. show ip ospf neighbor, show ip ospf interface, show ip ospf database and show ip route ospf show different stages of the chain. FULL adjacency demonstrates database synchronization with that peer, but route installation still depends on LSAs, SPF selection and the local RIB.

Step 4 Single-area OSPFv2: branch on neighbor, LSDB and route Narrow the fault

Use the same interface, area, prefix and time window throughout:

1. No neighbor: compare link/subnet, OSPF interface participation, passive-interface intent, area, authentication, hello/dead timers and protocol-89 filtering on both ends. A passive loopback can advertise a prefix without forming a neighbor.

2. INIT: investigate one-way Hello visibility. Persistent EXSTART/EXCHANGE: compare interface MTU, router IDs and database-exchange conditions before changing anything; these states do not show one universal cause.

3. FULL but prefix missing: inspect show ip ospf database and the originator's interface advertisement. In a single-area design, investigate the in-area topology rather than assuming ABR summarization is involved.

4. Advertisement present but no OSPF RIB entry: inspect show ip route <destination> for a competing eligible route and next-hop reachability. show ip route ospf alone cannot show a winning static or connected route.

5. Route installed but traffic fails: inspect show ip cef <destination>, next-hop ARP, egress policy and the return route. FULL describes database adjacency, not successful application forwarding.

Restore only the specific misconfiguration identified by the failing step; compare the peer again before considering a reset.

Step 5 Verification & troubleshooting Narrow the fault

1. show ip protocols → router ID, the networks or interfaces in OSPF, and the passive interfaces.

2. show ip ospf interface brief → every intended interface is listed, in area 0, with its cost and neighbour count.

3. show ip ospf neighbor → FULL on every router-to-router link.

4. show ip ospf database → one Router LSA per router.

5. show ip route ospf → every remote prefix is present.

6. For a missing prefix, go to the router that owns it and check whether its interface appears in step 2.

Step 6 Failure signatures and troubleshooting branches Narrow the fault
  • A prefix is missing everywhere. Its interface is not matched by any network statement, or OSPF was not enabled on it.
  • A neighbour does not form on an uplink. The interface is passive — typically passive-interface default without an exception for it.
  • "The process IDs differ, so they will not peer." Not so; the process ID is local.
  • The default route is not propagated. default-information originate is configured but the edge router has no default route of its own.
  • A neighbour appears on a user-facing port. The interface is not passive, and something there speaks OSPF.
Step 7 When the problem is really fixed Narrow the fault
  • All intended interfaces appear in show ip ospf interface brief in area 0.
  • Router links are Full; user-facing interfaces are passive.
  • Each router has routes to all remote subnets.
  • The database lists exactly one Router LSA per router.
Evidence references

Evidence · 2 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

command output · 1configuration · 1
Command lookup Jump straight to Cisco syntax
Key points

Fine up to a moderate number of routers and links; beyond that, the database and SPF runs grow, and areas help. Everything still has to match per link: subnet, timers, network type, authentication, MTU.

Key checks
  • show ip ospf neighbor — neighbours with state and DR/BDR role.
  • show ip ospf interface brief — OSPF interfaces, area, cost, state.
  • show ip ospf interface <interface> — timers, network type, priority, authentication.
  • show ip ospf database — the LSAs per area.
  • show ip route ospf — the routes OSPF installed.
  • show ip protocols — router ID, areas, passive interfaces.
ReferenceWhat it is1 section · depth on demand

What it is

A single-area OSPF design puts every OSPF interface in one area — by convention area 0. All routers then share one link-state database, and every OSPF route is an intra-area route.

ReferenceWhy it matters1 section · depth on demand

Why it matters

It is the simplest form of OSPF and the right choice for small and medium networks: no border routers, no summaries, nothing hidden — what one router knows, all know. It is also the baseline for troubleshooting, because the chain is short: neighbour, database, route. Its limits are that every change makes every router recalculate, and that there is no point at which routes can be summarised or filtered.

ReferenceHow it works1 section · depth on demand

Single-area OSPFv2: read state before resetting

Scope: Cisco IOS / IOS XE, OSPFv2 IPv4 unicast in one area and the global routing table. Record process, router IDs, area, interface, network type and target prefix. A process ID is locally significant; peer IDs need not match.

Use show ip ospf interface brief to locate participating interfaces, then show ip ospf interface <interface> for area, network type, timers and role. Use show ip ospf neighbor for neighbor ID, state, dead timer and local interface. On broadcast networks, 2WAY between two DROTHER routers can be normal; expected adjacencies to DR/BDR and point-to-point peers should reach FULL.

clear ip ospf process is a disruptive process reset, not an observation command. It can tear down adjacencies and trigger route reconvergence. Do not use it as the first troubleshooting step or to erase the symptom before collecting state.

References: Cisco OSPF command reference, Cisco explanation of normal 2-Way state.

ReferenceImportant terms & boundaries6 sections · depth on demand

Key points

  • Enable with router ospf 1 and network <address> <wildcard> area 0, or with ip ospf 1 area 0 on each interface.
  • The process ID is local to the router and does not have to match between neighbours.
  • Set router-id explicitly.
  • Make user-facing interfaces passive: their subnet is advertised but no Hellos are sent. passive-interface default with no passive-interface on the router links is the safe pattern.
  • Set the same auto-cost reference-bandwidth everywhere.
  • Internal routes appear as O; redistributed routes as O E2.
  • Use area 0, so that other areas can be added later.

In depth

Single-area OSPF: every router in area 0

In a single-area design, all routers and interfaces are in the backbone, area 0. The Catalyst 9000 OSPF guide states that every device in an area keeps an identical LSDB and runs SPF on it. With only one area, every router knows the complete topology, and there are no ABRs or summary LSAs.

R1(config)# router ospf 1
R1(config-router)# router-id 10.0.0.1
R1(config-router)# passive-interface default
R1(config-router)# no passive-interface TenGigabitEthernet1/1/1
R1(config-router)# no passive-interface TenGigabitEthernet1/1/2
R1(config-router)# network 10.0.0.0 0.255.255.255 area 0
R1# show ip ospf database
            OSPF Router with ID (10.0.0.1) (Process ID 1)
                Router Link States (Area 0)
Link ID         ADV Router      Age         Seq#       Checksum Link count
10.0.0.1        10.0.0.1        412         0x80000021 0x00A1B2 5
10.0.0.2        10.0.0.2        388         0x8000001C 0x003C4D 4
                Net Link States (Area 0)
Link ID         ADV Router      Age         Seq#       Checksum
10.20.0.2       10.0.0.2        1201        0x80000004 0x00D3E1

A single area contains only router LSAs and network LSAs (plus external LSAs if something is redistributed).

When a single area is enough

FitsConsider multiple areas when
Up to a few dozen routersThe LSDB is large and SPF runs often
Stable linksFlapping links in one part trigger SPF everywhere
Simple operationsYou need summarisation between parts of the network

Best practice in a single area

PracticeReason
passive-interface defaultNo Hellos towards user VLANs
Explicit router IDs on loopbacksStable identities
Point-to-point network type on routed linksNo DR election, faster adjacency
Reference bandwidth matched to the fastest linksDistinct costs for 1, 10 and 100 Gb/s

Growing from one to several areas later means changing area assignments on the routers at the edge of the new area, which briefly drops their adjacencies. Plan area boundaries early if growth is likely.

Documented example, not captured output.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

Quick reference

Single-area OSPFv2 puts every router and interface in area 0. There are no ABRs, Type 3 summaries or area types to manage, and every router has the full topology.

router ospf 1
 router-id 10.0.0.2
 network 10.0.0.0 0.0.255.255 area 0

Documented example, not captured output.

It works well up to a few dozen routers with a stable topology; larger or unstable networks benefit from multiple areas to contain SPF and LSDB size.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

Mechanics and state ownership

The network statement is often misread. It does not advertise the network you type. Its address and wildcard mask select interfaces: every interface whose own address matches is enabled for OSPF, starts sending Hellos, and has its subnet advertised with its real mask. When several statements match, the most specific one decides the area.

A passive interface is still in OSPF — its subnet is advertised — but it neither sends nor accepts Hellos, so no neighbour can form on it. That is what you want toward users and servers, and exactly what you do not want on a link to another router.

With all interfaces in one area, each router's Router LSA reaches every other router, everyone holds the complete topology, and SPF produces O routes for all subnets. A default route toward the outside is added on the edge router with default-information originate; it is advertised only while that router itself has a default route, unless always is added.

State model and protocol mechanics

Single-area OSPF places all participating interfaces and routers in one OSPF area, commonly area 0. All routers in the area share the same area LSDB view after synchronization and independently run SPF to derive routes from that topology. The design removes inter-area summarization and ABR behavior from the forwarding model.

Limits and common misconceptions

Single area does not mean every router has identical routing tables because connected routes, policy, equal-cost choices and local interface state differ. FULL neighbors do not show every intended prefix is originated. A working data path does not show OSPF is the reason it works if a static or connected route wins. Keep adjacency, LSDB, SPF, RIB and forwarding evidence distinct.

ReferenceConfiguration & state2 sections · depth on demand

Cisco IOS / IOS XE baseline

A common process-level form is router ospf <process-id>, an explicit router-id <router-id>, and either network <network> <wildcard> area <area> or interface-level ip ospf <process-id> area <area>. Use passive-interface policy deliberately so user-facing LANs do not form unwanted adjacencies.

Design and configuration model

Keep area assignment, network type, timers, authentication and MTU assumptions consistent on each adjacency. Router IDs must be unique and stable. In a small topology, a single area reduces operational boundaries, but it does not eliminate the need to control passive interfaces, route origination and redistribution. Area 0 is still the canonical backbone area and avoids future redesign if the topology later grows into multiple areas.

Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docProtocol standard + deployed implementation RFC 2328

Authoritative/upstream documentation reviewed for bounded claims in Routing → OSPF → OSPFv2 → Single Area. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://www.rfc-editor.org/rfc/rfc2328.html · confidence 94%
Terminology layer

Terms & aliases

Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.

Aliases that resolve here
ospf passive interface
Embedded reference data

Quick lookup tables

Single Area · operational reference

Compact state and interpretation boundaries for fast lookup.

State / evidenceInterpretation
Neighbor FULLAdjacency synchronized
LSDBArea topology knowledge
SPF routeComputed candidate
RIB/CEFInstalled forwarding state

Single Area operational reference

Topic-specific bounded interpretation: known-good state, suspicious signatures and the next technical proof boundary.

BoundaryKnown-good for Single AreaSuspicious signatureNext proof
IntentMatches an OSPFv2 design in which participating links and routers operate inside one area, commonly Area 0, with no ABR-mediated inter-area boundary designConfiguration differs from design/peerCompare effective configuration
Control-plane stateStable expected election/adjacency/LSA/role statean interface assigned to a different area than its peer, required links made passive, wildcard/interface activation mismatch, Full neighbors but missing local-prefix advertisement, or a route problem incorrectly blamed on inter-area behavior in a topology that has no ABRInspect peer/database/election detail
ForwardingExpected RIB/FIB or virtual-gateway pathControl state exists but traffic path disagreesARP/MAC/RIB/FIB/CEF proof
ClosureOriginal test passes for explained reasonSymptom moved, was bypassed or role was forcedRegression test
Depth when you need it

Deep reference

Healthy vs suspicious evidence

Healthy vs suspicious evidence

Healthy: intended interfaces participate in the correct area; expected neighbors reach the appropriate state; LSDB contains expected topology; OSPF routes appear with expected metric. Suspicious: no neighbor, Init/ExStart/Loading loop, wrong area/network type/timers, LSDB missing expected LSA, or LSDB correct but route absent from RIB.

Confirmation

Confirm action

Continue?