Which command will show the OSPF neighbors of a router?

Prepare for the Cisco CCNA 3 OSPF Concepts and Configuration Exam. Study with our interactive quiz designed with multiple choice questions and detailed explanations. Enhance your understanding of OSPF routing protocols, network design, and troubleshooting skills.

The command that reveals the OSPF neighbors of a router is "show ip ospf neighbor." This command provides a detailed view of the relationships and state of adjacency between OSPF routers on a given network. It lists OSPF neighbors along with their current status, such as whether they are fully adjacent or in other states like INIT or 2-WAY.

The output includes essential information such as the router ID of each neighbor, the priority of the routers, the state of the connection, and the time since the last hello packet was sent or received. This information is critical for troubleshooting and understanding the OSPF topology and neighbor relationships within a network.

In contrast, other commands such as "show ip ospf" generally provide a broader overview of the OSPF configuration and state on the router but do not specifically list neighbors. The command "show ospf neighbors" is not valid in the Cisco IOS CLI syntax, and "show routing ospf" does not exist as a command, which makes them unsuitable for this task.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy