SlideShare a Scribd company logo
How to Troubleshoot and Verifying OSPF Configuration?
There are several ways you can verify and troubleshoot OSPF configuration and
operation, listed below are the necessary command to do this:
How to verify OSPF Configuration:
Show IP route command
Show IP ospf command
Show ip ospf database command
Show ip ospf interface command
Show ipospfneighbour command
Show ip protocols command
Debugging ospf
The Show IP route command:
R1#sho ip route
10.0.0.0/30 is subnetted, 3 subnets
C 10.1.1.0 is directly connected, Serial0/0/1
O 10.10.10.0 [110/128] via 10.20.20.2, 00:05:14, Serial0/0/0
[110/128] via 10.1.1.2, 00:05:14, Serial0/0/1
C 10.20.20.0 is directly connected, Serial0/0/0
172.16.0.0/24 is subnetted, 1 subnets
O 172.16.10.0 [110/65] via 10.1.1.2, 00:05:14, Serial0/0/1
O 192.168.1.0/24 [110/65] via 10.20.20.2, 00:07:38, Serial0/0/0
C 192.168.20.0/24 is directly connected, FastEthernet0/0
R1#
Using the the above command displays all routes on the network, with the O
representing the OSPF internal routes. The Cs are directly connected networks. It also
found the dual route to the 10.10.10.0 network.
Using the show OSPF Command
Another way of troubleshooting and verifying OSPF configuration is by using
the Show IP ospf command; the following information will be displayed:
R1#show ipospf
Routing Process "ospf 1" with ID 192.168.20.1
Supports only single TOS(TOS0) routes
Supports opaque LSA
SPF schedule delay 5 secs, Hold time between two SPFs 10 secs
Minimum LSA interval 5 secs. Minimum LSA arrival 1 secs
Number of external LSA 0. Checksum Sum 0x000000
Number of opaque AS LSA 0. Checksum Sum 0x000000
Number of DCbitless external and opaque AS LSA 0
Number of DoNotAge external and opaque AS LSA 0
Number of areas in this router is 1. 1 normal 0 stub 0 nssa
External flood list length 0
Area BACKBONE(0)
Number of interfaces in this area is 3
Area has no authentication
SPF algorithm executed 7 times
Area ranges are
Number of LSA 3. Checksum Sum 0x012733
Number of opaque link LSA 0. Checksum Sum 0x000000
Number of DCbitless LSA 0
Number of indication LSA 0
Number of DoNotAge LSA 0
Flood list length 0
R1#
The above command displays OSPF information all ospf processes running on the
router. Here you can find out the router ID, area information, SPF statistics and LSA
timers information…
The Show IP OSPF Database Command
Show ipospf database: This command can be used during network troubleshooting.
R1#show ipospf database
OSPF Router with ID (192.168.20.1) (Process ID 1)
Router Link States (Area 0)
Link ID ADV Router Age Seq# Checksum Link count
192.168.1.1 192.168.1.1 1321 0x80000005 0x0042ab 5
192.168.20.1 192.168.20.1 1281 0x80000005 0x00826a 5
172.16.10.1 172.16.10.1 1281 0x80000005 0x00621e 5
This command displays the information on the number of routers in the network or
internetwork plus the neighboring routers ID.
Here you can see three routers with their various IDs (which is the highest IP on each
router). Also you can see the link ID. The ADV router is the advertising router. The
checksum link count might display different numbers depending on the routing
device.
Show ipospf interface command explained.
We use the following topology for demonstration.
The show ipospf interface command on R1, will display the following output:
R1#show ipospf interface fa0/0
FastEthernet0/0 is up, line protocol is up
Internet address is 192.168.20.1/24, Area 0
Process ID 1, Router ID 192.168.20.1, Network Type BROADCAST, Cost: 1
Transmit Delay is 1 sec, State DR, Priority 1
Designated Router (ID) 192.168.20.1, Interface address 192.168.20.1
No backup designated router on this network
Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5
Hello due in 00:00:06
Index 1/1, flood queue length 0
Next 0x0(0)/0x0(0)
Last flood scan length is 1, maximum is 1
Last flood scan time is 0 msec, maximum is 0 msec
Neighbor Count is 0, Adjacent neighbor count is 0
Suppress hello for 0 neighbor(s)
Serial0/0/0 is up, line protocol is up
Internet address is 10.20.20.1/30, Area 0
Process ID 1, Router ID 192.168.20.1, Network Type POINT-TO-POINT, Cost: 64
Transmit Delay is 1 sec, State POINT-TO-POINT, Priority 0
No designated router on this network
No backup designated router on this network
Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5
Hello due in 00:00:02
Index 2/2, flood queue length 0
Next 0x0(0)/0x0(0)
Last flood scan length is 1, maximum is 1
Last flood scan time is 0 msec, maximum is 0 msec
Neighbor Count is 1 , Adjacent neighbor count is 1
Adjacent with neighbor 192.168.1.1
Suppress hello for 0 neighbor(s)
The above command displays the following information on each router interface:
i. Area assignment
ii. Interface IP address
iii. Process ID
iv. Router ID
v. Network type
vi. Cost
vii. Priority
viii. DR/BDR election information hello and dead timer intervals
ix. Adjacent neighbour information
The Show ipospfneighbour command:
R1#show ipospf neighbor
Neighbor ID Pri State Dead Time Address Interface
192.168.1.1 0 FULL/ - 00:00:33 10.20.20.2 Serial0/0/0
172.16.10.1 0 FULL/ - 00:00:32 10.1.1.2 Serial0/0/1
R1#
The above command displays the summary of ospf information regarding and the
adjacency state. This command is very useful on a production network.
The Show IP protocols command:
This command display the following information
R1#show ip protocols
Routing Protocol is "ospf 1"
Outgoing update filter list for all interfaces is not set
Incoming update filter list for all interfaces is not set
Router ID 192.168.20.1
Number of areas in this router is 1. 1 normal 0 stub 0 nssa
Maximum path: 4
Routing for Networks:
192.168.20.0 0.0.0.255 area 0
10.20.20.0 0.0.0.3 area 0
10.1.1.0 0.0.0.3 area 0
Routing Information Sources:
Gateway Distance Last Update
172.16.10.1 110 00:14:00
192.168.1.1 110 00:14:40
192.168.20.1 110 00:14:00
Distance: (default is 110)
R1#
This command is used to verify the type of protocols running on your router and
network. The display above shows the OSPF process ID, OSPF router ID, type of OSPF
area, networks and areas configured for OSPF neighboring router’s ID etc…etc.
The Debugging OSPF Command:
Among information provided by this command is the :
i. Debug ipospf packet: this command displays hello packets being sent and
received on your router
ii. Debugipospf hello: this command displays hello packets being sent and received
on your router. It also displays more information than the debug ospf packet
iii. The debug ipospfadj: shows DR and DBR elections on a broadcast and
non-broadcast multi-access (NBMA) network.
More Related Readings:
How to Troubleshoot OSPF?

