5.7 Verifying OSPF Operation
5.7.1 Show command

This section discusses the OSPF commands that can be used to verify operation of the OSPF features covered in this chapter. Note that the commands covered in the previous chapter also apply, but the ones listed in this section are more specific to the capabilities discussed so far.

You can use the same show commands listed in "Configuring OSPF in a Single Area," to verify OSPF operation in multiple areas. Some additional commands include the following:

  • show ip ospf border-routers --- Displays the internal OSPF routing table entries to an ABR.
  • show ip ospf virtual-links --- Displays parameters about the current state of OSPF virtual links.
  • show ip ospf process-id --- Displays information about each area to which the router is connected, and indicates whether the router is an ABR, ASBR, or both. The process ID is a user defined identification parameter. It is locally assigned and can be any positive integer number. The number used here is the number assigned administratively when enabling the OSPF routing process.
  • show ip ospf database --- Displays the contents of the topological database maintained by the router. Several keywords can be used with this command to get specific information about the following links:
  • show ip ospf [process-id area-id] database [router] --- Displays individual router link-state information.
  • show ip ospf [process-id area-id] database [network] --- Displays networklink-state information. The area ID is the area number associated with the OSPF address range defined in the network router configuration command when defining a particular area.
  • show ip ospf [process-id area-id] database [summary] --- Displays summary information about ABR link states.
  • show ip ospf [process-id area-id] database [asbr-summary] --- Displays information about ASBR link-states.
  • show ip ospf [process-id area-id] database [external] --- Displays information about autonomous system external link states.
  • show ip ospf [process-id area-id] database [database-summary] --- Displays database summary information and totals.