Cisco Certified Network Associate (CCNA) Practice Exam

Disable ads (and more) with a membership for a one time $2.99 payment

Study for the Cisco Certified Network Associate (CCNA) exam with our comprehensive quiz featuring multiple-choice questions and detailed explanations. Prepare effectively and enhance your understanding of networking concepts!

Practice this question and more.


Which command displays OSPF neighbors and their state?

  1. show ipv6 ospf neighbor

  2. show ospf neighbor

  3. show ipv6 protocols

  4. show ospf interfaces

The correct answer is: show ipv6 ospf neighbor

The command that effectively displays OSPF neighbors and their state is specifically designed to provide information about the OSPF adjacency status between routers. The command intended for this purpose in an OSPF context, particularly for IPv4, is usually structured as "show ip ospf neighbor". While the option mentioned relates to IPv6, it still uses the OSPF protocol. This command allows network administrators to view the status of neighboring routers participating in OSPF, including their state (e.g., full, 2-way, etc.), which is crucial for diagnosing OSPF issues or understanding the network topology. The reason the other options do not fit as well for displaying OSPF neighbors and their states is that they serve different functions. For example, one option might deal with IPv6 protocols more generally rather than focusing specifically on neighbor states. Another option could be intended for showing interfaces and their status rather than the neighbor relationships established under OSPF. Thus, understanding the specific role of each command in the context of OSPF is key to managing and troubleshooting OSPF configurations effectively.