Single Area OSPF (page 4)
26 Oct 2003 @ 02:19PM

Updated: 20 Jan 2010 @ 09:09AM
The following show commands can be used to examine OSPF operation and access OSPF statistics:
show ip protocolThis show timers, filters, metrics, networks, and other parameters
show ip routeThis shows the routing table
show ip ospf interfaceThis will verify you have configured your interfaces into the correct OSPF areas, show timer intervals, and show adjacency levels.
show ip ospfThis will show the number of times that the SPF algorithm has been run and the link-state update interval (assuming no topological changes).
show ip ospf neighbor detailThis shows a detailed list of neighbors, their priorities and their state (ie, ExStart, Full, etc).
show ip ospf databaseThis shows the OSPF topological database, the router ID and the OSPF process ID. Additional information can be gleaned with more keywords.
Comments (0)
You can use the clear command to clear our specific or all routers. The command is as follows:
clear ip route *      Clears all routes in the routing table

clear ip route destination network     Clears a specific route
Comments (0)
The following debug commands can be used to view OSPF activity:
debug ip ospf adjDisplays adjacency events
debug ip ospf eventsDisplays OSPF events
debug ip ospf floodDisplays OSPF floods
debug ip ospf lsa-generationDisplays ospf link-state advertisement generation
debug ip ospf packetDisplays OSPF packets
debug ip ospf retransmissionDisplays OSPF retransmissions
debug ip ospf spfDisplays OSPF spf
debug ip ospf treedisplays ospf database tree
Comments (0)
I have added the following Flash presentation in an effort to simplify the understanding of the various states, steps of operation, and use of packets types in Single Area OSPF.
Comments (0)