Previous Article: OSPF link status information of the database route link status
Debug information analysis of OSPF
To learn about computer networks, if you want to learn more deeply and master the skills, you must learn to view the Debug information. This is currently the only query tool that can see the route protocol trend. Enable Debug test information:
- R1 # debug ip ospf the debug of OSPF neighbor Information
-
- OSPF adjacency events debugging is on
-
- R1 # clear ip ospf process restart OSPF neighbor Calculation
-
- Reset all ospf processes? [No]: y
- R1 #
-
- 01: 12: 04: OSPF: Interface Serial1/0 going Down Interface reset to down
-
- 01: 12: 04: OSPF: 1.1.1.1 address 199.99.1.1 on Serial1/0 is dead, state DOWN
-
- 01: 12: 04: OSPF: 2.2.2.2 address 199.99.1.2 on Serial1/0 is dead, state DOWN
-
- 01: 12: 04: % OSPF-5-ADJCHG: Process 100, Nbr 2.2.2.2 on Serial1/0 from FULL to DOWN, Neighbor Down: Interface down or detached
- R1 #
-
- 01: 12: 04: OSPF: Interface Loopback0 going Down
-
- 01: 12: 04: OSPF: 1.1.1.1 address 1.1.1.1 on Loopback0 is dead, state DOWN
-
- 01: 12: 04: OSPF: Interface Serial1/0 going Up Interface start UP
-
- 01: 12: 04: OSPF: Interface Loopback0 going Up
-
- 01: 12: 05: OSPF: Build router LSA for area 0, router ID 1.1.1.1, seq 0x80000001 calculation of local route ID and process serial number
- R1 #
-
- 01: 12: 08: OSPF: 2 Way Communication to 2.2.2.2 on Serial1/0, state 2WAY route 2WAY status calculated by OSPF
-
- 01: 12: 08: OSPF: Send DBD to 2.2.2.2 on Serial1/0 seq 0x1968 opt 0x42 flag 0x7 len 32 Send your own DBD database to the neighbor
-
- 01: 12: 08: OSPF: Rcv DBD from 2.2.2.2 on Serial1/0 seq 0x2234 opt 0x42 flag 0x7
-
- Received the message of the DBD database, which contains the process serial number, type field, and tag of the database.
-
- Len 32 mtu 1500 state EXSTART enters starting state
-
- 01: 12: 08: OSPF: NBR Negotiation Done.
-
- 01: 12: 08: OSPF: Send DBD to 2.2.2.2 on Serial1/0 seq 0x2234 opt 0x42 flag 0x2 len 52
-
- 01: 12: 08: OSPF: Rcv DBD from 2.2.2.2 on Serial1/0 seq 0x2235 opt 0x42 flag 0x3 len 72 mtu 1500 state EXCHANGE
-
- 01: 12: 08: OSPF: Send DBD to 2.2.2.2 on Serial1/0 seq 0x2235 opt 0x42 flag 0x0 len 32
-
- 01: 12: 08: OSPF: Database request to 2.2.2.2 Data request
-
- 01: 12: 08: OSPF: sent ls req packet to 199.99.1.2, length 24
-
- 01: 12: 08: OSPF: Rcv DBD from 2.2.2.2 on Serial1/0 seq 0x2236 opt 0x42 flag 0x1 len 32 mtu 1500 state EXCHANGE state change to switch state
-
- 01: 12: 08: OSPF: Exchange Done with 2.2.2.2 on Serial1/0
-
- 01: 12: 08: OSPF: Send DBD to 2.2.2.2 on Serial1/0 seq 0x2236 opt 0x42 flag 0x0 len 32
-
- 01: 12: 08: OSPF: Synchroni
- R1 # zed with 2.2.2.2 on Serial1/0, state FULL
-
- 01: 12: 08: % OSPF-5-ADJCHG: Process 100, Nbr 2.2.2.2 on Serial1/0 from LOADING to FULL, Loading Done
-
- R1 #
-
- 01: 12: 11: OSPF: Build router LSA for area 0, router ID 1.1.1.1, seq 0x80000002
There is still a lot of information about OSPF. We will continue to introduce it to you and hope you can learn more.
Edit recommendations]
- Result Analysis of router OSPF Configuration
- Basic description of router OSPF Configuration
- Describes the basic interface configuration for router OSPF configuration.
- Test interface connectivity for router OSPF Configuration
- Describes how to query the OSPF neighbor table on a router in the OSPF configuration of a router.
- Describes the basic configuration and connectivity test of OSPF in Router OSPF configuration.
- Describes how to query the connection status database of ospf on a Router Based on the OSPF configuration of a router.