Course contents

Module 3: Configure and VerifyLesson 3.2 (2 of 3 in this module)10 of 29 in the OSPF course

Verifying and troubleshooting OSPF

The interfaces are up, but the user still cannot reach the server. Is the fault in neighbour discovery, a missing network advertisement or the route that was selected? Let's use evidence to narrow it down.

Intermediate · 12 min read

Know which neighbours and prefixes should exist

PC-A, 192.168.1.10/24, needs to reach the server, 192.168.3.10/24. R1 connects PC-A's LAN, R2 joins the router links and R3 connects the server's LAN. All three routers use area 0. R2 should have R1 and R3 as directly attached OSPF neighbours. R1 and R3 learn about each other through R2; they do not need a direct neighbour relationship.

A prefix is an IP network and its mask, such as 192.168.3.0/24. OSPF advertises that network so routers can reach any matching host, including the server. A router ID identifies the OSPF router; it is not the host destination or necessarily an interface address.

Each fault starts independently from the healthy three-router configuration below.

Three routers, three LANs, one OSPF area
Three routers, three LANs, one OSPF areaGrey lines are Ethernet cables. Teal router links form OSPF adjacencies; gold LAN links advertise subnets without Hellos. The ISP router is outside the OSPF domain. R1, R2 and R3 form a chain in area 0. Each connects through an access switch to one host LAN. R1 has a separate ISP uplink that does not run OSPF.ISP routerR1SW1PC-ARID 1.1.1.1Gi0/0 · passive192.168.1.1/24192.168.1.10/24R2SW2PC-BRID 2.2.2.2Gi0/2 · passive192.168.2.1/24192.168.2.10/24R3SW3ServerRID 3.3.3.3Gi0/1 · passive192.168.3.1/24192.168.3.10/24ISP Gi0/0 · 203.0.113.1/30R1 Gi0/2 · 203.0.113.2/30Area 0 · router links P2P10.0.12.0/3010.0.23.0/30R2 Gi0/1 .1 → R3 Gi0/0 .2R1 Gi0/1 .1 → R2 Gi0/0 .2
R1 · RID 1.1.1.1
Gi0/0 192.168.1.1/24 → SW1; Gi0/1 10.0.12.1/30 → R2 Gi0/0 10.0.12.2/30; Gi0/2 203.0.113.2/30 → ISP Gi0/0 203.0.113.1/30 (outside OSPF).
R2 · RID 2.2.2.2
Gi0/0 → R1; Gi0/1 10.0.23.1/30 → R3 Gi0/0 10.0.23.2/30; Gi0/2 192.168.2.1/24 → SW2.
R3 · RID 3.3.3.3
Gi0/0 → R2; Gi0/1 192.168.3.1/24 → SW3. LAN interfaces on all three routers are passive but included in area 0.
Hosts and access switches
PC-A 192.168.1.10/24, PC-B 192.168.2.10/24, server 192.168.3.10/24. Each gateway is its LAN's .1 router address. Each switch Gi0/1 → router, Gi0/2 → host Ethernet; one local access VLAN per LAN.
OSPF assumptions
Area 0, local process 1, unique explicit RIDs. Router links: point-to-point, Hello 10 / Dead 40 s, no authentication, matching MTU 1500. All interfaces up; gigabit bandwidth, reference 10000 Mbps, outgoing cost 10 unless stated.
Address key
/24 mask 255.255.255.0; /30 mask 255.255.255.252. Prefixes describe networks; host/interface addresses identify devices. No URL is shown. ISP range is documentation addressing; Internet service needs NAT, return routing and permitting policy beyond this OSPF example.
Grey lines are Ethernet cables. Teal router links form OSPF adjacencies; gold LAN links advertise subnets without Hellos. The ISP router is outside the OSPF domain.
See the fault-finding decision path
Choose the next check from the neighbour state
Choose the next check from the neighbour stateA diagnostic flowchart, not a packet path. Rectangles are checks; the diamond is a decision. More than one fault may exist, so repeat the verification after each repair. First establish that the addressed link is up and OSPF should run on it. If the expected neighbour is absent, inspect activation and Hello acceptance. If stuck in ExStart/Exchange, inspect database exchange. If Full, trace the prefix advertisement and route selection. Healthy DROther pairs on broadcast networks may stay 2-Way.Start: verify link state, addressing and OSPF activationRead neighbourstateAbsent / InitCheck activation andHello delivery / acceptanceExStart / ExchangeCheck DBD exchange, MTU,loss and duplicate RIDFullTrace the specific prefix:advertisement → LSDB → routeBroadcast DROther ↔ DROther: 2-Way can be healthy.Loading: inspect requested LSAs, retransmissions and packet loss.
First commands
show ip interface brief plus interface addressing/mask; show ip ospf interface for activation, area, passive status and network type; show ip ospf neighbor for the observed state. Ping tests ICMP reachability, not acceptance of OSPF protocol 89.
Expected result for this lab
R2 should be Full to R1 on Gi0/0 and R3 on Gi0/1. All transit links use point-to-point, area 0 and 10/40 timers. R1 and R3 do not directly neighbour each other. User LANs are passive.
A diagnostic flowchart, not a packet path. Rectangles are checks; the diamond is a decision. More than one fault may exist, so repeat the verification after each repair.

