Debug information analysis of OSPF

Source: Internet
Author: User

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:

 
 
  1. R1 # debug ip ospf the debug of OSPF neighbor Information
  2.  
  3. OSPF adjacency events debugging is on
  4.  
  5. R1 # clear ip ospf process restart OSPF neighbor Calculation
  6.  
  7. Reset all ospf processes? [No]: y
 
 
  1. R1 #
  2.  
  3. 01: 12: 04: OSPF: Interface Serial1/0 going Down Interface reset to down
  4.  
  5. 01: 12: 04: OSPF: 1.1.1.1 address 199.99.1.1 on Serial1/0 is dead, state DOWN
  6.  
  7. 01: 12: 04: OSPF: 2.2.2.2 address 199.99.1.2 on Serial1/0 is dead, state DOWN
  8.  
  9. 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
 
 
  1. R1 #
  2.  
  3. 01: 12: 04: OSPF: Interface Loopback0 going Down
  4.  
  5. 01: 12: 04: OSPF: 1.1.1.1 address 1.1.1.1 on Loopback0 is dead, state DOWN
  6.  
  7. 01: 12: 04: OSPF: Interface Serial1/0 going Up Interface start UP
  8.  
  9. 01: 12: 04: OSPF: Interface Loopback0 going Up
  10.  
  11. 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
 
 
  1. R1 #
  2.  
  3. 01: 12: 08: OSPF: 2 Way Communication to 2.2.2.2 on Serial1/0, state 2WAY route 2WAY status calculated by OSPF
  4.  
  5. 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
  6.  
  7. 01: 12: 08: OSPF: Rcv DBD from 2.2.2.2 on Serial1/0 seq 0x2234 opt 0x42 flag 0x7
  8.  
  9. Received the message of the DBD database, which contains the process serial number, type field, and tag of the database.
  10.  
  11. Len 32 mtu 1500 state EXSTART enters starting state
  12.  
  13. 01: 12: 08: OSPF: NBR Negotiation Done.
  14.  
  15. 01: 12: 08: OSPF: Send DBD to 2.2.2.2 on Serial1/0 seq 0x2234 opt 0x42 flag 0x2 len 52
  16.  
  17. 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
  18.  
  19. 01: 12: 08: OSPF: Send DBD to 2.2.2.2 on Serial1/0 seq 0x2235 opt 0x42 flag 0x0 len 32
  20.  
  21. 01: 12: 08: OSPF: Database request to 2.2.2.2 Data request
  22.  
  23. 01: 12: 08: OSPF: sent ls req packet to 199.99.1.2, length 24
  24.  
  25. 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
  26.  
  27. 01: 12: 08: OSPF: Exchange Done with 2.2.2.2 on Serial1/0
  28.  
  29. 01: 12: 08: OSPF: Send DBD to 2.2.2.2 on Serial1/0 seq 0x2236 opt 0x42 flag 0x0 len 32
  30.  
  31. 01: 12: 08: OSPF: Synchroni
 
 
  1. R1 # zed with 2.2.2.2 on Serial1/0, state FULL
  2.  
  3. 01: 12: 08: % OSPF-5-ADJCHG: Process 100, Nbr 2.2.2.2 on Serial1/0 from LOADING to FULL, Loading Done
  4.  
  5. R1 #
  6.  
  7. 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]

  1. Result Analysis of router OSPF Configuration
  2. Basic description of router OSPF Configuration
  3. Describes the basic interface configuration for router OSPF configuration.
  4. Test interface connectivity for router OSPF Configuration
  5. Describes how to query the OSPF neighbor table on a router in the OSPF configuration of a router.
  6. Describes the basic configuration and connectivity test of OSPF in Router OSPF configuration.
  7. Describes how to query the connection status database of ospf on a Router Based on the OSPF configuration of a router.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.