cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
213
Views
0
Helpful
1
Replies
Highlighted

Difference between ospf events and ospf adjacency events in debug mode

While enabling the debugging for ospf events, there are two options you can select : debug ip osfp events and debug ip ospf adj. What is the difference between the two. is there a level of debug logs that is different or difference logs altogether.

Thanks.

CK

1 REPLY 1
Highlighted
VIP Mentor

Hello,

 

looks like 'debug ip ospf events' logs severity 5 (notifications) only, while 'debug ip ospf adajacency' logs also severity 1 (alerts):

 

R1#debug ip ospf events
*Jan 25 12:58:33.674: %OSPF-5-ADJCHG: Process 1, Nbr 2.2.2.2 on GigabitEthernet0/0 from FULL to DOWN, Neighbor Down: Interface down or detached
*Jan 25 12:58:33.717: %OSPF-5-ADJCHG: Process 1, Nbr 2.2.2.2 on GigabitEthernet0/0 from LOADING to FULL, Loading Done

 

R2#debug ip ospf adjacency

 

*Jan 25 13:00:25.892: OSPF-1 ADJ Lo0: Interface going Down
*Jan 25 13:00:25.893: OSPF-1 ADJ Lo0: 2.2.2.2 address 2.2.2.2 is dead, state DOWN
*Jan 25 13:00:25.893: OSPF-1 ADJ Gi0/0: Interface going Down
*Jan 25 13:00:25.893: OSPF-1 ADJ Gi0/0: 1.1.1.1 address 192.168.1.1 is dead, state DOWN
*Jan 25 13:00:25.893: %OSPF-5-ADJCHG: Process 1, Nbr 1.1.1.1 on GigabitEthernet0/0 from FULL to DOWN, Neighbor Down: Interface down or detached
*Jan 25 13:00:25.895: OSPF-1 ADJ Gi0/0: Neighbor change event
*Jan 25 13:00:25.895: OSPF-1 ADJ Gi0/0: DR/BDR election
*Jan 25 13:00:25.895: OSPF-1 ADJ Gi0/0: Elect BDR 0.0.0.0
*Jan 25 13:00:25.895: OSPF-1 ADJ Gi0/0: Elect DR 2.2.2.2
*Jan 25 13:00:25.896: OSPF-1 ADJ Gi0/0: DR: 2.2.2.2 (Id)
*Jan 25 13:00:25.896: OSPF-1 ADJ Gi0/0: BDR: none
*Jan 25 13:00:25.896: OSPF-1 ADJ Gi0/0: 2.2.2.2 address 192.168.1.2 is dead, state DOWN
*Jan 25 13:00:25.897: OSPF-1 ADJ Gi0/0: Neighbor change event
*Jan 25 13:00:25.897: OSPF-1 ADJ Gi0/0: DR/BDR election
*Jan 25 13:00:25.897: OSPF-1 ADJ Gi0/0: Elect BDR 0.0.0.0
*Jan 25 13:00:25.898: OSPF-1 ADJ Gi0/0: Elect DR 0.0.0.0
*Jan 25 13:00:25.898: OSPF-1 ADJ Gi0/0: Elect BDR 0.0.0.0
*Jan 25 13:00:25.898: OSPF-1 ADJ Gi0/0: Elect DR 0.0.0.0
*Jan 25 13:00:25.898: OSPF-1 ADJ Gi0/0: DR: none
*Jan 25 13:00:25.899: OSPF-1 ADJ Gi0/0: BDR: none
*Jan 25 13:00:25.899: OSPF-1 ADJ Gi0/0: Flush network LSA immediately
*Jan 25 13:00:25.899: OSPF-1 ADJ Gi0/0: Remember old DR 2.2.2.2 (id)
*Jan 25 13:00:25.903: OSPF-1 ADJ Lo0: Interface going Up
*Jan 25 13:00:25.903: OSPF-1 ADJ Gi0/0: Interface going Up
*Jan 25 13:00:25.912: OSPF-1 ADJ Gi0/0: 2 Way Communication to 1.1.1.1, state 2WAY
*Jan 25 13:00:25.912: OSPF-1 ADJ Gi0/0: Backup seen event before WAIT timer
*Jan 25 13:00:25.913: OSPF-1 ADJ Gi0/0: DR/BDR election
*Jan 25 13:00:25.913: OSPF-1 ADJ Gi0/0: Elect BDR 2.2.2.2
*Jan 25 13:00:25.913: OSPF-1 ADJ Gi0/0: Elect DR 1.1.1.1
*Jan 25 1
R2#3:00:25.913: OSPF-1 ADJ Gi0/0: Elect BDR 2.2.2.2
*Jan 25 13:00:25.914: OSPF-1 ADJ Gi0/0: Elect DR 1.1.1.1
*Jan 25 13:00:25.914: OSPF-1 ADJ Gi0/0: DR: 1.1.1.1 (Id)
*Jan 25 13:00:25.914: OSPF-1 ADJ Gi0/0: BDR: 2.2.2.2 (Id)
*Jan 25 13:00:25.915: OSPF-1 ADJ Gi0/0: Nbr 1.1.1.1: Prepare dbase exchange
*Jan 25 13:00:25.915: OSPF-1 ADJ Gi0/0: Send DBD to 1.1.1.1 seq 0x2032 opt 0x52 flag 0x7 len 32
*Jan 25 13:00:25.927: OSPF-1 ADJ Gi0/0: Rcv DBD from 1.1.1.1 seq 0x2521 opt 0x52 flag 0x7 len 32 mtu 1500 state EXSTART
*Jan 25 13:00:25.928: OSPF-1 ADJ Gi0/0: First DBD and we are not SLAVE
*Jan 25 13:00:25.928: OSPF-1 ADJ Gi0/0: Rcv DBD from 1.1.1.1 seq 0x2032 opt 0x52 flag 0x2 len 52 mtu 1500 state EXSTART
*Jan 25 13:00:25.928: OSPF-1 ADJ Gi0/0: NBR Negotiation Done. We are the MASTER
*Jan 25 13:00:25.928: OSPF-1 ADJ Gi0/0: Nbr 1.1.1.1: Summary list built, size 0
*Jan 25 13:00:25.929: OSPF-1 ADJ Gi0/0: Send DBD to 1.1.1.1 seq 0x2033 opt 0x52 flag 0x1 len 32
*Jan 25 13:00:25.935: OSPF-1 ADJ Gi0/0: Rcv DBD from 1.1.1.1 seq 0x2033 opt 0x52 flag 0x0 len 32 mtu 1500 state EXCHANGE
*Jan 25 13:00:25.935: OSPF-1 ADJ Gi0/0: Exchange Done with 1.1.1.1
*Jan 25 13:00:25.936: OSPF-1 ADJ Gi0/0: Send LS REQ to 1.1.1.1 length 36
*Jan 25 13:00:25.941: OSPF-1 ADJ Gi0/0: Rcv LS UPD from Nbr ID 1.1.1.1 length 76 LSA count 1
*Jan 25 13:00:25.942: OSPF-1 ADJ Gi0/0: Synchronized with 1.1.1.1, state FULL
*Jan 25 13:00:33.878: OSPF-1 ADJ Gi0/0: Neighbor change event
*Jan 25 13:00:33.878: OSPF-1 ADJ Gi0/0: DR/BDR election
*Jan 25 13:00:33.879: OSPF-1 ADJ Gi0/0: Elect BDR 2.2.2.2
*Jan 25 13:00:33.879: OSPF-1 ADJ Gi0/0: Elect DR 1.1.1.1
*Jan 25 13:00:33.879: OSPF-1 ADJ Gi0/0: DR: 1.1.1.1 (Id)
*Jan 25 13:00:33.879: OSPF-1 ADJ Gi0/0: BDR: 2.2.2.2 (Id)