You are on page 1of 12

Open Shortest

Path First
Myat Kaung Kyaw (T9K)
Overview

• OS P F – l i n k s t at e r u nn i n g pr ot o co l
• L i n k – r o u t er i n t e rf ace
• S t at e – d es cr i pt i o n o f a n i n t er fac e an d i t s r el a t i on s h i p t o n ei g h bo ri n g r ou t er s
( co l l ec t i on of al l l i nk s t a t e f or m t o p ol o gi cal da t ab as e o r l i n k s t at e da t a ba s e)
• C re at es ne i g h bo r r el at i o ns h i p 2 2 4.0 .0 .5 / 6 o r u ni ca s t
• Resides directly on top of IP
• Does not use TCP or UDP for updates
• Protocol ID 89
• Resides at layer 3
• Dependent on are 0 or 0.0.0.0 (backbone area)
• N e i g h b o r Ta b l e , To p o l o g y Ta b l e ( L S D B ) , R o u t i n g Ta b l e
• Hello, Database Description (LSA, LSR, LSU, LSAck)
• OSPF user Hierarchy (more than 1 area, backbone area)
• Internal, Backbone, ABR, ASBR
Neighbor Adjacencies Hello Packet
Field Must be the same?
Router ID (highest IP, Loop or Manual give)
Hello and dead intervals (10,40) Yes
Neighbors
Area ID Yes
Router priority
DR IP address
BDR IP address
Authentication password Yes
Stub are flag Yes
DR is used to broadcast multi access environment. (1) highest priority (0-255), (2) router id. 224.0.0.6 (receive) 224.0.0.5 ( send update). No
Preempt feature. Cost : Default reference bandwidth = 10*8 (now highest)
Cost = 10*8 / bandwidth. E1 routes indicate cumulative cost to reach the destination i.e. int indicates cost to reach ASBR + cost to destination
from ASBR. E2 route reflects cost only from the ASBR to destination. This is the default used by ospf for redistribution.
OSPF States
OSPF Network Types
LSA Types

LSA Type 1 = Router LSA LSA Type 2 = Network LSA


• Tell detail about myself to other • Tell detail about routers that are
• Generated by every routers connected him
• Same Area • Generated by DR
R1 # sh ip ospf database router • Same Area
R1 # sh ip route ospf R1 # sh ip ospf database network
LSA Types

LSA Type 3 = Summary LSA LSA Type 4 = ASBR Summary


• Tell information from other areas • Indicate location ASBR (Who is
• Generated by ABR ASBR.)
• Summary internal network • Generated by ABR
topology (OSPF different areas) R1 # sh ip ospf database asbr-
R1 # sh ip ospf database summary
summary
R1 # sh ip route ospf
LSA Types

LSA Type 5 = Autonomous LSA Type 7 = Not-so-stubby area


system external LSA LSA
• Tell External Route information • Tell External Routes but it is not
• Generated by ASBR type 5 .
R1 # sh ip ospf database external • Generated by ASBR
R1 # sh ip route ospf R1 # sh ip ospf database nssa-
external
R1 # sh ip route ospf
Virtual Link

R1 (config)#router ospf 1
R1 (config-router)# area 1 virtual-link 2.2.2.2
R2 (config)#router ospf 1
R2 (config-router)# area 1 virtual-link 1.1.1.1
Finished
Thank you!

You might also like