website pop up marketing debug ip ospf adjacency
Cisco CCNA | CCNP Certification Training Site. Cisco tips and tools for exam success. logo video

debug ip ospf adjacency

Printer-Friendly Format

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




Back to commands department




Printer-Friendly Format

This site and/or material is not sponsored by, endorsed by, or affiliated with Cisco Systems, Inc. and/or its affiliates. Cisco®, Cisco Systems®, CCDA™, CCNA™, CCDP™, CCNP™, CCIE™, or CCSI™ are trademarks or registered trademarks of Cisco Systems, Inc. and/or its affiliates in the United States and certain other countries.

Home | Search | Contact Us | Tell a Friend | Text Size

2006-2013 HowtoNetwork.net All Rights Reserved. Reproduction without permission prohibited.
Reality Press, Midsummer Court, 314 Midsummer Blvd.,Milton Keynes, MK92UB, UK

This site is powered by MemberGate Membership Site Software