SlideShare a Scribd company logo
OSPF Beyond
STUMP The CHUMP Interview Questions
Putting it into Your Network – Part -1 -
OSPF Neighbor Formation
OSPF Verification Commands
show ip protocols
show ip ospf int brief
show ip ospf router topology
show ip ospf neighbor
show ip route ospf
show ip ospf events LSA rib
sh ip ospf database external “prefix number”
So What Is Administrative Distance Versus OSPF Metric In
A Route Selection Decision?
Administrative Distance:
Determines what will be installed into the global
routing table when 2 different routing protocols have routes
to the same destination!
OSPF Metric:
Determines route that will be chosen when 2 different routers within
OSPF are advertising routes to the same destination!
Link State Advertisements
What are Those? Why are they Important?
So it is essential understand Link State Advertisements
LSA type 1 - Router LSAs are sent from a router to other routers in the same area. It contains information regarding the routers
interfaces in the same area, relevant interfaces IPs, its adjacent routers on those interfaces and sub networks
LSA type 2 - Network LSAs are generated by the DR on a multi access segment, and provides similar information to an LSA type
1 for the multi access segment and subnet which it belongs
LSA type 3 - Network Summary LSAs are generated by ABRs and contain the subnets & costs but omit the topological data from
all subnets in one area and sent to another area via the ABR
LSA type 4 -ASBR summary LSAs are from ASBRs and are identical in structure to a type 3 LSA and sent when crossing an AS
boundary
LSA type 5 -Are AS EXTERNAL LSAs which are originated by ASBRs and describe external networks
LSA type 6 - Is defined as a Group Membership LSA but not used in Cisco devices
LSA type 7 -NSSA External LSAs are generated by the ASBR in an NSSA area
LSA type 8 -Is defined as a External Attribute LSA but not used in Cisco devices
LSA types 9 to 11 - Defined as Opaque LSAs and are reserved for future expansion
LSA Types
Why Do I Need To Know Them?
 Complete Understanding of LSA Types Is The
Cornerstone To Understanding OSPF Areas
and OSPF Area Behaviors
 Complete Understanding of OSPF Area
Behaviors Is The Cornerstone of Good OSPF
Network Design and Traffic Flow
How Does OSPF Select Routes?
Let’s review …..
Regardless of a route’s metric or administrative distance,
OSPF will choose routes in the following order:
1st) Intra-Area (O)
2nd) Inter-Area (O IA)
3rd) External Type 1 (E1)
4th) External Type 2 (E2)
5th) NSSA Type 1 (N1)
6th) NSSA Type 2 (N2)
So What Type of LSA Does Each OSPF Area Have?
Area Type Router
LSA
Network
LSA
Network Summary
LSA
External
LSA
NSSA
LSA
Default
Route
Backbone 1 2 3 4 5
Stub 1 2 3 0/0 as Type 3
Totally Stub 1 2 0/0 as Type 3
NSSA 1 2 3 7 (Replaces 5)
Understand Why?
No Automatic
0/0
Totally NSSA 1 2 7 (Replaces 5)
Understand Why?
If you use "default-information originate" on NSSA command Line, it will come in as an N2 route
Separate default-information originate command line brings in the 0/0 as an E2 or N2 route depending
on area type.
Default Route and LSA Type Generated By Each OSPF
Special Area:
The Stub areas that put in a 0/0 default route
Stub Area Automatic 0/0 as a type 3
Totally Stub Area Automatic 0/0 as a type 3
Not So Stubby Area NO automatic 0/0
Total NSSA Automatic 0/0 as a type 3
And LSA Type 3 is What? LSA type 3 - Network Summary LSAs are generated
by ABRs and contain the subnets & costs but omit the topological data from all subnets in one area and sent to
another area via the ABR
LSA Type 1 (Router LSA)
Generated by all routers in an area to describe their directly attached
links (Intra-area routes). These do not leave the area.
LSA Type 2 (Network LSA)
Generated by the DR of a broadcast or Nonbroadcast segment to
describe the neighbors connected to the segment. These do not
leave the area.
LSA Type 3 (Summary LSA)
Generated by the ABR to describe a route to neighbors outside the
area. (Inter-area routes)
LSA Type 4 (Summary LSA)
Generated by the ABR to describe a route to an ASBR to neighbors
outside the area.
LSA Type 5 (External LSA)
{Redistribution}
Generated by ASBR to describe routes redistributed into the area.
These routes appear as E1 or E2 in the routing table.
E2 (default) uses a static cost throughout the OSPF domain as it only
takes the cost into account that is reported at redistribution.
E1 (always preferred) uses a cumulative cost of the cost reported into
the OSPF domain at redistribution plus the local cost to the ASBR.
LSA Type 6 (Multicast LSA)
Not supported on Cisco routers
NOT Every Router on the Internet was made by Cisco
LSA Type 7 (NSSA LSA)
Generated by an ASBR inside a NSSA to describe routes redistributed
into the NSSA. LSA 7 is translated into LSA 5 as it leaves the
NSSA. These routes appear as N1 or N2 in the ip routing table
inside the NSSA. Much like LSA 5, N2 is a static cost while N1 is a
cumulative cost that includes the cost up to the ASBR.
So What Type of LSA Does Each OSPF Area Have?
Area Type Router
LSA
Network
LSA
Network Summary
LSA
External
LSA
NSSA
LSA
Default
Route
Backbone 1 2 3 4 5
Stub 1 2 3 0/0 as Type 3
Totally Stub 1 2 0/0 as Type 3
NSSA 1 2 3 7 (Replaces 5)
Understand Why?
No Automatic
0/0
Totally NSSA 1 2 7 (Replaces 5)
Understand Why?
If you use "default-information originate" on NSSA command Line, it will come in as an N2 route
Separate default-information originate command line brings in the 0/0 as an E2 or N2 route depending
on area type.
OSPF LSA Types Explained
OSPF Verification Commands
show ip protocols
show ip ospf int brief
show ip ospf router topology
show ip ospf neighbor
show ip route ospf
show ip ospf events LSA rib
sh ip ospf database external “prefix number”

