SlideShare ist ein Scribd-Unternehmen logo
1 von 6
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?

Weitere ähnliche Inhalte

Was ist angesagt?

Access control list 2
Access control list 2Access control list 2
Access control list 2
Kishore Kumar
 
Loquetodorouterdebedellevar
LoquetodorouterdebedellevarLoquetodorouterdebedellevar
Loquetodorouterdebedellevar
Juan Segovia
 
CIsco ACL- Network and host security
CIsco ACL- Network and host securityCIsco ACL- Network and host security
CIsco ACL- Network and host security
Shiv Koppad
 
Lab 9 instructions
Lab 9 instructionsLab 9 instructions
Lab 9 instructions
trayyoo
 

Was ist angesagt? (20)

IPV6 IPv6 Routing Lab By Rob Hamm
IPV6 IPv6 Routing Lab  By Rob HammIPV6 IPv6 Routing Lab  By Rob Hamm
IPV6 IPv6 Routing Lab By Rob Hamm
 
8 subredesssss
8 subredesssss8 subredesssss
8 subredesssss
 
Configuring RIPv2
Configuring RIPv2Configuring RIPv2
Configuring RIPv2
 
Router configuration in packet tracer
Router configuration in packet  tracerRouter configuration in packet  tracer
Router configuration in packet tracer
 
Acn Experiment No 6
Acn Experiment No 6Acn Experiment No 6
Acn Experiment No 6
 
Acn Experiment No 5
Acn Experiment No 5Acn Experiment No 5
Acn Experiment No 5
 
Configuring extended ACLs
Configuring extended ACLsConfiguring extended ACLs
Configuring extended ACLs
 
OSPF 3
OSPF 3OSPF 3
OSPF 3
 
Access control list 2
Access control list 2Access control list 2
Access control list 2
 
Acn Experiment No 3
Acn Experiment No 3Acn Experiment No 3
Acn Experiment No 3
 
Telnet configuration
Telnet configurationTelnet configuration
Telnet configuration
 
Acn Experiment No 4
Acn Experiment No 4Acn Experiment No 4
Acn Experiment No 4
 
Loquetodorouterdebedellevar
LoquetodorouterdebedellevarLoquetodorouterdebedellevar
Loquetodorouterdebedellevar
 
How to use mmdvm host wif main board
How to use mmdvm host wif main boardHow to use mmdvm host wif main board
How to use mmdvm host wif main board
 
Networking Tutorial Goes to Basic PPP Configuration
Networking Tutorial Goes to Basic PPP ConfigurationNetworking Tutorial Goes to Basic PPP Configuration
Networking Tutorial Goes to Basic PPP Configuration
 
Juniper JNCIA – Juniper RIP and OSPF Route Configuration
Juniper JNCIA – Juniper RIP and OSPF Route ConfigurationJuniper JNCIA – Juniper RIP and OSPF Route Configuration
Juniper JNCIA – Juniper RIP and OSPF Route Configuration
 
CIsco ACL- Network and host security
CIsco ACL- Network and host securityCIsco ACL- Network and host security
CIsco ACL- Network and host security
 
Packet Tracer Tutorial # 1
Packet Tracer Tutorial # 1Packet Tracer Tutorial # 1
Packet Tracer Tutorial # 1
 
Lab 9 instructions
Lab 9 instructionsLab 9 instructions
Lab 9 instructions
 
Configuracion rip practica 1
Configuracion rip practica 1Configuracion rip practica 1
Configuracion rip practica 1
 

Ähnlich wie How to troubleshoot and verifying ospf configuration

Lab_5_OSPF_MPLS_sham_link_on_MPLS_VPN_1698700003.pdf
Lab_5_OSPF_MPLS_sham_link_on_MPLS_VPN_1698700003.pdfLab_5_OSPF_MPLS_sham_link_on_MPLS_VPN_1698700003.pdf
Lab_5_OSPF_MPLS_sham_link_on_MPLS_VPN_1698700003.pdf
EnRios1
 
Лекц 15
Лекц 15Лекц 15
Лекц 15
Muuluu
 
Practice exam #2
Practice exam #2Practice exam #2
Practice exam #2
Kris Mofu
 
Chapter7ccna
Chapter7ccnaChapter7ccna
Chapter7ccna
robertoxe
 
Networking in college
Networking in collegeNetworking in college
Networking in college
Harpreet Gaba
 
Ccna 2 chapter 11 v4.0 answers 2011
Ccna 2 chapter 11 v4.0 answers 2011Ccna 2 chapter 11 v4.0 answers 2011
Ccna 2 chapter 11 v4.0 answers 2011
Dân Chơi
 

