Command Line Reference Guide
Open Shortest Path First (OSPFv2 and OSPFv3) | 709
debug ip ospf
c e s
Display debug information on OSPF. Entering debug ip ospf enables OSPF debugging for the first
OSPF process,.
Syntax
debug ip ospf process-id [bfd |event | packet | spf]
To cancel the debug command, enter no debug ip ospf.
Parameters
Command Modes
EXEC Privilege
Command
History
Example
Figure 26-1. Command example: debug ip ospf process-id packet
process-id
Enter the OSPF Process ID to debug a specific process.
If no Process ID is entered, command applies only to the first OSPF process.
bfd
(OPTIONAL) Enter the keyword bfd to debug only OSPF BFD information.
event (OPTIONAL) Enter the keyword event to debug only OSPF event information.
packet (OPTIONAL) Enter the keyword packet to debug only OSPF packet information.
spf (OPTIONAL) Enter the keyword spf to display the Shortest Path First information.
Version 8.3.5.0 Introduced on S55
Version 7.8.1.0 Introduced support for Multi-Process OSPF.
Version 7.6.1.0 Introduced on S-Series
Version 7.5.1.0 Introduced on C-Series
pre-Version 6.1.1.1 Introduced on E-Series
Table 26-1. Output Descriptions for debug ip ospf process-id packet
Field Description
8:14 Displays the time stamp.
OSPF Displays the OSPF process ID: instance ID.
v: Displays the OSPF version. FTOS supports version 2 only.
t: Displays the type of packet sent:
• 1 - Hello packet
• 2 - database description
• 3 - link state request
• 4 - link state update
• 5 - link state acknowledgement
l: Displays the packet length.
Force10#debug ip ospf 1 packet
OSPF process 90, packet debugging is on
Force10#
08:14:24 : OSPF(100:00):
Xmt. v:2 t:1(HELLO) l:44 rid:192.1.1.1
aid:0.0.0.1 chk:0xa098 aut:0 auk: keyid:0 to:Gi 4/3 dst:224.0.0.5
netmask:255.255.255.0 pri:1 N-, MC-, E+, T-,
hi:10 di:40 dr:90.1.1.1 bdr:0.0.0.0