More Related Content

PPT
OSPF LSA Types Explained
PPTX
LSA (Link State Advertisement) Types Explanation
PPTX
OSPF External Route Summarization
PPTX
OSPF Router LSA (Type 1)
PPTX
OSPF Network LSA (Type 2 LSA)
PPTX
Ospf area types
PPTX
Ospf area types
PPTX
OSPF Summary LSA (Type 3 LSA)
OSPF LSA Types Explained
LSA (Link State Advertisement) Types Explanation
OSPF External Route Summarization
OSPF Router LSA (Type 1)
OSPF Network LSA (Type 2 LSA)
Ospf area types
Ospf area types
OSPF Summary LSA (Type 3 LSA)

What's hot (20)

PPTX
Multi-Area OSPF on IOS XR
PPTX
OSPFv2 on IOS XR
PDF
Networking Basics OSPF
PPTX
OSPF Summarization
PPT
OSPF Overview
PPTX
Multi-area ospf adjacency on ios-xr
PPTX
Layer 2 switching loop
PPTX
OSPF Internal Route Summarization
PPTX
Designated & Backup Designated Router
PPTX
Connected, Static & Dynamic Routes
PPT
OSPF summary & Differences between OSPF and EIGRP
PPSX
RIP - Routing Information Protocol
PPTX
IS-IS Protocol Adjacency
PPT
EIGRP Authentication & Load Balancing
PPTX
IS-IS Protocol Introduction
PPTX
Layer 2 switching
PPT
EIGRP Automatic & Manual Summarization
PPTX
IS-IS Packet Types
PPT
An intoroduction to the IS-IS IGP routing protocol
PPT
Is Is Routing Protocol
Multi-Area OSPF on IOS XR
OSPFv2 on IOS XR
Networking Basics OSPF
OSPF Summarization
OSPF Overview
Multi-area ospf adjacency on ios-xr
Layer 2 switching loop
OSPF Internal Route Summarization
Designated & Backup Designated Router
Connected, Static & Dynamic Routes
OSPF summary & Differences between OSPF and EIGRP
RIP - Routing Information Protocol
IS-IS Protocol Adjacency
EIGRP Authentication & Load Balancing
IS-IS Protocol Introduction
Layer 2 switching
EIGRP Automatic & Manual Summarization
IS-IS Packet Types
An intoroduction to the IS-IS IGP routing protocol
Is Is Routing Protocol
Ad