Ähnlich wie How to troubleshoot and verifying ospf configuration (20)

ospf-filtering-issue - Partial Topology.pdf
ospf-filtering-issue - Partial Topology.pdfospf-filtering-issue - Partial Topology.pdf
ospf-filtering-issue - Partial Topology.pdf
 
Lab_5_OSPF_MPLS_sham_link_on_MPLS_VPN_1698700003.pdf
Lab_5_OSPF_MPLS_sham_link_on_MPLS_VPN_1698700003.pdfLab_5_OSPF_MPLS_sham_link_on_MPLS_VPN_1698700003.pdf
Lab_5_OSPF_MPLS_sham_link_on_MPLS_VPN_1698700003.pdf
 
Лекц 15
Лекц 15Лекц 15
Лекц 15
 
Practice exam #2
Practice exam #2Practice exam #2
Practice exam #2
 
Icnd210 s04l01
Icnd210 s04l01Icnd210 s04l01
Icnd210 s04l01
 
CCIE Lab - IGP Routing
CCIE Lab -  IGP Routing  CCIE Lab -  IGP Routing
CCIE Lab - IGP Routing
 
acit mumbai - ospf rouitng
acit mumbai - ospf rouitng acit mumbai - ospf rouitng
acit mumbai - ospf rouitng
 
OSPF 3
OSPF 3OSPF 3
OSPF 3
 
Chapter7ccna
Chapter7ccnaChapter7ccna
Chapter7ccna
 
Chapter7ccna
Chapter7ccnaChapter7ccna
Chapter7ccna
 
Lab 4 marking
Lab 4 markingLab 4 marking
Lab 4 marking
 
Labs ospf
Labs ospfLabs ospf
Labs ospf
 
Routing protocols
Routing protocolsRouting protocols
Routing protocols
 
OSPF_multi.pdf
OSPF_multi.pdfOSPF_multi.pdf
OSPF_multi.pdf
 
CCNA_200-301_June_2023-v1.2.pdf
CCNA_200-301_June_2023-v1.2.pdfCCNA_200-301_June_2023-v1.2.pdf
CCNA_200-301_June_2023-v1.2.pdf
 
การคอนฟิกส์ OSPF บน Ubiquiti Edge Router
การคอนฟิกส์ OSPF บน Ubiquiti Edge Routerการคอนฟิกส์ OSPF บน Ubiquiti Edge Router
การคอนฟิกส์ OSPF บน Ubiquiti Edge Router
 
OSPF Router LSA (Type 1)
OSPF Router LSA (Type 1)OSPF Router LSA (Type 1)
OSPF Router LSA (Type 1)
 
Chapter7ccna
Chapter7ccnaChapter7ccna
Chapter7ccna
 
Networking in college
Networking in collegeNetworking in college
Networking in college
 
Ccna 2 chapter 11 v4.0 answers 2011
Ccna 2 chapter 11 v4.0 answers 2011Ccna 2 chapter 11 v4.0 answers 2011
Ccna 2 chapter 11 v4.0 answers 2011
 

Mehr von IT Tech

Mehr von IT Tech (20)

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

Kürzlich hochgeladen

February 2024 Recommendations for newsletter
February 2024 Recommendations for newsletterFebruary 2024 Recommendations for newsletter
February 2024 Recommendations for newsletter
ssuserdfec6a
 
the Husband rolesBrown Aesthetic Cute Group Project Presentation
the Husband rolesBrown Aesthetic Cute Group Project Presentationthe Husband rolesBrown Aesthetic Cute Group Project Presentation
the Husband rolesBrown Aesthetic Cute Group Project Presentation
brynpueblos04
 
Girls in Mahipalpur (delhi) call me [🔝9953056974🔝] escort service 24X7
Girls in Mahipalpur  (delhi) call me [🔝9953056974🔝] escort service 24X7Girls in Mahipalpur  (delhi) call me [🔝9953056974🔝] escort service 24X7
Girls in Mahipalpur (delhi) call me [🔝9953056974🔝] escort service 24X7
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
KLINIK BATA Jual obat penggugur kandungan 087776558899 ABORSI JANIN KEHAMILAN...
KLINIK BATA Jual obat penggugur kandungan 087776558899 ABORSI JANIN KEHAMILAN...KLINIK BATA Jual obat penggugur kandungan 087776558899 ABORSI JANIN KEHAMILAN...
KLINIK BATA Jual obat penggugur kandungan 087776558899 ABORSI JANIN KEHAMILAN...
Cara Menggugurkan Kandungan 087776558899
 

Kürzlich hochgeladen (15)

