SlideShare a Scribd company logo
TROUBLESHOOTING OSPF
THE OSPF NEIGHBOR LIST IS EMPTY.

   The most common possible causes of this problem are as follows: OSPF
    is not enabled on the interface. Layer 1/2 is down.

   The interface is defined as passive under OSPF. An access list is
    blocking OSPF Hellos on both sides. A subnet number/mask has been
    mismatched over a broadcast link. The Hello/dead interval has been
    mismatched.

   The authentication type (plain text versus MD5) has been mismatched.
    An authentication key has been mismatched. An area ID has been
    mismatched. Stub/transit/NSSA area options have been mismatched.
   An OSPF adjacency exists with secondary IP addressing. An OSPF
    adjacency exists over an asynchronous interface. No network type or
    neighbor is defined over NBMA (Frame Relay, X.25, SMDS, and so on).
    The frame-relay map/dialer map statement is missing the broadcast
    keyword on both sides
OSPF NEIGHBOR STUCK IN INIT
 The most common possible causes of this problem
  are as follows: An access list on one side is
  blocking OSPF Hellos. Multicast capabilities are
  broken on one side (6500 switch problem) .
 Authentication is enabled on only one side (virtual
  link example). The frame-relay map/dialer map
  statement on one side is missing the broadcast
  keyword.
 Hellos are getting lost on one side at Layer 2.
  Problem: OSPF Neighbor Stuck in 2-WAY—Cause:
  Priority 0 Is Configured on All Routers
OSPF NEIGHBOR STUCK IN
EXSTART/EXCHANGE
 Mismatched interface MTU Duplicate router IDs on
  neighbors Inability to ping across with more than
  certain MTU size Broken unicast connectivity
  because of the following:
 Wrong VC/DLCI mapping in Frame Relay/ATM
  switch - Access list blocking the unicast
 NAT translating the unicast Network type of point-
  to-point between PRI and BRI/dialer
OSPF NEIGHBOR STUCK IN LOADING
   Mismatched MTU Corrupted link-state request packet
    Troubleshooting OSPF Route Advertisement The most
    common reasons for OSPF to not share the database
    information about a specific link are as follows:
   The OSPF neighbor is not advertising routes.
    The OSPF neighbor (ABR) is not advertising the summary
    route.
   The OSPF neighbor is not advertising external routes.
    The OSPF neighbor is not advertising the default route.
    Problem:
    OSPF Neighbor Is Not Advertising Routes The most common
    possible causes of this problem are as follows: OSPF is not
    enabled on the interface that is supposed to be advertised.
    The advertising interface is down. The secondary interface is
    in a different area than the primary interface.
: OSPF NEIGHBOR (ABR) NOT ADVERTISING
THE SUMMARY ROUTE

 An area is configured as a totally stubby area. An
  ABR is not connected to area 0. A discontiguous
  area 0 exists.
 Problem: OSPF Neighbor Is Not Advertising
  External Routes
 The most common possible causes of this problem
  are as follows:
 The area is configured as a stub or NSSA.

 The NSSA ABR is not translating Type 7 into Type
  5 LSA.
    Problem: OSPF Neighbor Not Advertising Default
    Routes
   The most common possible causes for an OSPF router
    not to advertise the default route are as follows: The
    default-information originate command is missing. The
    default route is missing from the neighbor’s routing
    table.
    A neighbor is trying to originate a default into a stub
    area. The NSSA ABR/ASBR is not originating the Type 7
    default. Troubleshooting
   OSPF Route Installation The most common reasons for
    OSPF failing to install routes in the routing table are as
    follows: OSPF is not installing any routes in the routing
    table. OSPF is not installing external routes in the
    routing table.
   : The network type is mismatched. IP addresses are
    flipped in dual serial-connected routers or a
    subnet/mask mismatch has occurred. One side is a
    numbered and the other side is an unnumbered
    point-to-point link. A distribute list is blocking the
    routes’ installation. There is a broken PVC in a fully
    meshed Frame Relay network with the broadcast
    network type.