More Related Content

PPT
Day 12 enabling ospf
PPTX
How to configure Extended acl for a network
PPTX
How to configure Standard ACL for a network
PPTX
How to configure Extended acl for an ip address
PPTX
OSPF Authentication
PPSX
Packet Tracer Tutorial # 2
PDF
PPT
Access Control List 1
Day 12 enabling ospf
How to configure Extended acl for a network
How to configure Standard ACL for a network
How to configure Extended acl for an ip address
OSPF Authentication
Packet Tracer Tutorial # 2
Access Control List 1

What's hot (20)

PPTX
IPV6 IPv6 Routing Lab By Rob Hamm
TXT
8 subredesssss
PPTX
Configuring RIPv2
PPTX
Router configuration in packet tracer
DOC
Acn Experiment No 6
DOC
Acn Experiment No 5
PPTX
Configuring extended ACLs
PPT
PPT
Access control list 2
DOC
Acn Experiment No 3
DOCX
Telnet configuration
DOC
Acn Experiment No 4
DOCX
Loquetodorouterdebedellevar
PDF
How to use mmdvm host wif main board
DOC
Networking Tutorial Goes to Basic PPP Configuration
PPTX
Juniper JNCIA – Juniper RIP and OSPF Route Configuration
DOCX
CIsco ACL- Network and host security
PPSX
Packet Tracer Tutorial # 1
DOCX
Lab 9 instructions
DOCX
Configuracion rip practica 1
IPV6 IPv6 Routing Lab By Rob Hamm
8 subredesssss
Configuring RIPv2
Router configuration in packet tracer
Acn Experiment No 6
Acn Experiment No 5
Configuring extended ACLs
Access control list 2
Acn Experiment No 3
Telnet configuration
Acn Experiment No 4
Loquetodorouterdebedellevar
How to use mmdvm host wif main board
Networking Tutorial Goes to Basic PPP Configuration
Juniper JNCIA – Juniper RIP and OSPF Route Configuration
CIsco ACL- Network and host security
Packet Tracer Tutorial # 1
Lab 9 instructions
Configuracion rip practica 1
Ad

