350-601 Network Practice Question
Which command is used to verify the OSPF neighbor state in NX-OS?
⚠ Common exam trap
Cisco often tests the exact syntax difference between IOS and NX-OS, where NX-OS requires the 'ip' keyword in OSPF commands (e.g., 'show ip ospf neighbors' vs. the IOS-compatible 'show ip ospf neighbor'), and candidates mistakenly use the IOS-style command without the 'ip' keyword.
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
In NX-OS, the correct command to verify OSPF neighbor state is 'show ip ospf neighbors'. This command displays the OSPF neighbor table, including neighbor ID, priority, state (e.g., FULL, 2WAY), and dead timer. The 'ip' keyword is mandatory in NX-OS to specify the IPv4 address family, distinguishing it from other protocols like OSPFv3 for IPv6.
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 ospf neighbors
Why it's wrong here
Not valid; need 'ip ospf'.
- ✓
show ip ospf neighbors
Why this is correct
Correct command.
- ✗
show running-config ospf
Why it's wrong here
Shows configuration, not neighbors.
- ✗
show ip route ospf
Why it's wrong here
Shows OSPF routes.
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.