OSPF NOT INSTALLING EXTERNAL ROUTES
IN THE ROUTING TABLE
   The forwarding address is not known through the intra-
    area or inter-area route.
   The ABR is not generating Type 4 summary LSAs.
    Troubleshooting Redistribution Problems in OSPF,
   The following are problems that can happen during
    redistribution:
   ASBR is not advertising redistributed routes. OSPF is
    not installing external routes in the routing table.
   Problem: OSPF Neighbor Is Not Advertising External
    Routes The most common causes of this problem are as
    follows:
   The subnets keyword is missing from the ASBR
    configuration. Distribute-list out is blocking the routes.
    Troubleshooting Route Summarization in OSPF,.
   OSPF can use two types of summarization: Inter-
    area summarization that can be done on the ABR
    External summarization that can be done on the
    ASBR Two common problems related to
    summarization in OSPF are as follows: A router is
    not summarizing inter-area routes. A router is not
    summarizing external routes
: ROUTER IS NOT SUMMARIZING INTER-AREA
ROUTES
   area range Command Is Not Configured on ABR
    Problem: Router Is Not Summarizing External Routes —
    Cause: summary-address Command Is Not Configured
    on ASBR Troubleshooting CPU HOG Problems The
    CPUHOG messages usually appear in two significant
    stages: Neighbor formation process LSA refresh
    process This section discusses the possible solutions for
    these two instances of SPF: CPUHOG messages during
    adjacency formation CPUHOG messages during LSA
    refresh period Problem: CPUHOG Messages During
    Adjacency Formation —
   Cause: Router Is Not Running Packet-Pacing Code
    Problem: CPUHOG Messages During LSA Refresh
    Period —
   Cause: Router Is Not Running LSA Group-Pacing Code
    Troubleshooting SPF Calculation and Route Flapping The
    problem of SPF running constantly in the network for the
    following reasons: Interface flap within the network Neighbor flap
    within the network Duplicate router ID Common OSPF Error
    Messages “Unknown routing protocol” Error Message = the
    software or the hardware does not support OSPF, OSPF: “Could
    not allocate router id” Error Message = This message appears in
    two situations: No up/up interface with a valid IP address Not
    enough up interfaces with a valid IP address for multiple OSPF
    processes “%OSPF-4-BADLSATYPE: Invalid lsa: Bad LSA type”
    Type 6 Error Message This is normal if the neighboring router is
    sending the multicast OSPF (MOSPF) packet. For more
    information on MOSPF, refer to RFC 1584. Cisco routers do not
    support MOSPF, so they simply ignore it ignore lsa mospf
    “OSPF-4-ERRRCV” Error Message Three common types of this
    message can occur: Mismatch area ID Bad checksum OSPF not
    enabled on the receiving interface
OSPF ERROR MESSAGES
   “Unknown routing protocol” Error Message = the
    software or the hardware does not support
    OSPF, OSPF: “Could not allocate router id” Error
    Message = This message appears in two situations: No
    up/up interface with a valid IP address Not enough up
    interfaces with a valid IP address for multiple OSPF
    processes “%OSPF-4-BADLSATYPE: Invalid lsa: Bad
    LSA type” Type 6 Error Message This is normal if the
    neighboring router is sending the multicast OSPF
    (MOSPF) packet. For more information on MOSPF, refer
    to RFC 1584. Cisco routers do not support MOSPF, so
    they simply ignore it ignore lsa mospf “OSPF-4-
    ERRRCV” Error Message Three common types of this
    message can occur: Mismatch area ID Bad checksum
    OSPF not enabled on the receiving interface

More Related Content

PPTX
EIGRP Protocol.pptx
PDF
PPTX
PPT
Sigtran protocol
PPTX
IPv6 - Neighbour Discovery
PDF
hpsr-2020-srv6-tutorial
PPTX
OPEN SHORTEST PATH FIRST (OSPF)
PPT
EIGRP Protocol.pptx
Sigtran protocol
IPv6 - Neighbour Discovery
hpsr-2020-srv6-tutorial
OPEN SHORTEST PATH FIRST (OSPF)

