Contents · Contents Introduction Prerequisites Requirements Components Used Conventions Main...
Transcript of Contents · Contents Introduction Prerequisites Requirements Components Used Conventions Main...
![Page 1: Contents · Contents Introduction Prerequisites Requirements Components Used Conventions Main Flowchart Troubleshoot OSPF Neighbor States Troubleshoot the OSPF Routing Table](https://reader030.fdocuments.us/reader030/viewer/2022040903/5e752d1e711195521721ad67/html5/thumbnails/1.jpg)
Contents
IntroductionPrerequisitesRequirementsComponents UsedConventionsMain FlowchartTroubleshoot OSPF Neighbor StatesTroubleshoot the OSPF Routing TableTroubleshoot OSPF Init StateTroubleshoot OSPF MTUTroubleshoot OSPF Corrupt PacketsTroubleshoot OSPF Two-Way StateTroubleshoot OSPF LinksTroubleshoot Full AdjacencyTroubleshoot External Link-State AdvertisementsTroubleshoot OSPF NBMA NetworksTroubleshoot Access ListsTroubleshoot Neighbors over PRITroubleshoot PingTroubleshoot the OSPF InterfaceTroubleshoot Frame Relay EnvironmentTroubleshoot External Route ProblemsTroubleshoot Network TypeTroubleshoot OSPF Area TypeTroubleshoot the Hello/Dead Interval MismatchRelated Information
Introduction
This document provides troubleshooting information for common problems with Open ShortestPath First (OSPF). To see more infomation, or to go to the next flowchart, click the commandboxes in red.
Prerequisites
![Page 2: Contents · Contents Introduction Prerequisites Requirements Components Used Conventions Main Flowchart Troubleshoot OSPF Neighbor States Troubleshoot the OSPF Routing Table](https://reader030.fdocuments.us/reader030/viewer/2022040903/5e752d1e711195521721ad67/html5/thumbnails/2.jpg)
Requirements
There are no specific requirements for this document.
Components Used
This document is not restricted to specific software and hardware versions.
The information in this document was created from the devices in a specific lab environment. All ofthe devices used in this document started with a cleared (default) configuration. If your network islive, make sure that you understand the potential impact of any command.
Conventions
Refer to Cisco Technical Tips Conventions for more information on document conventions.
Main Flowchart
If you have the output of a show ip ospf neighbor, show ip ospf neighbor, or show tech-support command from your Cisco device, you can use the Cisco CLI Analyzer (registeredcustomers only) to display potential issues and fixes. To use Cisco CLI Analyzer, you must haveJavaScript enabled.
![Page 3: Contents · Contents Introduction Prerequisites Requirements Components Used Conventions Main Flowchart Troubleshoot OSPF Neighbor States Troubleshoot the OSPF Routing Table](https://reader030.fdocuments.us/reader030/viewer/2022040903/5e752d1e711195521721ad67/html5/thumbnails/3.jpg)
Troubleshoot OSPF Neighbor States
Refer to OSPF Neighbor States for neighbor state descriptions.
![Page 4: Contents · Contents Introduction Prerequisites Requirements Components Used Conventions Main Flowchart Troubleshoot OSPF Neighbor States Troubleshoot the OSPF Routing Table](https://reader030.fdocuments.us/reader030/viewer/2022040903/5e752d1e711195521721ad67/html5/thumbnails/4.jpg)
Troubleshoot the OSPF Routing Table
Troubleshoot OSPF Init State
![Page 5: Contents · Contents Introduction Prerequisites Requirements Components Used Conventions Main Flowchart Troubleshoot OSPF Neighbor States Troubleshoot the OSPF Routing Table](https://reader030.fdocuments.us/reader030/viewer/2022040903/5e752d1e711195521721ad67/html5/thumbnails/5.jpg)
Refer to Why Does the show ip ospf neighbor Command Reveal Neighbors in the Init State? for anInit State problem description and troubleshooting steps.
Troubleshoot OSPF MTU
![Page 6: Contents · Contents Introduction Prerequisites Requirements Components Used Conventions Main Flowchart Troubleshoot OSPF Neighbor States Troubleshoot the OSPF Routing Table](https://reader030.fdocuments.us/reader030/viewer/2022040903/5e752d1e711195521721ad67/html5/thumbnails/6.jpg)
Note: If the problem is related to Layer 2, check if a proxy ARP is enabled. If it is enabled,disable it, and use the clear ip arp command in order to clear the ARP cache.
Troubleshoot OSPF Corrupt Packets
Troubleshoot OSPF Two-Way State
Refer to Why Does the show ip ospf neighbor Command Reveal Neighbors Stuck in 2-Way State?
![Page 7: Contents · Contents Introduction Prerequisites Requirements Components Used Conventions Main Flowchart Troubleshoot OSPF Neighbor States Troubleshoot the OSPF Routing Table](https://reader030.fdocuments.us/reader030/viewer/2022040903/5e752d1e711195521721ad67/html5/thumbnails/7.jpg)
for an OSPF Two-way State problem description and troubleshooting steps.
Troubleshoot OSPF Links
![Page 8: Contents · Contents Introduction Prerequisites Requirements Components Used Conventions Main Flowchart Troubleshoot OSPF Neighbor States Troubleshoot the OSPF Routing Table](https://reader030.fdocuments.us/reader030/viewer/2022040903/5e752d1e711195521721ad67/html5/thumbnails/8.jpg)
You can use an Embedded Event Manager (EEM) script to troubleshoot the links flapping.
For more information, refer to this Cisco Support Community document that describes how to usean EEM script in order to collect information from a router when there is an OSPF flap:Troubleshooting OSPF Flaps with EEM Script .
Troubleshoot Full Adjacency
![Page 9: Contents · Contents Introduction Prerequisites Requirements Components Used Conventions Main Flowchart Troubleshoot OSPF Neighbor States Troubleshoot the OSPF Routing Table](https://reader030.fdocuments.us/reader030/viewer/2022040903/5e752d1e711195521721ad67/html5/thumbnails/9.jpg)
Troubleshoot External Link-State Advertisements
Refer to Common Routing Problem with OSPF Forwarding Address for a description of forwardingaddresses in external LSA, and for troubleshoot steps concerning the most common problemswith LSAs having non-zero forwarding addresses.
![Page 10: Contents · Contents Introduction Prerequisites Requirements Components Used Conventions Main Flowchart Troubleshoot OSPF Neighbor States Troubleshoot the OSPF Routing Table](https://reader030.fdocuments.us/reader030/viewer/2022040903/5e752d1e711195521721ad67/html5/thumbnails/10.jpg)
Troubleshoot OSPF NBMA Networks
Refer to Problems with Running OSPF in NBMA Mode over Frame Relay for more information oncommon OSPF over NBMA network problems.
Troubleshoot Access Lists
![Page 11: Contents · Contents Introduction Prerequisites Requirements Components Used Conventions Main Flowchart Troubleshoot OSPF Neighbor States Troubleshoot the OSPF Routing Table](https://reader030.fdocuments.us/reader030/viewer/2022040903/5e752d1e711195521721ad67/html5/thumbnails/11.jpg)
Troubleshoot Neighbors over PRI
Troubleshoot Ping
![Page 12: Contents · Contents Introduction Prerequisites Requirements Components Used Conventions Main Flowchart Troubleshoot OSPF Neighbor States Troubleshoot the OSPF Routing Table](https://reader030.fdocuments.us/reader030/viewer/2022040903/5e752d1e711195521721ad67/html5/thumbnails/12.jpg)
Troubleshoot the OSPF Interface
![Page 13: Contents · Contents Introduction Prerequisites Requirements Components Used Conventions Main Flowchart Troubleshoot OSPF Neighbor States Troubleshoot the OSPF Routing Table](https://reader030.fdocuments.us/reader030/viewer/2022040903/5e752d1e711195521721ad67/html5/thumbnails/13.jpg)
Troubleshoot Frame Relay Environment
Troubleshoot External Route Problems
![Page 14: Contents · Contents Introduction Prerequisites Requirements Components Used Conventions Main Flowchart Troubleshoot OSPF Neighbor States Troubleshoot the OSPF Routing Table](https://reader030.fdocuments.us/reader030/viewer/2022040903/5e752d1e711195521721ad67/html5/thumbnails/14.jpg)
Troubleshoot Network Type
Troubleshoot OSPF Area Type
![Page 15: Contents · Contents Introduction Prerequisites Requirements Components Used Conventions Main Flowchart Troubleshoot OSPF Neighbor States Troubleshoot the OSPF Routing Table](https://reader030.fdocuments.us/reader030/viewer/2022040903/5e752d1e711195521721ad67/html5/thumbnails/15.jpg)
Troubleshoot the Hello/Dead Interval Mismatch
![Page 16: Contents · Contents Introduction Prerequisites Requirements Components Used Conventions Main Flowchart Troubleshoot OSPF Neighbor States Troubleshoot the OSPF Routing Table](https://reader030.fdocuments.us/reader030/viewer/2022040903/5e752d1e711195521721ad67/html5/thumbnails/16.jpg)
Note that the debug output from the debug ip ospf hello command shows the mismatch in helloparameters. Here is the sample debug output:
*Oct 12 14:03:32.595: OSPF: Send hello to 224.0.0.5 area 0 on FastEthernet1/0
from 192.168.12.2 *Oct 12 14:03:33.227: OSPF: Rcv hello from 1.1.1.1 area 0 from
FastEthernet1/0
192.168.12.1 *Oct 12 14:03:33.227: OSPF: Mismatched hello parameters from 192.168.12.1
!--- Indicates that there is mismtached hello parameters from 192.168.12.1 *Oct 12 14:03:33.231:
OSPF: Dead R 2 C 3, Hello R 1 C 1 Mask R
255.255.255.0 C 255.255.255.0 *Oct 12 14:03:33.531: OSPF: Send hello to 224.0.0.5 area 0 on
FastEthernet1/0 from 192.168.12.2
Related Information
OSPF Support Page●
Technical Support & Documentation - Cisco Systems●