Use it for small networks, and as the first step when learning OSPF.
Single Area
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.
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
Operational reference
Fast context before you go deeper.
router ospf <process-id>Primary Commands
Configuration and operational commands for this Topic.
router ospf <process-id>ReferenceStart an OSPF process.
Use when: Create/enter a Cisco OSPFv2 routing process.
Quick note: Cisco process ID is local significance; Router ID and interface parameters identify protocol state.
Cisco IOS / IOS XE · mixedrouter-id <router-id>ReferenceSet the router ID of the routing process; changes take effect after a process restart.
Use when: Set deterministic OSPF/OSPFv3 protocol identity.
Quick note: Router ID must be unique in the routing domain.
Cisco IOS / IOS XE · mixednetwork <network> <wildcard> area <area>ReferenceEnable OSPF on interfaces matching the network and wildcard, in the given area.
Use when: Enable OSPFv2 on matching interfaces and assign them to an area using process-level configuration.
Quick note: The Cisco OSPF network command selects local interfaces; it is not simply “advertise this prefix.”
Cisco IOS / IOS XE · mixedip ospf <process-id> area <area>ReferenceEnable OSPF on the interface directly, without a network statement.
Use when: Enable OSPFv2 explicitly on one interface without relying on a process-level network wildcard.
Quick note: Interface-level activation is explicit and useful for deterministic designs.
Cisco IOS / IOS XE · mixedpassive-interface <interface>ReferenceSuppress OSPF neighbor Hellos on the selected interface while preserving protocol participation as configured.
Use when: Advertise/retain the connected network in OSPF context while suppressing normal OSPF neighbor formation/Hellos on that interface (platform behavior as supported).
Quick note: Common hardening/design choice on user-facing LANs; verify exact route behavior.
Cisco IOS XE · mixedpassive-interface defaultReferenceMake all interfaces passive in OSPF; enable only the needed ones with no passive-interface.
Use when: Use a deny-by-default adjacency policy and enable Hellos only on intended transit links.
Quick note: Safe design pattern when paired with explicit non-passive transit interfaces.
Cisco IOS / IOS XE · mixedno passive-interface <interface>ReferenceMake an interface active in OSPF when passive-interface default is used.
Use when: Allow OSPF Hellos/neighbor formation on an intended transit interface, especially after passive-interface default.
Quick note: Verify area/network type/timers after enabling.
Cisco IOS / IOS XE · mixedclear ip ospf processReferenceRestart the OSPF process; all adjacencies drop and re-form.
Use when: Apply certain identity/config changes or deliberately reset OSPF state during controlled troubleshooting/maintenance.
Quick note: Prefer read-only evidence first. Clearing state destroys some evidence and causes reconvergence.
Cisco IOS / IOS XE · mixedVerification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
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:
| Observation | Interpretation | Next check |
|---|---|---|
FULL/- on a point-to-point link | Database adjacency completed | Target advertisement, RIB and CEF |
2WAY/DROTHER between two broadcast DROTHERs | Can be expected behavior | Local role and FULL relations to DR/BDR |
Persistent EXSTART/BDR | Database exchange has not completed; suffix is the peer role | MTU, 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
networkstatement, or OSPF was not enabled on it. - A neighbour does not form on an uplink. The interface is passive — typically
passive-interface defaultwithout 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 originateis 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.
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.
Local interface output shows an area or Hello/Dead timer value that differs from the intended peer configuration.
configuration · Documented examplePassive transit interface suppresses adjacencyA transit interface expected to form an OSPF neighbor is passive under the routing process.
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 1andnetwork <address> <wildcard> area 0, or withip ospf 1 area 0on each interface. - The process ID is local to the router and does not have to match between neighbours.
- Set
router-idexplicitly. - Make user-facing interfaces passive: their subnet is advertised but no Hellos are sent.
passive-interface defaultwithno passive-interfaceon the router links is the safe pattern. - Set the same
auto-cost reference-bandwidtheverywhere. - Internal routes appear as
O; redistributed routes asO 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
| Fits | Consider multiple areas when |
|---|---|
| Up to a few dozen routers | The LSDB is large and SPF runs often |
| Stable links | Flapping links in one part trigger SPF everywhere |
| Simple operations | You need summarisation between parts of the network |
Best practice in a single area
| Practice | Reason |
|---|---|
passive-interface default | No Hellos towards user VLANs |
| Explicit router IDs on loopbacks | Stable identities |
| Point-to-point network type on routed links | No DR election, faster adjacency |
| Reference bandwidth matched to the fastest links | Distinct 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.
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.
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
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
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%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.
Quick lookup tables
Single Area · operational reference
Compact state and interpretation boundaries for fast lookup.
| State / evidence | Interpretation |
|---|---|
| Neighbor FULL | Adjacency synchronized |
| LSDB | Area topology knowledge |
| SPF route | Computed candidate |
| RIB/CEF | Installed forwarding state |
Single Area operational reference
Topic-specific bounded interpretation: known-good state, suspicious signatures and the next technical proof boundary.
| Boundary | Known-good for Single Area | Suspicious signature | Next proof |
|---|---|---|---|
| Intent | Matches an OSPFv2 design in which participating links and routers operate inside one area, commonly Area 0, with no ABR-mediated inter-area boundary design | Configuration differs from design/peer | Compare effective configuration |
| Control-plane state | Stable expected election/adjacency/LSA/role state | an 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 ABR | Inspect peer/database/election detail |
| Forwarding | Expected RIB/FIB or virtual-gateway path | Control state exists but traffic path disagrees | ARP/MAC/RIB/FIB/CEF proof |
| Closure | Original test passes for explained reason | Symptom moved, was bypassed or role was forced | Regression test |
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.