Start with show ip interface brief to check address and up/up state. On the R2–R3 link, R2 Gi0/1 is 10.0.23.1/30 and R3 Gi0/0 is 10.0.23.2/30. If the link or addressing is wrong, fix that before changing OSPF. Then inspect the OSPF interface and neighbour entries on both ends.

Ping success does not prove OSPF can pass. Check filtering of IP protocol 89 and the required multicast traffic.

Example output · based on Cisco documentation; exact format varies by platform and software version
R2#show ip ospf neighbor
Neighbor ID     Pri   State           Dead Time   Address         Interface
3.3.3.3           0   FULL/  -        00:00:34    10.0.23.2       GigabitEthernet0/1
1.1.1.1           0   FULL/  -        00:00:39    10.0.12.1       GigabitEthernet0/0
Healthy baseline: both expected router links are Full. IDs identify routers; Address identifies the peer interface. On a broadcast LAN, a healthy DROther pair can remain 2-Way instead.

Area mismatch · compare the interface area

The area ID in received OSPF packets must match the area expected on this ordinary link. R2 expects area 0. If R3 uses area 1, the routers reject the incompatible exchange even though an ordinary ping may succeed. Compare the active interface area, not just a process name in the saved configuration.

Compare the two ends of the area mismatch
Area mismatch: compare the same link on both routers
Area mismatch: compare the same link on both routersGrey line is the physical Ethernet link. Compare the highlighted settings; each drawing introduces one separate fault, not an accumulating sequence. R3 alone is changed to area 1. Addressing and both 10/40 timers still match. Area 0 and 0.0.0.0 are equivalent; area 1 is different.R2R310.0.23.0/30 · Ethernet · OSPF P2PGi0/1 · 10.0.23.1/30Gi0/0 · 10.0.23.2/30Area 0Area 1 ✕Hellos rejected · no new adjacencyshow ip ospf interfaceR3 Gi0/0 → area 0
Devices, interface IPs and mask
R2 Gi0/1 10.0.23.1/30 ↔ R3 Gi0/0 10.0.23.2/30. Subnet 10.0.23.0/30; mask 255.255.255.252. R2 RID 2.2.2.2; R3 RID 3.3.3.3 except in the duplicate-RID fault. These are interface addresses and IDs, not URLs.
Baseline and fault scope
Local process 1 on both routers; area 0, point-to-point, Hello 10 / Dead 40 s, IP MTU 1500, no authentication, OSPF enabled and active. Change only the highlighted setting for this case. R3 alone is changed to area 1. Addressing and both 10/40 timers still match. Area 0 and 0.0.0.0 are equivalent; area 1 is different.
Grey line is the physical Ethernet link. Compare the highlighted settings; each drawing introduces one separate fault, not an accumulating sequence.
Illustrative IOS log · wording varies by release
%OSPF-4-ERRRCV: Received invalid packet: mismatched area ID from 10.0.23.2, GigabitEthernet0/1
Compare R2 Gi0/1 with R3 Gi0/0, using show ip ospf interface on each router. Process numbers are local; changing them is not the area repair.
interface GigabitEthernet0/0 ip ospf 1 area 0 exit