Similar to How to troubleshoot and verifying ospf configuration (20)

PDF
ospf-filtering-issue - Partial Topology.pdf
PDF
Lab_5_OSPF_MPLS_sham_link_on_MPLS_VPN_1698700003.pdf
PPTX
Лекц 15
DOCX
Practice exam #2
PPT
Icnd210 s04l01
PPT
Learn OSPF(Open Short Path First) routing to day
PPT
CCIE Lab - IGP Routing
PPT
acit mumbai - ospf rouitng
PPT
PPT
Chapter7ccna
PPT
Chapter7ccna
DOC
Lab 4 marking
 
PPTX
Routing protocols
PDF
OSPF_multi.pdf
PDF
การคอนฟิกส์ OSPF บน Ubiquiti Edge Router
PPTX
OSPF Router LSA (Type 1)
PPT
Chapter7ccna
PPT
Networking in college
DOC
Ccna 2 chapter 11 v4.0 answers 2011
ospf-filtering-issue - Partial Topology.pdf
Lab_5_OSPF_MPLS_sham_link_on_MPLS_VPN_1698700003.pdf
Лекц 15
Practice exam #2
Icnd210 s04l01
Learn OSPF(Open Short Path First) routing to day
CCIE Lab - IGP Routing
acit mumbai - ospf rouitng
Chapter7ccna
Chapter7ccna
Lab 4 marking
 
Routing protocols
OSPF_multi.pdf
การคอนฟิกส์ OSPF บน Ubiquiti Edge Router
OSPF Router LSA (Type 1)
Chapter7ccna
Networking in college
Ccna 2 chapter 11 v4.0 answers 2011
Ad

More from IT Tech (20)

DOCX
Cisco ip phone key expansion module setup
DOCX
Cisco catalyst 9200 series platform spec, licenses, transition guide
DOCX
Cisco isr 900 series highlights, platform specs, licenses, transition guide
DOCX
Hpe pro liant gen9 to gen10 server transition guide
DOCX
The new cisco isr 4461 faq
DOCX
New nexus 400 gigabit ethernet (400 g) switches
DOCX
Tested cisco isr 1100 delivers the richest set of wi-fi features
DOCX
Aruba campus and branch switching solution
DOCX
Cisco transceiver module for compatible catalyst switches
DOCX
Cisco ios on cisco catalyst switches
DOCX
Cisco's wireless solutions deployment modes
DOCX
Competitive switching comparison cisco vs. hpe aruba vs. huawei vs. dell
DOCX
Four reasons to consider the all in-one isr 1000
DOCX
The difference between yellow and white labeled ports on a nexus 2300 series fex
DOCX
Cisco transceiver modules for compatible cisco switches series
DOCX
Guide to the new cisco firepower 2100 series
DOCX
892 f sfp configuration example
DOCX
Cisco nexus 7000 and nexus 7700
DOCX
Cisco firepower ngips series migration options
DOCX
Eol transceiver to replacement model
Cisco ip phone key expansion module setup
Cisco catalyst 9200 series platform spec, licenses, transition guide
Cisco isr 900 series highlights, platform specs, licenses, transition guide
Hpe pro liant gen9 to gen10 server transition guide
The new cisco isr 4461 faq
New nexus 400 gigabit ethernet (400 g) switches
Tested cisco isr 1100 delivers the richest set of wi-fi features
Aruba campus and branch switching solution
Cisco transceiver module for compatible catalyst switches
Cisco ios on cisco catalyst switches
Cisco's wireless solutions deployment modes
Competitive switching comparison cisco vs. hpe aruba vs. huawei vs. dell
Four reasons to consider the all in-one isr 1000
The difference between yellow and white labeled ports on a nexus 2300 series fex
Cisco transceiver modules for compatible cisco switches series
Guide to the new cisco firepower 2100 series
892 f sfp configuration example
Cisco nexus 7000 and nexus 7700
Cisco firepower ngips series migration options
Eol transceiver to replacement model

Recently uploaded (20)

