[Contents] [Prev] [Next] [Index] [Report an Error]


Check OSPF Neighbors

Purpose

Assuming that all the routers are correctly configured for OSPF, you can verify which neighbors are adjacent and what type of LSAs are contained in the OSPF link-state database. In addition, you can examine the set of routes installed in the forwarding table to verify that the routing protocol process (rpd) has relayed the correct information into the forwarding table.

Figure 12 illustrates an example OSPF network topology used in this section.


Figure 12: OSPF Network Topology

The network consists of various types of routers that form adjacencies with neighboring OSPF routers. Once these adjacencies are in place, each router generates and floods LSAs into the network. The LSAs are placed into the link-state database on each router where the shortest path first (SPF) algorithm is calculated to find the best path to each router in the network. The network in Figure 12 should have the following adjacencies and LSA distribution:

Steps To Take

To verify that routers are adjacent and have the correct exchange of LSAs, follow these steps:

  1. Verify OSPF Neighbors
  2. Examine the OSPF Link-State Database
  3. Examine OSPF Routes
  4. Examine the Forwarding Table
  5. Examine Link-State Advertisements in Detail

[Contents] [Prev] [Next] [Index] [Report an Error]