R3 only, from global configuration mode: restore the intended area. Verify the active interface area and neighbour state after the change.

Timer mismatch · compare two values on two interfaces

The Hello interval controls how often discovery packets are sent. The Dead interval says how long a router waits without hearing its neighbour before declaring it lost. Both configured values must agree on this link. A shorter interval on one end is not enough to make detection faster; mismatched settings can prevent the adjacency.

Compare the mismatched Hello and Dead intervals
Timer mismatch: compare both Hello and Dead
Timer mismatch: compare both Hello and DeadGrey line is the physical Ethernet link. Compare the highlighted settings; each drawing introduces one separate fault, not an accumulating sequence. Both interfaces are in area 0, but R3 has explicit 5/20 timers. Compare both values; do not infer a configured Dead interval from the Hello interval.R2R310.0.23.0/30 · Ethernet · OSPF P2PGi0/1 · 10.0.23.1/30Gi0/0 · 10.0.23.2/30Hello 10 · Dead 40 sHello 5 · Dead 20 s ✕Hello parameters differ · no new adjacencyshow ip ospf interfaceR3 Gi0/0 → Hello 10 / Dead 40 s
Devices, interface IPs and mask
R2 Gi0/1 10.0.23.1/30 ↔ R3 Gi0/0 10.0.23.2/30. Subnet 10.0.23.0/30; mask 255.255.255.252. R2 RID 2.2.2.2; R3 RID 3.3.3.3 except in the duplicate-RID fault. These are interface addresses and IDs, not URLs.
Baseline and fault scope
Local process 1 on both routers; area 0, point-to-point, Hello 10 / Dead 40 s, IP MTU 1500, no authentication, OSPF enabled and active. Change only the highlighted setting for this case. Both interfaces are in area 0, but R3 has explicit 5/20 timers. Compare both values; do not infer a configured Dead interval from the Hello interval.
Grey line is the physical Ethernet link. Compare the highlighted settings; each drawing introduces one separate fault, not an accumulating sequence.
show ip ospf interface GigabitEthernet0/1

Privileged EXEC on R2. On R3 use GigabitEthernet0/0 instead. Compare both Hello and Dead values in the output; the interface names differ.

interface GigabitEthernet0/0 no ip ospf hello-interval no ip ospf dead-interval exit

R3 only, from global configuration mode: remove this example's overrides. Verify that both P2P ends now report the intended 10/40-second defaults.

Passive router link · keep the LAN passive

A passive interface sends no OSPF Hellos and forms no adjacency. That is useful on the PC LAN, where no OSPF neighbour is expected. It is a fault on R2 Gi0/1 because R3 is there. Repair the affected router link; do not remove the passive policy from every LAN.

See why passive is wrong on this transit interface
A router-facing interface was made passive
A router-facing interface was made passiveGrey line is the physical Ethernet link. Compare the highlighted settings; each drawing introduces one separate fault, not an accumulating sequence. R2 alone is passive on Gi0/1. It remains OSPF-enabled, but no adjacency forms on that link. R2's separate Gi0/0 adjacency to R1 is unaffected in this example; Gi0/2 towards PC-B should stay passive.R2R310.0.23.0/30 · Ethernet · OSPF P2PGi0/1 · 10.0.23.1/30Gi0/0 · 10.0.23.2/30Gi0/1 passive ✕Gi0/0 activeR2 sends no Hellos here · adjacency cannot formshow ip ospf interfaceR2 → no passive-interface Gi0/1
Devices, interface IPs and mask
R2 Gi0/1 10.0.23.1/30 ↔ R3 Gi0/0 10.0.23.2/30. Subnet 10.0.23.0/30; mask 255.255.255.252. R2 RID 2.2.2.2; R3 RID 3.3.3.3 except in the duplicate-RID fault. These are interface addresses and IDs, not URLs.
Baseline and fault scope
Local process 1 on both routers; area 0, point-to-point, Hello 10 / Dead 40 s, IP MTU 1500, no authentication, OSPF enabled and active. Change only the highlighted setting for this case. R2 alone is passive on Gi0/1. It remains OSPF-enabled, but no adjacency forms on that link. R2's separate Gi0/0 adjacency to R1 is unaffected in this example; Gi0/2 towards PC-B should stay passive.
Grey line is the physical Ethernet link. Compare the highlighted settings; each drawing introduces one separate fault, not an accumulating sequence.
Illustrative IOS excerpt · omitted fields
R2#show ip ospf interface GigabitEthernet0/1
Internet Address 10.0.23.1/30, Area 0
No Hellos (Passive interface)
This is a router-facing interface, so passive is the fault here. The same setting is intentional on R2 Gi0/2 towards PC-B.
router ospf 1 no passive-interface GigabitEthernet0/1 exit

