howtonetwork.net

Cisco Certification Training

  • Products
  • CCNA
    • CCNA Videos
    • CCNA Lectures
    • CCNA Practice Exams
    • Challenge Labs
      • Challenge Video Solutions
    • Cisco Commands
  • CCNP ROUTE
    • ROUTE Exams
  • CCNP SWITCH
    • SWITCH Exams
  • CCNP TSHOOT
  • Home
  • Join
  • Downloads
  • About Us
  • Whitepapers
  • Feature Articles
  • Helpdesk
  • FAQ
  • Free Training
You are here: Home / debug ip ospf adjacency

debug ip ospf adjacency

Command

Debug IP OSPF Adj

Use

Turns on OSPF adjacency events debugging on the router.

Syntax

Router#do debug ip ospf adj

Example

This example demonstrates what occurs when enabling adjacency debugging on R2.

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

Shortly afterwards, int fa0/0 is disabled on R3.

R3(config-router)#int fa0/0
R3(config-if)#shut

This even triggers debug information to be displayed on R2. Here’s some of the output.

*Mar 1 02:10:00.743: OSPF: Cannot see ourself in hello from 133.133.133.133 on FastEthernet1/0, state INIT
*Mar 1 02:10:00.747: OSPF: Neighbor change Event on interface FastEthernet1/0
*Mar 1 02:10:00.751: OSPF: DR/BDR election on FastEthernet1/0
*Mar 1 02:10:00.751: OSPF: Elect BDR 2.2.2.2
*Mar 1 02:10:00.755: OSPF: Elect DR 2.2.2.2
*Mar 1 02:10:00.755: OSPF: Elect BDR 0.0.0.0
*Mar 1 02:10:00.759: OSPF: Elect DR 2.2.2.2
*Mar 1 02:10:00.759: DR: 2.2.2.2 (Id) BDR: none
*Mar 1 02:10:00.763: OSPF: Remember old DR 133.133.133.133 (id)
*Mar 1 02:10:01.247: OSPF: Reset old DR on FastEthernet1/0
*Mar 1 02:10:01.251: OSPF: Build router LSA for area 0, router ID 2.2.2.2, seq 0x8000000B
*Mar 1 02:10:01.263: OSPF: No full nbrs to build Net Lsa for interface FastEthernet1/0
R2(config-router)#
*Mar 1 02:10:02.071: %DUAL-5-NBRCHANGE: IP-EIGRP(0) 100: Neighbor 10.2.2.3 (FastEthernet1/0) is down: peer restarted
*Mar 1 02:10:02.095: %DUAL-5-NBRCHANGE: IP-EIGRP(0) 100: Neighbor 10.2.2.3 (FastEthernet1/0) is up: new adjacency

To clear debugging, the following command is issued.

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

Get access to over 5 hours of IT webinar videos as well as regular study tips and ideas when you
join our mailing list

About This Site

We replaced this site some time ago with an upgraded version. Please feel free to enjoy the content and if you like what you see check out our brilliant new site:

howtonetwork.com

Keep In Touch

About Us

This is a free access website which has now been replaced by howtonetwork.com.

Navigation

  • Home
  • Join
  • Downloads
  • About Us
  • Whitepapers
  • Feature Articles
  • Helpdesk
  • FAQ
  • Free Training

Copyright

All content is protected by international copyright laws. Copyright Reality Press Ltd.

Copyright © 2023 · Dynamik Website Builder on Genesis Framework · WordPress · Log in