Writers' Community!
Home News Business Science & Technology Life Style
Front Page Page Two Columnists Submit an Article FAQs Contact Author Login
Article Submission
We Need YOUR Articles!
We'll Promote Them for FREE!

Author Login

New Authors
Register Here


Now Serving 5,639 Authors
48,651 Quality Articles
& 5,875 Current Users Online!
Featured Authors
Robert Melaccio, Sr. (6,428)
Camille Strate (1,378)
Tex Norman (4,421)
Jeff Brown (8,177)
David Pekrul (802)
Colleen Kettenhofen (693)
Joel Hirschhorn (431)
Joel Hendon (4,870)
Sandra E. Graham (2,260)
Terry Mitchell (2,881)
Mike Fak (6,526)
Walter Rhett (2,655)
Barbara Clark (479)
Teresa Ortiz (4,920)

View All Featured Authors
Most Recent
Windows Vista Sidebar, Gadgets, Easy Wireless Networking and Improved Back Features

CompTIA A+, Security+, Network+ Tutorial Ethernet Card Troubleshooting

CCNA, CCENT, CCNP Tutorial on Routers and Routing

CompTIA Security+ Article on Firewall Security Advantages and Firewall Functions

Microsoft Training Certifications

CCNA Security Exam Tutorial: When It's Good To Add Salt

Why Switch to Windows Vista

Free Cisco CCNA, CCENT, CCNP Certification Tutorial

Why People should get Network+, CCNA, CCNP or CCIE Network Based Certifications

Cisco CCNA And CCNP Practice Exam Questions: Frame Relay, Uplinkfast, And More!

Home » Categories » Computers & Networking » Technical Certification » Cisco CCNA And CCNP Troubleshooting Exercise: OSPF Adjacencies » Printer Friendly

Cisco CCNA And CCNP Troubleshooting Exercise: OSPF Adjacencies

Rated 3.5 out of 5
No Reader Ratings Available ?
Rate It  /  View Comments  /  View All Articles submitted by Chris Bryant CCIE 12933
Submitted Friday, February 22, 2008
Chris Bryant CCIE 12933 (13,726)
The Bryant Advantage
Log in to become a member of Chris Bryant CCIE 12933's Fan Club!


 

In your preparation for your CCNA and CCNP exams, you should run as many debugs as you can in a lab environment. (Never practice debugs at work.)  Debugs also help you spot issues with Cisco router configurations that you might not otherwise identify just by looking at the output of show commands.

 

In this exercise, R2 and R3 have OSPF enabled on their ethernet interfaces.  IP connectivity has been verified via ping.  OSPF has been correctly configured, but we don't have an adjacency.  A good place to start troubleshooting OSPF adjacencies is show ip ospf interface.

 

R2#show ip ospf interface ethernet0
Ethernet0 is up, line protocol is up
  Internet Address 172.23.23.2 /24, Area 0
  Process ID 1, Router ID 172.23.23.2, Network Type BROADCAST, Cost: 10
  Transmit Delay is 1 sec, State DR, Priority 1
  Designated Router (ID) 172.23.23.2, Interface address 172.23.23.2
  No backup designated router on this network
  Timer intervals configured, Hello 15, Dead 60, Wait 60, Retransmit 5
    Hello due in 00:00:04
  Neighbor Count is 0, Adjacent neighbor count is 0
  Suppress hello for 0 neighbor(s)

 

R3#show ip ospf interface ethernet0
Ethernet0 is up, line protocol is up
  Internet Address 172.23.23.3 /24, Area 0
  Process ID 1, Router ID 172.23.23.3, Network Type BROADCAST, Cost: 10
  Transmit Delay is 1 sec, State DR, Priority 1
  Designated Router (ID) 172.23.23.3, Interface address 172.23.23.3
  No backup designated router on this network
  Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5
    Hello due in 00:00:04
  Neighbor Count is 0, Adjacent neighbor count is 0
  Suppress hello for 0 neighbor(s)

 

You might have spotted the issue just by looking at the configurations, but it's a good idea to know the debug that helps you detect the reason(s) for OSPF adjacencies that do not form as expected - debug ip ospf adj.

 

