Debug IP OSPF Events Command on CISCO Router/Switch

Command

Debug IP OSPF Events

Use

Displays all the OSPF event messages on the router.

Syntax

Router#debug ip ospf events

Example

The following example shows what happens when debug ip ospf events is turned on for R2.

R2(config-router)#do debug ip ospf events
OSPF events debugging is on
R2(config-router)#

Here are some of the messages outputted shortly after enabling OSPF event debugging.

R2(config-router)#
*Mar 1 01:59:00.367: OSPF: Rcv hello from 111.111.111.111 area 0 from FastEthernet0/0 10.1.1.1
*Mar 1 01:59:00.371: OSPF: End of hello processing
R2(config-router)#
*Mar 1 01:59:07.163: OSPF: Send hello to 224.0.0.5 area 0 on FastEthernet0/0 from 10.1.1.2
*Mar 1 01:59:07.171: OSPF: Send hello to 224.0.0.5 area 0 on FastEthernet1/0 from 10.2.2.2
*Mar 1 01:59:07.351: OSPF: Rcv hello from 133.133.133.133 area 0 from FastEthernet1/0 10.2.2.3
*Mar 1 01:59:07.355: OSPF: End of hello processing
R2(config-router)#d
*Mar 1 01:59:10.375: OSPF: Rcv hello from 111.111.111.111 area 0 from FastEthernet0/0 10.1.1.1
*Mar 1 01:59:10.379: OSPF: End of hello processing

To turn off debugging, the following command is issued.

R2(config-router)#do un all
All possible debugging has been turned off
Subscribe
Notify of
guest

0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x