Similar to OSPF Beyond Stump-the-Chump_Interview_Questions - Part 01 - (20)

PDF
Ospf routing protocol
PPTX
PPT
Menggali Lebih Dalam tentang OSPF: Protokol Routing Dinamis yang Efisien.ppt
PPT
ospf.ppt
PPT
Routing and OSPF
PDF
OSPFv3_Technology_White_Paper.pdf
PPTX
ch2_p3_ospf.pptx
PPT
3324781.pptgvgvvhghghghghygygtftdtfggggg
PPT
C C N A Day3
PDF
Single-Area OSPFv2 Concepts.pdf
PPTX
CCNP ROUTE V7 CH3
PDF
Osp fv3 cs
PDF
Cisco ospf
PPTX
Allwyn ospf ppt
PPTX
CCNP v6 Route: Implementing IP Routing Chapter 3
PDF
Cisco ospf
PPT
BSCI30S03 OSPF open shortest path first .ppt
PPTX
ENCOR_Chapter_10 - OSPFv3 Attribution.pptx
PPTX
Ccna ppt1
Ospf routing protocol
Menggali Lebih Dalam tentang OSPF: Protokol Routing Dinamis yang Efisien.ppt
ospf.ppt
Routing and OSPF
OSPFv3_Technology_White_Paper.pdf
ch2_p3_ospf.pptx
3324781.pptgvgvvhghghghghygygtftdtfggggg
C C N A Day3
Single-Area OSPFv2 Concepts.pdf
CCNP ROUTE V7 CH3
Osp fv3 cs
Cisco ospf
Allwyn ospf ppt
CCNP v6 Route: Implementing IP Routing Chapter 3
Cisco ospf
BSCI30S03 OSPF open shortest path first .ppt
ENCOR_Chapter_10 - OSPFv3 Attribution.pptx
Ccna ppt1
Ad

More from Duane Bodle (11)

DOCX
SIP PRIMER
PDF
Cisco ASA Firewall Interview Question "aka Stump-the-Chump" Question # 01
DOCX
Project Business Case and Capital Justification for Implementation of Applica...
DOCX
Surviving The Stump The Chump Interview Questions
PDF
Troubleshooting BGP
PPTX
DBodle QoS Exam Study Notes
DOCX
Regular Expression Patterns
DOCX
Basic BGP Trouble Shooting Candidate Screening
DOC
Study Notes BGP Exam
DOCX
Cisco BGP Exam 642-661 Review Notes
PPT
Cisco Exam # 642 611 Mpls Study Notes
SIP PRIMER
Cisco ASA Firewall Interview Question "aka Stump-the-Chump" Question # 01
Project Business Case and Capital Justification for Implementation of Applica...
Surviving The Stump The Chump Interview Questions
Troubleshooting BGP
DBodle QoS Exam Study Notes
Regular Expression Patterns
Basic BGP Trouble Shooting Candidate Screening
Study Notes BGP Exam
Cisco BGP Exam 642-661 Review Notes
Cisco Exam # 642 611 Mpls Study Notes

Recently uploaded (20)

