350-601 Network Practice Question
Which NX-OS command is used to display the current OSPF neighbor states?
⚠ Common exam trap
Cisco often tests the distinction between commands that show neighbor states versus those that show routing tables or database contents, so candidates may confuse 'show ip route ospf' or 'show ospf database' with the neighbor-specific command.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
show ip ospf neighbors
The 'show ip ospf neighbors' command is the correct NX-OS command to display the current OSPF neighbor states, including the neighbor ID, interface, state (e.g., FULL, 2WAY, DOWN), and adjacency details. This command directly queries the OSPF process for the neighbor state machine, which is essential for verifying OSPF adjacency formation and troubleshooting Layer 3 connectivity.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
show ip route ospf
Why it's wrong here
This shows OSPF routes, not neighbors.
- ✗
show ospf database
Why it's wrong here
This shows link-state database, not neighbors.
- ✓
show ip ospf neighbors
Why this is correct
This command displays OSPF neighbor states and adjacency details.
- ✗
show ip ospf interface
Why it's wrong here
This shows OSPF configuration on interfaces, not neighbor states.
Visual reference
Go deeper
Related to this question
About these practice questions
One of 984 original 350-601 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This 350-601 practice question is part of Courseiva's free Cisco certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the 350-601 exam.