What's hot (20)

PDF
Link state protocols.ppt
PDF
Cisco ospf
PPTX
An Overview of Border Gateway Protocol (BGP)
PDF
CCNP Route - EIGRP
PPTX
Border Gateway Protocol (BGP)
PDF
DevConf 2014 Kernel Networking Walkthrough
PPTX
Physical Layer of ISO-OSI model and Devices
PDF
Creating Your Own PCI Express System Using FPGAs: Embedded World 2010
PPTX
EIGRP (Enhanced Interior Gateway Routing Protocol)
PDF
Ngelab Packet Tracer - Subnet, IP, DHCP, Server, DNS, Email, NTP, FTP, RIP, E...
PDF
Cisco ospf
PPTX
Network devices
PPTX
Border Gatway Protocol
PDF
Cisco Live! :: Introduction to Segment Routing :: BRKRST-2124 | Las Vegas 2017
PPT
PDF
Segment Routing Lab
PPTX
Link Aggregation Control Protocol
PDF
MPLS Traffic Engineering
PDF
Pci express technology 3.0
PDF
Routage ospf
Link state protocols.ppt
Cisco ospf
An Overview of Border Gateway Protocol (BGP)
CCNP Route - EIGRP
Border Gateway Protocol (BGP)
DevConf 2014 Kernel Networking Walkthrough
Physical Layer of ISO-OSI model and Devices
Creating Your Own PCI Express System Using FPGAs: Embedded World 2010
EIGRP (Enhanced Interior Gateway Routing Protocol)
Ngelab Packet Tracer - Subnet, IP, DHCP, Server, DNS, Email, NTP, FTP, RIP, E...
Cisco ospf
Network devices
Border Gatway Protocol
Cisco Live! :: Introduction to Segment Routing :: BRKRST-2124 | Las Vegas 2017
Segment Routing Lab
Link Aggregation Control Protocol
MPLS Traffic Engineering
Pci express technology 3.0
Routage ospf
Ad

Similar to Troubleshooting ospf (20)

PPTX
PDF
ospf ahmed tawfeek CCNA dump for Exam12
PDF
Ospf routing protocol
PPTX
Open shortest path first (ospf)
PPTX
CCNP ROUTE V7 CH3
PDF
How to configure the basic OSPF?
PDF
Open Shortest Path First
PPTX
OSPF v3
PPTX
ENCOR_Chapter_10 - OSPFv3 Attribution.pptx
PPT
Ipv6 Alp
PPTX
OSPF Beyond Stump-the-Chump_Interview_Questions - Part 01 -
PDF
Routing security - Budapest 2011
PDF
Lecture-07 .pdf
PDF
OSPFv3_Technology_White_Paper.pdf
PDF
Huawei ARG3 Router How To - Troubleshooting OSPF: Router ID Confusion
PPT
Learn OSPF(Open Short Path First) routing to day
PDF
Osp fv3 cs
DOCX
2.6.6 Packet Tracer - Verify Single-Area OSPFv2 - ILM.docx
PPTX
CCNA3 Verson6 Chapter10
PDF
Single-Area OSPFv2 Concepts.pdf
ospf ahmed tawfeek CCNA dump for Exam12
Ospf routing protocol
Open shortest path first (ospf)
CCNP ROUTE V7 CH3
How to configure the basic OSPF?
Open Shortest Path First
OSPF v3
ENCOR_Chapter_10 - OSPFv3 Attribution.pptx
Ipv6 Alp
OSPF Beyond Stump-the-Chump_Interview_Questions - Part 01 -
Routing security - Budapest 2011
Lecture-07 .pdf
OSPFv3_Technology_White_Paper.pdf
Huawei ARG3 Router How To - Troubleshooting OSPF: Router ID Confusion
Learn OSPF(Open Short Path First) routing to day
Osp fv3 cs
2.6.6 Packet Tracer - Verify Single-Area OSPFv2 - ILM.docx
CCNA3 Verson6 Chapter10
Single-Area OSPFv2 Concepts.pdf
Ad

Recently uploaded (20)

PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PDF
cuic standard and advanced reporting.pdf
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PPTX
sap open course for s4hana steps from ECC to s4
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Encapsulation theory and applications.pdf
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Unlocking AI with Model Context Protocol (MCP)
Review of recent advances in non-invasive hemoglobin estimation
Building Integrated photovoltaic BIPV_UPV.pdf
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Digital-Transformation-Roadmap-for-Companies.pptx
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
Dropbox Q2 2025 Financial Results & Investor Presentation
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
cuic standard and advanced reporting.pdf
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Per capita expenditure prediction using model stacking based on satellite ima...
sap open course for s4hana steps from ECC to s4
Diabetes mellitus diagnosis method based random forest with bat algorithm
MIND Revenue Release Quarter 2 2025 Press Release
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
The Rise and Fall of 3GPP – Time for a Sabbatical?
Reach Out and Touch Someone: Haptics and Empathic Computing
Encapsulation theory and applications.pdf
Network Security Unit 5.pdf for BCA BBA.
Unlocking AI with Model Context Protocol (MCP)

Troubleshooting ospf

  • 2. THE OSPF NEIGHBOR LIST IS EMPTY.  The most common possible causes of this problem are as follows: OSPF is not enabled on the interface. Layer 1/2 is down.  The interface is defined as passive under OSPF. An access list is blocking OSPF Hellos on both sides. A subnet number/mask has been mismatched over a broadcast link. The Hello/dead interval has been mismatched.  The authentication type (plain text versus MD5) has been mismatched. An authentication key has been mismatched. An area ID has been mismatched. Stub/transit/NSSA area options have been mismatched.  An OSPF adjacency exists with secondary IP addressing. An OSPF adjacency exists over an asynchronous interface. No network type or neighbor is defined over NBMA (Frame Relay, X.25, SMDS, and so on).  The frame-relay map/dialer map statement is missing the broadcast keyword on both sides
  • 3. OSPF NEIGHBOR STUCK IN INIT  The most common possible causes of this problem are as follows: An access list on one side is blocking OSPF Hellos. Multicast capabilities are broken on one side (6500 switch problem) .  Authentication is enabled on only one side (virtual link example). The frame-relay map/dialer map statement on one side is missing the broadcast keyword.  Hellos are getting lost on one side at Layer 2. Problem: OSPF Neighbor Stuck in 2-WAY—Cause: Priority 0 Is Configured on All Routers
  • 4. OSPF NEIGHBOR STUCK IN EXSTART/EXCHANGE  Mismatched interface MTU Duplicate router IDs on neighbors Inability to ping across with more than certain MTU size Broken unicast connectivity because of the following:  Wrong VC/DLCI mapping in Frame Relay/ATM switch - Access list blocking the unicast  NAT translating the unicast Network type of point- to-point between PRI and BRI/dialer
  • 5. OSPF NEIGHBOR STUCK IN LOADING  Mismatched MTU Corrupted link-state request packet Troubleshooting OSPF Route Advertisement The most common reasons for OSPF to not share the database information about a specific link are as follows:  The OSPF neighbor is not advertising routes.  The OSPF neighbor (ABR) is not advertising the summary route.  The OSPF neighbor is not advertising external routes.  The OSPF neighbor is not advertising the default route. Problem:  OSPF Neighbor Is Not Advertising Routes The most common possible causes of this problem are as follows: OSPF is not enabled on the interface that is supposed to be advertised.  The advertising interface is down. The secondary interface is in a different area than the primary interface.
  • 6. : OSPF NEIGHBOR (ABR) NOT ADVERTISING THE SUMMARY ROUTE  An area is configured as a totally stubby area. An ABR is not connected to area 0. A discontiguous area 0 exists.  Problem: OSPF Neighbor Is Not Advertising External Routes  The most common possible causes of this problem are as follows:  The area is configured as a stub or NSSA.  The NSSA ABR is not translating Type 7 into Type 5 LSA.
  • 7. Problem: OSPF Neighbor Not Advertising Default Routes  The most common possible causes for an OSPF router not to advertise the default route are as follows: The default-information originate command is missing. The default route is missing from the neighbor’s routing table.  A neighbor is trying to originate a default into a stub area. The NSSA ABR/ASBR is not originating the Type 7 default. Troubleshooting  OSPF Route Installation The most common reasons for OSPF failing to install routes in the routing table are as follows: OSPF is not installing any routes in the routing table. OSPF is not installing external routes in the routing table.
  • 8. : The network type is mismatched. IP addresses are flipped in dual serial-connected routers or a subnet/mask mismatch has occurred. One side is a numbered and the other side is an unnumbered point-to-point link. A distribute list is blocking the routes’ installation. There is a broken PVC in a fully meshed Frame Relay network with the broadcast network type.
  • 9. OSPF NOT INSTALLING EXTERNAL ROUTES IN THE ROUTING TABLE  The forwarding address is not known through the intra- area or inter-area route.  The ABR is not generating Type 4 summary LSAs. Troubleshooting Redistribution Problems in OSPF,  The following are problems that can happen during redistribution:  ASBR is not advertising redistributed routes. OSPF is not installing external routes in the routing table.  Problem: OSPF Neighbor Is Not Advertising External Routes The most common causes of this problem are as follows:  The subnets keyword is missing from the ASBR configuration. Distribute-list out is blocking the routes. Troubleshooting Route Summarization in OSPF,.
  • 10. OSPF can use two types of summarization: Inter- area summarization that can be done on the ABR External summarization that can be done on the ASBR Two common problems related to summarization in OSPF are as follows: A router is not summarizing inter-area routes. A router is not summarizing external routes
  • 11. : ROUTER IS NOT SUMMARIZING INTER-AREA ROUTES  area range Command Is Not Configured on ABR Problem: Router Is Not Summarizing External Routes —  Cause: summary-address Command Is Not Configured on ASBR Troubleshooting CPU HOG Problems The CPUHOG messages usually appear in two significant stages: Neighbor formation process LSA refresh process This section discusses the possible solutions for these two instances of SPF: CPUHOG messages during adjacency formation CPUHOG messages during LSA refresh period Problem: CPUHOG Messages During Adjacency Formation —  Cause: Router Is Not Running Packet-Pacing Code Problem: CPUHOG Messages During LSA Refresh Period —
  • 12. Cause: Router Is Not Running LSA Group-Pacing Code Troubleshooting SPF Calculation and Route Flapping The problem of SPF running constantly in the network for the following reasons: Interface flap within the network Neighbor flap within the network Duplicate router ID Common OSPF Error Messages “Unknown routing protocol” Error Message = the software or the hardware does not support OSPF, OSPF: “Could not allocate router id” Error Message = This message appears in two situations: No up/up interface with a valid IP address Not enough up interfaces with a valid IP address for multiple OSPF processes “%OSPF-4-BADLSATYPE: Invalid lsa: Bad LSA type” Type 6 Error Message This is normal if the neighboring router is sending the multicast OSPF (MOSPF) packet. For more information on MOSPF, refer to RFC 1584. Cisco routers do not support MOSPF, so they simply ignore it ignore lsa mospf “OSPF-4-ERRRCV” Error Message Three common types of this message can occur: Mismatch area ID Bad checksum OSPF not enabled on the receiving interface
  • 13. OSPF ERROR MESSAGES  “Unknown routing protocol” Error Message = the software or the hardware does not support OSPF, OSPF: “Could not allocate router id” Error Message = This message appears in two situations: No up/up interface with a valid IP address Not enough up interfaces with a valid IP address for multiple OSPF processes “%OSPF-4-BADLSATYPE: Invalid lsa: Bad LSA type” Type 6 Error Message This is normal if the neighboring router is sending the multicast OSPF (MOSPF) packet. For more information on MOSPF, refer to RFC 1584. Cisco routers do not support MOSPF, so they simply ignore it ignore lsa mospf “OSPF-4- ERRRCV” Error Message Three common types of this message can occur: Mismatch area ID Bad checksum OSPF not enabled on the receiving interface