What is OSPF? How to Verify OSPF Configuration Examples

By | 9th November 2015

How to Troubleshoot and Verifying OSPF Configuration.

There are several ways you can verify and troubleshoot OSPF configuration and operation, listed below are the necessary command to do this:

Troubleshooting and verify OSPF configuration

How to verify OSPF Configuration:

Show IP route command

Show IP ospf command

Show ip ospf database command

Show ip ospf interface command

Show ip ospf neighbour command

Show ip protocols command

Debugging ospf

  The Show IP route command:

R1#sho ip route is subnetted, 3 subnets

C is directly connected, Serial0/0/1

O [110/128] via, 00:05:14, Serial0/0/0

                   [110/128] via, 00:05:14, Serial0/0/1

C is directly connected, Serial0/0/0 is subnetted, 1 subnets

O [110/65] via, 00:05:14, Serial0/0/1

O [110/65] via, 00:07:38, Serial0/0/0

C is directly connected, FastEthernet0/0


Using the the above command displays all routes on the network, with the O representing the OSPF internal routes. The Cs are directly connected networks. It also found the dual route to the network.

The Show ip ospf neighbour command:

R1#show ip ospf neighbor

Neighbor ID     Pri   State           Dead Time   Address         Interface       0   FULL/  –        00:00:33      Serial0/0/0       0   FULL/  –        00:00:32        Serial0/0/1


The above command displays the summary of ospf information regarding and the adjacency state. This command is very useful on a production network.

 The Show IP protocols command:

This command display the following information

R1#show ip protocols

Routing Protocol is “ospf 1”

  Outgoing update filter list for all interfaces is not set

  Incoming update filter list for all interfaces is not set

Router ID

Number of areas in this router is 1. 1 normal 0 stub 0 nssa

Maximum path: 4

  Routing for Networks: area 0 area 0 area 0

   Routing Information Sources:

    Gateway         Distance      Last Update          110      00:14:00          110      00:14:40         110      00:14:00

  Distance: (default is 110)


This command is used to verify the type of protocols running on your router and network. The display above shows the OSPF process ID, OSPF router ID, type of OSPF area, networks and areas configured for OSPF neighboring router’s ID etc…etc.

  The Debugging OSPF Command:

Among information provided by this command is the :

i.   Debug ip ospf packet: this command displays hello packets being sent and received on your router

ii.  Debug ip ospf hello: this command displays hello packets being sent and received on your router. It also displays more information than the debug ospf packet

iii. The debug ip ospf adj: shows DR and DBR elections on a broadcast and non-broadcast multi-access (NBMA) network.

How DHCPv6 Works

IPv6 Routing Protocols.

How to Configure IPv6 Static and Default Routes.

Host Standby Router Redundancy Protocol (HSRP)

Virtual Router Redundancy Protocol (VRRP)

Gateway Load Balancing Protocol (GLBP)

Spanning Tree Protocol (STP)

VLAN Trunking Protocol (VTP)

IPv6 Explained


RIPv6 or RIPng



Leave a Reply

Your email address will not be published. Required fields are marked *