PPTX
Internet___Basics___Styled_ presentation
PDF
Automated vs Manual WooCommerce to Shopify Migration_ Pros & Cons.pdf
PPTX
June-4-Sermon-Powerpoint.pptx USE THIS FOR YOUR MOTIVATION
PPTX
Power Point - Lesson 3_2.pptx grad school presentation
PDF
Vigrab.top – Online Tool for Downloading and Converting Social Media Videos a...
PPTX
Funds Management Learning Material for Beg
PPTX
522797556-Unit-2-Temperature-measurement-1-1.pptx
PDF
Decoding a Decade: 10 Years of Applied CTI Discipline
PPTX
PptxGenJS_Demo_Chart_20250317130215833.pptx
PPTX
Introduction about ICD -10 and ICD11 on 5.8.25.pptx
PDF
Sims 4 Historia para lo sims 4 para jugar
PDF
💰 𝐔𝐊𝐓𝐈 𝐊𝐄𝐌𝐄𝐍𝐀𝐍𝐆𝐀𝐍 𝐊𝐈𝐏𝐄𝐑𝟒𝐃 𝐇𝐀𝐑𝐈 𝐈𝐍𝐈 𝟐𝟎𝟐𝟓 💰
PDF
APNIC Update, presented at PHNOG 2025 by Shane Hermoso
PPT
tcp ip networks nd ip layering assotred slides
PDF
Testing WebRTC applications at scale.pdf
PPTX
international classification of diseases ICD-10 review PPT.pptx
PPTX
innovation process that make everything different.pptx
PPTX
E -tech empowerment technologies PowerPoint
PDF
Introduction to the IoT system, how the IoT system works
PDF
The New Creative Director: How AI Tools for Social Media Content Creation Are...
Internet___Basics___Styled_ presentation
Automated vs Manual WooCommerce to Shopify Migration_ Pros & Cons.pdf
June-4-Sermon-Powerpoint.pptx USE THIS FOR YOUR MOTIVATION
Power Point - Lesson 3_2.pptx grad school presentation
Vigrab.top – Online Tool for Downloading and Converting Social Media Videos a...
Funds Management Learning Material for Beg
522797556-Unit-2-Temperature-measurement-1-1.pptx
Decoding a Decade: 10 Years of Applied CTI Discipline
PptxGenJS_Demo_Chart_20250317130215833.pptx
Introduction about ICD -10 and ICD11 on 5.8.25.pptx
Sims 4 Historia para lo sims 4 para jugar
💰 𝐔𝐊𝐓𝐈 𝐊𝐄𝐌𝐄𝐍𝐀𝐍𝐆𝐀𝐍 𝐊𝐈𝐏𝐄𝐑𝟒𝐃 𝐇𝐀𝐑𝐈 𝐈𝐍𝐈 𝟐𝟎𝟐𝟓 💰
APNIC Update, presented at PHNOG 2025 by Shane Hermoso
tcp ip networks nd ip layering assotred slides
Testing WebRTC applications at scale.pdf
international classification of diseases ICD-10 review PPT.pptx
innovation process that make everything different.pptx
E -tech empowerment technologies PowerPoint
Introduction to the IoT system, how the IoT system works
The New Creative Director: How AI Tools for Social Media Content Creation Are...