PPTX
cấu trúc sử dụng mẫu Cause - Effects.pptx
PDF
Top 10 Visionary Entrepreneurs to Watch in 2025
PPTX
THEORIES-PSYCH-3.pptx theory of Abraham Maslow
PDF
The Spotlight Effect No One Is Thinking About You as Much as You Think - by M...
DOCX
Boost your energy levels and Shred Weight
PPTX
Understanding the Self power point presentation
PPTX
Emotional Intelligence- Importance and Applicability
PDF
Quiet Wins: Why the Silent Fish Survives.pdf
PPTX
Learn how to use Portable Grinders Safely
PDF
Red Light Wali Muskurahat – A Heart-touching Hindi Story
PPT
proper hygiene for teenagers for secondary students .ppt
PDF
⚡ Prepping for grid failure_ 6 Must-Haves to Survive Blackout!.pdf
PPTX
show1- motivational ispiring positive thinking
PDF
The Zeigarnik Effect by Meenakshi Khakat.pdf
PPTX
Presentation on interview preparation.pt
PPTX
diasspresentationndkcnskndncelklkfndc.pptx
PPTX
How to Deal with Imposter Syndrome for Personality Development?
PPTX
Commmunication in Todays world- Principles and Barriers
PDF
The Power of Pausing Before You React by Meenakshi Khakat
PDF
My 'novel' Account of Human Possibility pdf.pdf
cấu trúc sử dụng mẫu Cause - Effects.pptx
Top 10 Visionary Entrepreneurs to Watch in 2025
THEORIES-PSYCH-3.pptx theory of Abraham Maslow
The Spotlight Effect No One Is Thinking About You as Much as You Think - by M...
Boost your energy levels and Shred Weight
Understanding the Self power point presentation
Emotional Intelligence- Importance and Applicability
Quiet Wins: Why the Silent Fish Survives.pdf
Learn how to use Portable Grinders Safely
Red Light Wali Muskurahat – A Heart-touching Hindi Story
proper hygiene for teenagers for secondary students .ppt
⚡ Prepping for grid failure_ 6 Must-Haves to Survive Blackout!.pdf
show1- motivational ispiring positive thinking
The Zeigarnik Effect by Meenakshi Khakat.pdf
Presentation on interview preparation.pt
diasspresentationndkcnskndncelklkfndc.pptx
How to Deal with Imposter Syndrome for Personality Development?
Commmunication in Todays world- Principles and Barriers
The Power of Pausing Before You React by Meenakshi Khakat
My 'novel' Account of Human Possibility pdf.pdf

