Command Reference

Cisco "show ip ospf neighbor" Command Explained

show ip ospf neighbor — lists the router's OSPF neighbours and their adjacency state — the first stop in any OSPF troubleshoot. Runs in privileged EXEC mode.

Syntax and common variants

VariantPurpose
show ip ospf neighborAll neighbours and states
show ip ospf neighbor detailTimers, areas, addresses per neighbour
show ip ospf interface briefWhich interfaces run OSPF, their areas and costs

Reading the output

Output fieldMeaning
Neighbor IDThe neighbour's router ID
StateFULL = healthy; 2WAY = normal non-DR pairs; stuck EXSTART/EXCHANGE = usually MTU mismatch
Dead TimeCountdown since last hello
Address / InterfaceTheir IP and your interface

When to use it

No neighbour listed? Check matching subnet, hello/dead timers, area ID and authentication. Stuck in EXSTART/EXCHANGE? Almost always an MTU mismatch. Every OSPF "routes are missing" case starts here — no FULL adjacency, no routes. Browse more in the command reference or practise in the free labs.

Frequently asked questions

What does FULL state mean?

Databases fully synchronized — a healthy adjacency. On multi-access networks, 2WAY between two non-DR routers is also normal.

Why is my neighbour stuck in EXSTART/EXCHANGE?

The classic cause is an MTU mismatch between the two interfaces — align MTUs or configure ip ospf mtu-ignore.

Why do I see no neighbours at all?

Mismatched area, subnet, timers or authentication — or OSPF isn't enabled on that interface (check show ip ospf interface).

VS
Vipul Sir — Lead Instructor, Attila Technologies20+ years in Cisco networking. Teaching CCNA, CCNP, CCIE & CyberOps in Ahmedabad since 2004.

Want hands-on training?

Learn this on real Cisco lab devices with placement support at Attila Technologies, Ahmedabad.

Start your networking career with Attila Technologies

Hands-on Cisco training, real lab devices and placement support in Ahmedabad.