February 2024 Recommendations for newsletter
February 2024 Recommendations for newsletterFebruary 2024 Recommendations for newsletter
February 2024 Recommendations for newsletter
 
March 2023 Recommendations for newsletter
March 2023 Recommendations for newsletterMarch 2023 Recommendations for newsletter
March 2023 Recommendations for newsletter
 
Social Learning Theory presentation.pptx
Social Learning Theory presentation.pptxSocial Learning Theory presentation.pptx
Social Learning Theory presentation.pptx
 
the Husband rolesBrown Aesthetic Cute Group Project Presentation
the Husband rolesBrown Aesthetic Cute Group Project Presentationthe Husband rolesBrown Aesthetic Cute Group Project Presentation
the Husband rolesBrown Aesthetic Cute Group Project Presentation
 
Goregaon West Escorts 🥰 8617370543 Call Girls Offer VIP Hot Girls
Goregaon West Escorts 🥰 8617370543 Call Girls Offer VIP Hot GirlsGoregaon West Escorts 🥰 8617370543 Call Girls Offer VIP Hot Girls
Goregaon West Escorts 🥰 8617370543 Call Girls Offer VIP Hot Girls
 
Dadar West Escorts 🥰 8617370543 Call Girls Offer VIP Hot Girls
Dadar West Escorts 🥰 8617370543 Call Girls Offer VIP Hot GirlsDadar West Escorts 🥰 8617370543 Call Girls Offer VIP Hot Girls
Dadar West Escorts 🥰 8617370543 Call Girls Offer VIP Hot Girls
 
2023 - Between Philosophy and Practice: Introducing Yoga
2023 - Between Philosophy and Practice: Introducing Yoga2023 - Between Philosophy and Practice: Introducing Yoga
2023 - Between Philosophy and Practice: Introducing Yoga
 
Colaba Escorts 🥰 8617370543 Call Girls Offer VIP Hot Girls
Colaba Escorts 🥰 8617370543 Call Girls Offer VIP Hot GirlsColaba Escorts 🥰 8617370543 Call Girls Offer VIP Hot Girls
Colaba Escorts 🥰 8617370543 Call Girls Offer VIP Hot Girls
 
Girls in Mahipalpur (delhi) call me [🔝9953056974🔝] escort service 24X7
Girls in Mahipalpur  (delhi) call me [🔝9953056974🔝] escort service 24X7Girls in Mahipalpur  (delhi) call me [🔝9953056974🔝] escort service 24X7
Girls in Mahipalpur (delhi) call me [🔝9953056974🔝] escort service 24X7
 
Emotional Freedom Technique Tapping Points Diagram.pdf
Emotional Freedom Technique Tapping Points Diagram.pdfEmotional Freedom Technique Tapping Points Diagram.pdf
Emotional Freedom Technique Tapping Points Diagram.pdf
 
KLINIK BATA Jual obat penggugur kandungan 087776558899 ABORSI JANIN KEHAMILAN...
KLINIK BATA Jual obat penggugur kandungan 087776558899 ABORSI JANIN KEHAMILAN...KLINIK BATA Jual obat penggugur kandungan 087776558899 ABORSI JANIN KEHAMILAN...
KLINIK BATA Jual obat penggugur kandungan 087776558899 ABORSI JANIN KEHAMILAN...
 
SIKP311 Sikolohiyang Pilipino - Ginhawa.pptx
SIKP311 Sikolohiyang Pilipino - Ginhawa.pptxSIKP311 Sikolohiyang Pilipino - Ginhawa.pptx
SIKP311 Sikolohiyang Pilipino - Ginhawa.pptx
 
Pokemon Go... Unraveling the Conspiracy Theory
Pokemon Go... Unraveling the Conspiracy TheoryPokemon Go... Unraveling the Conspiracy Theory
Pokemon Go... Unraveling the Conspiracy Theory
 
Call Girls In Mumbai Just Genuine Call ☎ 7738596112✅ Call Girl Andheri East G...
Call Girls In Mumbai Just Genuine Call ☎ 7738596112✅ Call Girl Andheri East G...Call Girls In Mumbai Just Genuine Call ☎ 7738596112✅ Call Girl Andheri East G...
Call Girls In Mumbai Just Genuine Call ☎ 7738596112✅ Call Girl Andheri East G...
 
Exploring Stoic Philosophy From Ancient Wisdom to Modern Relevance.pdf
Exploring Stoic Philosophy From Ancient Wisdom to Modern Relevance.pdfExploring Stoic Philosophy From Ancient Wisdom to Modern Relevance.pdf
Exploring Stoic Philosophy From Ancient Wisdom to Modern Relevance.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?