Verifying the OSPF Configuration

There are a number of show ip commands that can be used when troubleshooting an OSPF network. These commands are:

• show ip ospf, which provides information about the OSPF process and its details.

• show ip ospf database, which provides information about the contents of the topological database.

• show ip ospf interface, which provides information on how OSPF has been configured on each interface.

• show ip ospf neighbor, which displays all the information about the relationship that the router has with its neighbors.

• show ip protocols, which displays the IP configuration on the router, including the interfaces and the configuration of the IP routing protocols.

• show ip route [ip-address [mask] [longer-prefixes]] | [protocol [process-id]], which provides detailed information on the networks that the router is aware of and the preferred paths to those networks. It also gives the next logical hop as the next step in the path.

• debug ip ospf events, which issues log messages for each OSPF packet.

• debug ip ospf packet, which issues log messages describing the contents of all OSPF packets.

Bookmark this page | Make this your Homepage