R2 only, from global configuration mode. Restore Hellos towards R3; retain passive on the user LAN. Check the live neighbour table after convergence.

ExStart or Exchange · investigate database exchange

ExStart is where neighbours negotiate how to exchange database descriptions. In Exchange, they compare descriptions of their stored records. Repeatedly remaining in these states means discovery has progressed, but synchronisation has not finished.

The maximum transmission unit (MTU) is the largest IP packet the interface can send without fragmentation in this context. A mismatch can cause a router to reject a database description (DBD) packet based on its advertised MTU. A small ping can succeed while this OSPF check fails.

Compare the MTU values in the failed exchange
Hellos work, but a DBD announces an incompatible MTU
Hellos work, but a DBD announces an incompatible MTUGrey line: Ethernet. Purple dashed arrow: DBD from R2 to R3; rejection is an OSPF MTU check, not proof that this particular packet exceeded 1400 bytes. Hellos agree; DBD means Database Description. Without mtu-ignore, R3 rejects an announced MTU larger than its 1400 interface MTU. ExStart/Exchange can have other causes; exact states and retries vary.R2R310.0.23.0/30 · Ethernet · OSPF P2PGi0/1 · 10.0.23.1/30Gi0/0 · 10.0.23.2/30IP MTU 1500IP MTU 1400 ✕R3 rejects a DBD advertising MTU 1500show ip interface · compare MTUCorrect the link MTU design on both ends
Devices, interface IPs and mask
R2 Gi0/1 10.0.23.1/30 ↔ R3 Gi0/0 10.0.23.2/30. Subnet 10.0.23.0/30; mask 255.255.255.252. R2 RID 2.2.2.2; R3 RID 3.3.3.3 except in the duplicate-RID fault. These are interface addresses and IDs, not URLs.
Baseline and fault scope
Local process 1 on both routers; area 0, point-to-point, Hello 10 / Dead 40 s, IP MTU 1500, no authentication, OSPF enabled and active. Change only the highlighted setting for this case. Hellos agree; DBD means Database Description. Without mtu-ignore, R3 rejects an announced MTU larger than its 1400 interface MTU. ExStart/Exchange can have other causes; exact states and retries vary.
Grey line: Ethernet. Purple dashed arrow: DBD from R2 to R3; rejection is an OSPF MTU check, not proof that this particular packet exceeded 1400 bytes.

ExStart/Exchange alone does not diagnose MTU. If MTUs agree, inspect loss, filtering, duplicate RIDs and exchange logs.

show ip interface GigabitEthernet0/0 | include MTU

Privileged EXEC on R3. On R2 use GigabitEthernet0/1. Confirm the IP MTU and the actual path capability before changing it.

interface GigabitEthernet0/0 no ip mtu exit

R3 only, from global configuration mode, for this lab where the default IP MTU and the complete path support 1500. Confirm the resulting value. Do not apply this blindly to tunnels or links designed for a smaller MTU.

ip ospf mtu-ignore bypasses the DBD check; it does not fix data-packet MTU.

