Debug ip ospf

debug ip ospf options

The debug ip ospf command is used with one of the following options: adj, events, flood, lsa-generation, packet, retransmission, spf, or tree (see top portion of Example 5-13). The debug ip ospf command with the events option displays information on OSPF (Open Shortest Path First) events, such as adjacencies, flooding information, designated router and backup designated router election, and shortest path first (SPF) calculation. Sample output of the debug ip ospf events is shown in the bottom portion of Example 5-13. When troubleshooting OSPF, make use of the debug ip ospf command with the appropriate options. Some routine OSPF verifications that help you iron out simple OSPF misconfigurations are as follows:

• Check the IP address and subnet mask(s) of OSPF router(s)

• Verify network statements (address, inverse-mask, and area ID)

• Make sure routers within same area agree on area type

Refer to Cisco documentation for notes on configuring OSPF over NBMA networks.

A_StubR#debug ip ospf events

OSPF events debugging is on A_StubR#

OSPF: Rcv hello from 144.251.100.200 area 1 from Ethernet0 131.1.18.1 OSPF: 2 Way Communication to 144.251.100.200 on Ethernet0, state 2WAY OSPF: DR/BDR election on Ethernet0 OSPF: Elect BDR 131.1.15.100 OSPF: Elect DR 144.251.100.200

DR: 144.251.100.200 (Id) BDR: 131.1.15.100 (Id) OSPF: Send DBD to 144.251.100.200 on Ethernet0 seq 0x11CD opt 0x2 flag 0x7 len 32 OSPF: End of hello processing A_StubR#

OSPF: Rcv DBD from 144.251.100.200 on Ethernet0 seq 0x1371 opt 0x2 flag 0x7

len 32 state EXSTART OSPF: NBR Negotiation Done. We are the SLAVE

OSPF: Send DBD to 144.251.100.200 on Ethernet0 seq 0x1371 opt 0x2 flag 0x2 len 52

OSPF: Rcv DBD from 144.251.100.200 on Ethernet0 seq 0x1372 opt 0x2 flag 0x3

len92 state EXCHANGE OSPF: Send DBD to 144.251.100.200 on Ethernet0 seq 0x1372 opt 0x2 flag 0x0 len 32

OSPF: Database request to 144.251.100.200 OSPF: sent LS REQ packet to 131.1.18.1, length 36

OSPF: Rcv DBD from 144.251.100.200 on Ethernet0 seq 0x1373 opt 0x2 flag 0x1

len 32 state EXCHANGE OSPF: Exchange Done with 144.251.100.200 on Ethernet0

OSPF: Send DBD to 144.251.100.200 on Ethernet0 seq 0x1373 opt 0x2 flag 0x0 len 32

OSPF: Synchronized with 144.251.100.200 on Ethernet0, state FULL

A_StubR#

Was this article helpful?

0 0

Post a comment