McAfee Secure

Create an OSPF Verification Plan

Exam: Cisco 642-902 - Implementing Cisco IP Routing (ROUTE v1.0)

This article deals with the most common commands that are used for verifying and troubleshooting OSPF configuration.

The first step in verifying OSPF configuration is to check the neighbor relationship. Command used to check the neighbor table is

Router# Show ip OSPF neighbors

This command lists the neighbors which are in adjacency table, you can check if the routers that are required to be in OSPF are establishing the neighbor relation. It shows the state of the neighbor, it should be marked Full for successful establishment of relationship.

To verify if the routes are exchanged between the OSPF areas, run the following command to check the routing table.

Router # show ip route

This will list all the routes in the routing table. To reduce or filter the routes learned by OSPF use the following command.

Router # show ip route ospf

This will indicate routes learned by OSPF and are indicated as either Intra, Inter area and external routes depending on the LSA types.

To verify the routing protocol running, router ID, type of OSPF areas and the network for which OSPF is performing routing, following command is used.

Router # show ip protocols

Router # show ip ospf database

The above command list the amount information on the number of routers in the network or internetwork plus the neighboring routers ID.

Router # show ip ospf

The above command displays OSPF information all OSPF processes running on the router. Here you can find out the router ID, area information, SPF statistics and LSA timers information.

Router # show ip ospf interface

This command list all the information such as Area assignment, Interface IP address, Process ID, Router ID, Network type, Cost, Priority, DR/BDR election information hello and dead timer intervals and Adjacent neighbor information on the interface.