Duplicate router ID · verify the active identity

OSPF associates topology records with the router that created them. If R2 and R3 both identify themselves as 2.2.2.2, the records no longer describe distinct routers reliably. Give R3 its intended unique ID, then check the ID the running process actually uses.

Compare duplicated identities and different interface addresses
Two different routers are using the same identity
Two different routers are using the same identityGrey line is the physical Ethernet link. Compare the highlighted settings; each drawing introduces one separate fault, not an accumulating sequence. R2 and R3 have different interface addresses but the same router ID. Restore a unique R3 RID and verify the active value. Existing IOS processes may need a planned restart, which interrupts adjacencies.R2R310.0.23.0/30 · Ethernet · OSPF P2PGi0/1 · 10.0.23.1/30Gi0/0 · 10.0.23.2/30RID 2.2.2.2RID 2.2.2.2 ✕Different interface IPs do not fix a duplicate RIDshow ip ospf · compare active IDsR3 configured and active RID → 3.3.3.3
Devices, interface IPs and mask
R2 Gi0/1 10.0.23.1/30 ↔ R3 Gi0/0 10.0.23.2/30. Subnet 10.0.23.0/30; mask 255.255.255.252. R2 RID 2.2.2.2; R3 RID 3.3.3.3 except in the duplicate-RID fault. These are interface addresses and IDs, not URLs.
Baseline and fault scope
Local process 1 on both routers; area 0, point-to-point, Hello 10 / Dead 40 s, IP MTU 1500, no authentication, OSPF enabled and active. Change only the highlighted setting for this case. R2 and R3 have different interface addresses but the same router ID. Restore a unique R3 RID and verify the active value. Existing IOS processes may need a planned restart, which interrupts adjacencies.
Grey line is the physical Ethernet link. Compare the highlighted settings; each drawing introduces one separate fault, not an accumulating sequence.
Illustrative IOS log · wording varies by release
%OSPF-4-DUP_RTRID_NBR: OSPF detected duplicate router-id 2.2.2.2 from 10.0.23.2 on interface GigabitEthernet0/1
Compare active IDs with show ip ospf on both routers. Different interface IPs do not make duplicated router IDs valid.
router ospf 1 router-id 3.3.3.3 exit

R3 only, from global configuration mode. Verify the RID actually in use. An already running IOS process may retain the old ID until restarted.

If the active RID still shows the old value

Plan an interruption before restarting OSPF. On R3, return to privileged EXEC and use clear ip ospf 1 process where supported; confirm the intended process. Recheck RID, neighbours and routes afterwards. Do not restart the healthy peer to repair R3's identity.

Authentication mismatch · compare the intended policy

Authentication checks whether OSPF packets carry the proof expected by the receiver. If the two ends expect different methods or keys, the link can remain up while OSPF packets are rejected. Compare the approved method and key settings locally without putting real key material into a ticket or screenshot. Disabling authentication just to reach Full leaves the policy fault unresolved.

See the authentication rejection scenario
Authentication policy differs across the link
Authentication policy differs across the linkGrey line is the physical Ethernet link. Compare the highlighted settings; each drawing introduces one separate fault, not an accumulating sequence. This separate fault adds authentication on R2 only. Compare authentication mode, algorithm, key IDs, shared key and any key lifetimes as applicable. Keep secret values out of screenshots and shared diagnostic output.R2R310.0.23.0/30 · Ethernet · OSPF P2PGi0/1 · 10.0.23.1/30Gi0/0 · 10.0.23.2/30Authentication enabledNo authentication ✕OSPF authentication checks failshow ip ospf interfaceMatch the approved authentication policy
Devices, interface IPs and mask
R2 Gi0/1 10.0.23.1/30 ↔ R3 Gi0/0 10.0.23.2/30. Subnet 10.0.23.0/30; mask 255.255.255.252. R2 RID 2.2.2.2; R3 RID 3.3.3.3 except in the duplicate-RID fault. These are interface addresses and IDs, not URLs.
Baseline and fault scope
Local process 1 on both routers; area 0, point-to-point, Hello 10 / Dead 40 s, IP MTU 1500, no authentication, OSPF enabled and active. Change only the highlighted setting for this case. This separate fault adds authentication on R2 only. Compare authentication mode, algorithm, key IDs, shared key and any key lifetimes as applicable. Keep secret values out of screenshots and shared diagnostic output.
Grey line is the physical Ethernet link. Compare the highlighted settings; each drawing introduces one separate fault, not an accumulating sequence.

Restore the intended authentication policy on both ends. See OSPF authentication.

Full neighbours · trace the missing prefix

Full confirms that an adjacency has completed database synchronisation. It does not prove that R3 included its server LAN. A link-state advertisement (LSA) is a stored network record. Check whether R3's record describes 192.168.3.0/24, then check whether R1 can calculate a route from those records.

Full transit neighbours, but LAN 3 was never selected
Full transit neighbours, but LAN 3 was never selectedGrey lines are Ethernet links. The coral mark identifies the unselected LAN interface, not a failed cable. Full applies to the router adjacency; it does not promise every connected subnet is advertised. R3 Gi0/0 is active in area 0, so it remains Full with R2. R3 Gi0/1 has no matching OSPF network statement or interface activation. The server LAN remains locally connected, but its prefix is absent from this router's advertised OSPF links.R1R2R3SW3ServerFull · 10.0.12.0/30Full · 10.0.23.0/30Gi0/1 not in OSPFLAN 3 · 192.168.3.0/24192.168.3.10/24Inspect R3's router LSA for the /24, not just its presence.
Router links and IDs
R1 RID 1.1.1.1, Gi0/1 10.0.12.1/30 ↔ R2 RID 2.2.2.2, Gi0/0 10.0.12.2/30. R2 Gi0/1 10.0.23.1/30 ↔ R3 RID 3.3.3.3, Gi0/0 10.0.23.2/30. Area 0, P2P, Hello 10 / Dead 40 s; both adjacencies Full.
Missing LAN activation
R3 Gi0/1 192.168.3.1/24 → SW3 Gi0/1; SW3 Gi0/2 → server Ethernet 192.168.3.10/24, gateway 192.168.3.1. Fault: network 192.168.3.0 0.0.0.0 area 0 does not match the .1 interface; no interface-level activation exists. Gi0/1's passive setting alone cannot enable OSPF.
Grey lines are Ethernet links. The coral mark identifies the unselected LAN interface, not a failed cable. Full applies to the router adjacency; it does not promise every connected subnet is advertised.
show ip ospf interface GigabitEthernet0/1

Privileged EXEC on R3: confirm LAN 3 is actually included in OSPF. Passive-interface alone does not activate the interface.

interface GigabitEthernet0/1 ip ospf 1 area 0 exit

R3 only, from global configuration mode: explicitly select LAN 3. Its existing passive policy remains in place; the actual subnet is 192.168.3.0/24.

show ip ospf database router 3.3.3.3

Privileged EXEC on R1: inspect R3's router LSA for the 192.168.3.0/24 link and mask after convergence. A summary list containing R3's RID alone does not prove that LAN is included.

A broadcast/P2P mismatch can allow Full but prevent route calculation. Compare network types and LSA link descriptions on both ends.

A known OSPF route · check which source won

A router can learn the same prefix from more than one source. Administrative distance compares those sources locally. A smaller distance is preferred for otherwise usable routes to the identical prefix. OSPF path cost is a separate comparison within OSPF; lowering it does not make a default-distance OSPF route beat a default-distance static route.