How to troubleshoot and verifying ospf configuration

  • 1. How to Troubleshoot and Verifying OSPF Configuration? There are several ways you can verify and troubleshoot OSPF configuration and operation, listed below are the necessary command to do this: How to verify OSPF Configuration: Show IP route command Show IP ospf command Show ip ospf database command Show ip ospf interface command Show ipospfneighbour command Show ip protocols command Debugging ospf The Show IP route command: R1#sho ip route 10.0.0.0/30 is subnetted, 3 subnets C 10.1.1.0 is directly connected, Serial0/0/1 O 10.10.10.0 [110/128] via 10.20.20.2, 00:05:14, Serial0/0/0 [110/128] via 10.1.1.2, 00:05:14, Serial0/0/1 C 10.20.20.0 is directly connected, Serial0/0/0 172.16.0.0/24 is subnetted, 1 subnets O 172.16.10.0 [110/65] via 10.1.1.2, 00:05:14, Serial0/0/1 O 192.168.1.0/24 [110/65] via 10.20.20.2, 00:07:38, Serial0/0/0 C 192.168.20.0/24 is directly connected, FastEthernet0/0 R1# Using the the above command displays all routes on the network, with the O representing the OSPF internal routes. The Cs are directly connected networks. It also found the dual route to the 10.10.10.0 network. Using the show OSPF Command
  • 2. Another way of troubleshooting and verifying OSPF configuration is by using the Show IP ospf command; the following information will be displayed: R1#show ipospf Routing Process "ospf 1" with ID 192.168.20.1 Supports only single TOS(TOS0) routes Supports opaque LSA SPF schedule delay 5 secs, Hold time between two SPFs 10 secs Minimum LSA interval 5 secs. Minimum LSA arrival 1 secs Number of external LSA 0. Checksum Sum 0x000000 Number of opaque AS LSA 0. Checksum Sum 0x000000 Number of DCbitless external and opaque AS LSA 0 Number of DoNotAge external and opaque AS LSA 0 Number of areas in this router is 1. 1 normal 0 stub 0 nssa External flood list length 0 Area BACKBONE(0) Number of interfaces in this area is 3 Area has no authentication SPF algorithm executed 7 times Area ranges are Number of LSA 3. Checksum Sum 0x012733 Number of opaque link LSA 0. Checksum Sum 0x000000 Number of DCbitless LSA 0 Number of indication LSA 0 Number of DoNotAge LSA 0 Flood list length 0 R1# The above command displays OSPF information all ospf processes running on the router. Here you can find out the router ID, area information, SPF statistics and LSA timers information…
  • 3. The Show IP OSPF Database Command Show ipospf database: This command can be used during network troubleshooting. R1#show ipospf database OSPF Router with ID (192.168.20.1) (Process ID 1) Router Link States (Area 0) Link ID ADV Router Age Seq# Checksum Link count 192.168.1.1 192.168.1.1 1321 0x80000005 0x0042ab 5 192.168.20.1 192.168.20.1 1281 0x80000005 0x00826a 5 172.16.10.1 172.16.10.1 1281 0x80000005 0x00621e 5 This command displays the information on the number of routers in the network or internetwork plus the neighboring routers ID. Here you can see three routers with their various IDs (which is the highest IP on each router). Also you can see the link ID. The ADV router is the advertising router. The checksum link count might display different numbers depending on the routing device. Show ipospf interface command explained. We use the following topology for demonstration.
  • 4. The show ipospf interface command on R1, will display the following output: R1#show ipospf interface fa0/0 FastEthernet0/0 is up, line protocol is up Internet address is 192.168.20.1/24, Area 0 Process ID 1, Router ID 192.168.20.1, Network Type BROADCAST, Cost: 1 Transmit Delay is 1 sec, State DR, Priority 1 Designated Router (ID) 192.168.20.1, Interface address 192.168.20.1 No backup designated router on this network Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5 Hello due in 00:00:06 Index 1/1, flood queue length 0 Next 0x0(0)/0x0(0) Last flood scan length is 1, maximum is 1 Last flood scan time is 0 msec, maximum is 0 msec Neighbor Count is 0, Adjacent neighbor count is 0 Suppress hello for 0 neighbor(s) Serial0/0/0 is up, line protocol is up Internet address is 10.20.20.1/30, Area 0 Process ID 1, Router ID 192.168.20.1, Network Type POINT-TO-POINT, Cost: 64 Transmit Delay is 1 sec, State POINT-TO-POINT, Priority 0 No designated router on this network No backup designated router on this network Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5 Hello due in 00:00:02 Index 2/2, flood queue length 0 Next 0x0(0)/0x0(0) Last flood scan length is 1, maximum is 1 Last flood scan time is 0 msec, maximum is 0 msec Neighbor Count is 1 , Adjacent neighbor count is 1 Adjacent with neighbor 192.168.1.1 Suppress hello for 0 neighbor(s)
  • 5. The above command displays the following information on each router interface: i. Area assignment ii. Interface IP address iii. Process ID iv. Router ID v. Network type vi. Cost vii. Priority viii. DR/BDR election information hello and dead timer intervals ix. Adjacent neighbour information The Show ipospfneighbour command: R1#show ipospf neighbor Neighbor ID Pri State Dead Time Address Interface 192.168.1.1 0 FULL/ - 00:00:33 10.20.20.2 Serial0/0/0 172.16.10.1 0 FULL/ - 00:00:32 10.1.1.2 Serial0/0/1 R1# The above command displays the summary of ospf information regarding and the adjacency state. This command is very useful on a production network. The Show IP protocols command: This command display the following information R1#show ip protocols Routing Protocol is "ospf 1" Outgoing update filter list for all interfaces is not set Incoming update filter list for all interfaces is not set Router ID 192.168.20.1 Number of areas in this router is 1. 1 normal 0 stub 0 nssa Maximum path: 4 Routing for Networks: 192.168.20.0 0.0.0.255 area 0 10.20.20.0 0.0.0.3 area 0 10.1.1.0 0.0.0.3 area 0 Routing Information Sources: Gateway Distance Last Update 172.16.10.1 110 00:14:00 192.168.1.1 110 00:14:40 192.168.20.1 110 00:14:00 Distance: (default is 110) R1# This command is used to verify the type of protocols running on your router and network. The display above shows the OSPF process ID, OSPF router ID, type of OSPF area, networks and areas configured for OSPF neighboring router’s ID etc…etc.
  • 6. The Debugging OSPF Command: Among information provided by this command is the : i. Debug ipospf packet: this command displays hello packets being sent and received on your router ii. Debugipospf hello: this command displays hello packets being sent and received on your router. It also displays more information than the debug ospf packet iii. The debug ipospfadj: shows DR and DBR elections on a broadcast and non-broadcast multi-access (NBMA) network. More Related Readings: How to Troubleshoot OSPF?