background image
Troubleshooting OSPF
351
Now, let's look at the available debug options for OSPF:
debug ip ospf adj
Provides debug information about events con-
cerning adjacency relationships with other OSPF routers.
debug ip ospf events
Provides debug information for all OSPF
events.
debug ip ospf flood
Provides information about OSPF flooding.
(Flooding is the way that an OSPF router sends updates.) It broadcasts a
change in its route table, and all other members of the OSPF area receive
the update.
debug ip ospf lsa-generation
Gives detailed information regard-
ing the generation of LSA messages.
debug ip ospf packet
Gives detailed information regarding OSPF
packets.
debug ip ospf retransmission
If OSPF has to retransmit informa-
tion, it triggers a retransmission event that debug captures and echoes to
the console.
debug ip ospf spf
Provides debug information for all SPF trans-
actions. By enabling SPF debugging, OSPF events debugging is also
turned on.
debug ip ospf tree
Provides information for the OSPF database tree.
Following is a debug ip ospf trace. Notice that OSPF event debugging
was turned on as well (lines 2 through 3 of the output). SPF is an algorithm
used to select the best route to each destination.
Router_A#debug ip ospf spf
OSPF spf intra events debugging is on
OSPF spf inter events debugging is on
OSPF spf external events debugging is on
Router_A#
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1,
changed state to down
%LINK-3-UPDOWN: Interface Serial1, changed state to down
OSPF: running SPF for area 0
OSPF: Initializing to run spf
Copyright ©2000 SYBEX , Inc., Alameda, CA
www.sybex.com