OSPF Beyond Stump-the-Chump_Interview_Questions - Part 01 -

  • 1. OSPF Beyond STUMP The CHUMP Interview Questions Putting it into Your Network – Part -1 - OSPF Neighbor Formation
  • 2. OSPF Verification Commands show ip protocols show ip ospf int brief show ip ospf router topology show ip ospf neighbor show ip route ospf show ip ospf events LSA rib sh ip ospf database external “prefix number”
  • 3. So What Is Administrative Distance Versus OSPF Metric In A Route Selection Decision? Administrative Distance: Determines what will be installed into the global routing table when 2 different routing protocols have routes to the same destination! OSPF Metric: Determines route that will be chosen when 2 different routers within OSPF are advertising routes to the same destination!
  • 4. Link State Advertisements What are Those? Why are they Important? So it is essential understand Link State Advertisements LSA type 1 - Router LSAs are sent from a router to other routers in the same area. It contains information regarding the routers interfaces in the same area, relevant interfaces IPs, its adjacent routers on those interfaces and sub networks LSA type 2 - Network LSAs are generated by the DR on a multi access segment, and provides similar information to an LSA type 1 for the multi access segment and subnet which it belongs LSA type 3 - Network Summary LSAs are generated by ABRs and contain the subnets & costs but omit the topological data from all subnets in one area and sent to another area via the ABR LSA type 4 -ASBR summary LSAs are from ASBRs and are identical in structure to a type 3 LSA and sent when crossing an AS boundary LSA type 5 -Are AS EXTERNAL LSAs which are originated by ASBRs and describe external networks LSA type 6 - Is defined as a Group Membership LSA but not used in Cisco devices LSA type 7 -NSSA External LSAs are generated by the ASBR in an NSSA area LSA type 8 -Is defined as a External Attribute LSA but not used in Cisco devices LSA types 9 to 11 - Defined as Opaque LSAs and are reserved for future expansion
  • 5. LSA Types Why Do I Need To Know Them?  Complete Understanding of LSA Types Is The Cornerstone To Understanding OSPF Areas and OSPF Area Behaviors  Complete Understanding of OSPF Area Behaviors Is The Cornerstone of Good OSPF Network Design and Traffic Flow
  • 6. How Does OSPF Select Routes? Let’s review ….. Regardless of a route’s metric or administrative distance, OSPF will choose routes in the following order: 1st) Intra-Area (O) 2nd) Inter-Area (O IA) 3rd) External Type 1 (E1) 4th) External Type 2 (E2) 5th) NSSA Type 1 (N1) 6th) NSSA Type 2 (N2)
  • 7. So What Type of LSA Does Each OSPF Area Have? Area Type Router LSA Network LSA Network Summary LSA External LSA NSSA LSA Default Route Backbone 1 2 3 4 5 Stub 1 2 3 0/0 as Type 3 Totally Stub 1 2 0/0 as Type 3 NSSA 1 2 3 7 (Replaces 5) Understand Why? No Automatic 0/0 Totally NSSA 1 2 7 (Replaces 5) Understand Why? If you use "default-information originate" on NSSA command Line, it will come in as an N2 route Separate default-information originate command line brings in the 0/0 as an E2 or N2 route depending on area type.
  • 8. Default Route and LSA Type Generated By Each OSPF Special Area: The Stub areas that put in a 0/0 default route Stub Area Automatic 0/0 as a type 3 Totally Stub Area Automatic 0/0 as a type 3 Not So Stubby Area NO automatic 0/0 Total NSSA Automatic 0/0 as a type 3 And LSA Type 3 is What? LSA type 3 - Network Summary LSAs are generated by ABRs and contain the subnets & costs but omit the topological data from all subnets in one area and sent to another area via the ABR
  • 9. LSA Type 1 (Router LSA) Generated by all routers in an area to describe their directly attached links (Intra-area routes). These do not leave the area.
  • 10. LSA Type 2 (Network LSA) Generated by the DR of a broadcast or Nonbroadcast segment to describe the neighbors connected to the segment. These do not leave the area.
  • 11. LSA Type 3 (Summary LSA) Generated by the ABR to describe a route to neighbors outside the area. (Inter-area routes)
  • 12. LSA Type 4 (Summary LSA) Generated by the ABR to describe a route to an ASBR to neighbors outside the area.
  • 13. LSA Type 5 (External LSA) {Redistribution} Generated by ASBR to describe routes redistributed into the area. These routes appear as E1 or E2 in the routing table. E2 (default) uses a static cost throughout the OSPF domain as it only takes the cost into account that is reported at redistribution. E1 (always preferred) uses a cumulative cost of the cost reported into the OSPF domain at redistribution plus the local cost to the ASBR.
  • 14. LSA Type 6 (Multicast LSA) Not supported on Cisco routers NOT Every Router on the Internet was made by Cisco
  • 15. LSA Type 7 (NSSA LSA) Generated by an ASBR inside a NSSA to describe routes redistributed into the NSSA. LSA 7 is translated into LSA 5 as it leaves the NSSA. These routes appear as N1 or N2 in the ip routing table inside the NSSA. Much like LSA 5, N2 is a static cost while N1 is a cumulative cost that includes the cost up to the ASBR.
  • 16. So What Type of LSA Does Each OSPF Area Have? Area Type Router LSA Network LSA Network Summary LSA External LSA NSSA LSA Default Route Backbone 1 2 3 4 5 Stub 1 2 3 0/0 as Type 3 Totally Stub 1 2 0/0 as Type 3 NSSA 1 2 3 7 (Replaces 5) Understand Why? No Automatic 0/0 Totally NSSA 1 2 7 (Replaces 5) Understand Why? If you use "default-information originate" on NSSA command Line, it will come in as an N2 route Separate default-information originate command line brings in the 0/0 as an E2 or N2 route depending on area type.
  • 17. OSPF LSA Types Explained
  • 18. OSPF Verification Commands show ip protocols show ip ospf int brief show ip ospf router topology show ip ospf neighbor show ip route ospf show ip ospf events LSA rib sh ip ospf database external “prefix number”