R2#debug ip ospf adj
OSPF adjacency events debugging is on
R2#
00:54:19: OSPF: Rcv hello from 172.12.23.3 area 0 from Ethernet0 172.12.23.3
00:54:19: OSPF: Mismatched hello parameters from 172.12.23.3
00:54:19: Dead R 40 C 60, Hello R 10 C 15  Mask R 255.255.255.128 C 255.255.255.128

 

The problem is not a lack of Hello packets from R3, it's the mismatched hello value contained in the hello packet.  When potential OSPF neighbors disagree on the hello and/or dead timers, they'll remain potential neighbors until this situation is corrected.

 

The default OSPF hello and dead timers are 10 and 40 seconds, and those are the values contained in the hello received from R3. Therefore, someone must have changed the timers on R2.  Let's look at the output of show ip ospf interface again to see if that's the case.

 

R2#show ip ospf interface ethernet0
Ethernet0 is up, line protocol is up
  Internet Address 172.23.23.2 /24, Area 0
  Process ID 1, Router ID 172.23.23.2, Network Type BROADCAST, Cost: 10
  Transmit Delay is 1 sec, State DR, Priority 1
  Designated Router (ID) 172.23.23.2, Interface address 172.23.23.2
  No backup designated router on this network
  Timer intervals configured, Hello 15, Dead 60, Wait 60, Retransmit 5
    Hello due in 00:00:04
  Neighbor Count is 0, Adjacent neighbor count is 0
  Suppress hello for 0 neighbor(s)

 

Yep!  Both timers have been changed on R2, so we've got to either change the hello and dead tiemrs on R3 to match those on R2, or reset the timers on R2 back to the default. We're on R2 already, so  we'll use no ip ospf hello 15 to change the interface settings back to the default.

 

R2(config)#int e0
R2(config-if)#no ip ospf hello 15

 

The adjacency comes up seconds later, as verified by show ip ospf neighbor.

 

R2#show ip ospf neighbor

Neighbor ID    Pri   State      Dead Time   Address        Interface
172.23.23.3     1   FULL/DR      00:00:36   172.23.23.3    Ethernet0

 

Don't count on being able to spot problems just by looking at router configs – make sure to run debugs during your CCNA and CCNP preparation to see how things work, and that will help you to spot the problem when things aren't working!
 
 
Chris Bryant, CCIE #12933, is the owner of The Bryant Advantage, home of free CCNA tutorials.
CCNA Boot Camps are offered in the form of the CCNA Mastermind Online Boot Camp, as well as Network+ certification materials and tutorials!





Reprint Rights

Log in to become a member of Chris Bryant CCIE 12933's Fan Club!

Comments on this article:
No comments yet.


Was this article helpful to you? Leave a Public Comment or Question:

 

This Article has been viewed 446 times.
Article added to SearchWarp.com on Friday, February 22, 2008
View other articles written by Chris Bryant CCIE 12933 (13,726)


If you found this article interesting, you may want to check out:

Disclaimer:  All information on this site is provided for informational purposes only! By no means is any information presented herein intended to substitute for the advice provided to you by any health care or other professional or organization.


Today's Most Popular
Cisco CCNA Exam Tutorial: What's A Collision Domain?

Cisco CCNA Certification Exam Tutorial: Route Summarization

Cisco Certification: The Definitive Guide To ARP, RARP, IARP, and Proxy ARP

Cisco CCNA Certification: Everything You Need To Know About Telnet!

Cisco CCNA Exam Tutorial: The Best Time To Schedule Your Exam Is ....

Cisco CCENT / CCNA Certification Exam Tutorial: Logging Synchronous And Exec-Timeout Commands

Cisco CCNA Certification: Showdown At The Transport Layer... TCP vs. UDP !

CCNA / CCNP / BCMSN Exam Tutorial: VLAN Trunking Basics

The Hidden Benefit Of Computer Certifications

Cisco CCNA / CCNP Home Lab Tutorial: Access Server Configuration

Home  |  Page Two  |  FAQ's  |  Contact  |  Terms of Service  |  Article Submission Guidelines  |  Writers' Contests  |  Privacy  |  Mission / About
Copyright © 1999-2008 SearchWarp.com, All Rights Reserved - SearchWarp.com is an IcoLogic, Inc. Company