An OSPF route can be known without being installed
An OSPF route can be known without being installedArrows show route candidates entering selection on R1, not Ethernet cables. Compare administrative distance for the identical prefix; forwarding later uses the longest matching installed prefix. Separate healthy-lab case: R1 has a usable OSPF route to 192.168.3.0/24 at AD 110, cost 30. An installed static for the identical prefix has AD 1. R1 selects static; show ip route ospf therefore omits the prefix.R1 · route selectionOSPF candidate192.168.3.0/24AD 110 · cost 30Static candidate192.168.3.0/24AD 1 · metric 0Installed: S 192.168.3.0/24 via 10.0.12.2show ip route 192.168.3.0 → Known via staticAn S route alone does not prove an OSPF candidate exists.
Evidence required
R3's LAN advertisement is restored, the LSDB is consistent, network types agree and SPF yields a usable route. R1 has an installed static for exactly 192.168.3.0/24 via reachable next hop 10.0.12.2. This is a separate fault from the unselected-LAN example.
Topology and result
R1 RID 1.1.1.1 → R2 RID 2.2.2.2 → R3 RID 3.3.3.3, normal area 0, P2P. Next hop R2 Gi0/0 10.0.12.2/30, out R1 Gi0/1 10.0.12.1/30. All outgoing routed interface costs are 10; LAN 3 is R3 Gi0/1 192.168.3.1/24. Static and OSPF use the same next hop here.
Arrows show route candidates entering selection on R1, not Ethernet cables. Compare administrative distance for the identical prefix; forwarding later uses the longest matching installed prefix.
Illustrative IOS excerpt · separate healthy-OSPF/static-route case
R1#show ip route 192.168.3.0
Routing entry for 192.168.3.0/24
  Known via "static", distance 1, metric 0
  Routing Descriptor Blocks:
  * 10.0.12.2
This static route is installed. Establish separately that OSPF has a usable candidate before concluding it lost on distance. A default-distance static wins over OSPF for this identical /24 prefix.

Remove the static only if it is unintended. A usable OSPF route can then install if no preferred source remains.

no ip route 192.168.3.0 255.255.255.0 10.0.12.2

R1 only, global configuration mode, for the confirmed unintended static route in this separate lab case. Recheck the exact prefix and resulting next hop.

Verify the repair at both control and data layers

The control plane learns routes through neighbour exchanges and calculations. The data plane forwards the user's packets using the installed result. A repair is complete only when the relevant control checks recover and the intended traffic works in both directions.

Recheck the interface, neighbour, prefix and next hop. Test server 192.168.3.10 ↔ PC-A 192.168.1.10; check gateways and filtering if hosts still fail. Save after validation.

When show commands are not enough

Inspect relevant logs first. A brief, scoped OSPF debug can expose rejection or exchange details, but output and CPU load depend on the device. Use it under the local operating procedure and finish with undebug all. A process reset is not a substitute for finding a mismatched setting.

Practise with the OSPF troubleshooting tickets.

Short lab: find one deliberate fault

Start from the working isolated lab and record R2's two Full neighbours. On R3 only, enter passive-interface GigabitEthernet0/0 under router ospf 1. Wait for the neighbour-loss condition to be reflected on both routers. Do not introduce another fault.

show ip interface brief show ip ospf interface GigabitEthernet0/0 show ip ospf neighbor

R3, privileged EXEC. The interface can stay up/up while the OSPF interface reports passive and the R2 adjacency is absent. Compare R2 using Gi0/1, not Gi0/0.

Explain the evidence before repairing it. Restore no passive-interface GigabitEthernet0/0 under R3's OSPF process, confirm Full returns, then verify the LAN route and PC-A-to-server traffic. The correct repair changes the setting responsible for the fault, rather than restarting every router.

Sources: Cisco neighbour troubleshooting, ExStart/Exchange checks, database and route issues, and administrative distance.

Test yourself on broken OSPF labs

Predict · scenario 1

R2 and R3 can ping each other, but show ip ospf neighbor on R2 is empty. R3's interface shows Area 1 and R2's Area 0. What's the fix?

Predict · scenario 2

A neighbour sits in EXSTART. Hello and dead timers match. What do you check next?

Predict · scenario 3

R1 has a usable OSPF candidate for 192.168.3.0/24 at AD 110. Its routing table instead installs a static for the identical prefix at AD 1. Why?

Predict · scenario 4

In this healthy single-area lab, which command lists the router LSAs held in the local database?

Predict · scenario 5

You configured R3 router-id 3.3.3.3, but the active process still uses 2.2.2.2. What action applies the new RID on this IOS router?