Skip to Main Content
Cisco IOS Cookbook, 2nd Edition
book

Cisco IOS Cookbook, 2nd Edition

by Kevin Dooley, Ian Brown
December 2006
Intermediate to advanced content levelIntermediate to advanced
1188 pages
72h 8m
English
O'Reilly Media, Inc.
Content preview from Cisco IOS Cookbook, 2nd Edition

Debugging OSPF

Problem

OSPF is not behaving properly, and you want to debug it to isolate and solve the problem.

Solution

There are several OSPF debugging options. But usually, if there is an OSPF problem, you will see it as instabilities in the neighbor relationships. So the most useful debugging option traces the formation of adjacencies.

Router3#debug ip ospf adj 
OSPF adjacency events debugging is on
Router3#

Discussion

This particular debug output is particularly useful because it helps to diagnose problems when routers fail to form adjacencies with one another. For example, the following debug message indicates that there is an authentication problem. The neighbor router in this case is configured for MD5 authentication, while this router is configured for no authentication.

Dec 21 16:00:14.341: OSPF: Rcv pkt from 172.25.1.7, FastEthernet0/0.1 : Mismatch Authentication type. Input packet specified type 2, we use type 0
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Learning the Cisco Application-Centric Infrastructure (ACI)

Learning the Cisco Application-Centric Infrastructure (ACI)

Rene Cardona

Publisher Resources

ISBN: 0596527225Supplemental ContentErrata Page