Documente Academic
Documente Profesional
Documente Cultură
OSPF chapter 3
Triggered updates (LSAs) Periodic updates every 30 minutes (link state refresh) Increment in sequence number indicates change
Databases
Area
Backbone
Regular
Neighbors
Hellos Multicast On broadcast networks: form adjacencies with DR and BDR On P2P serial links become adjacent NBMA coming up!
To become neighbors
Hello and Dead interval Area ID Authentication Password Stub area flag
LSAs
Metric
OSPF packets
OSPF States
When an OSPF router is initially connected to a network it attempts to create adjacencies with neighbors. To do so, it progresses through these various states using the 5 OSPF packet types.
Two-Way State
Database Synchronization
ExStart State
More LSAs required Yes Negotiate master / slave relationship and DBD packet sequence number
No
Exchange State
DBD exchanged as LSAs are requested and sent Transit to either Loading or Full state after completing the database description
Loading State
Newly learned routes are asked for and current database is being processed
R1
Fa0/0
R2
Down State
Attempt State
Init State
Hello
Hello
Two-Way State
R1
Fa0/0
I will start the exchange because I have router ID 172.16.5.1.
R2
ExStart State
Hello
No, I will start the exchange because I have a higher router ID.
Hello DBD
Exchange State
DBD
LSAck
Loading State
LSAck
LSR
Here is the entry for 172.16.6.0/24. Thanks for the information! LSAck
LSU
Full State
A router (DROTHER) contacts the DR at address 224.0.0.6 with the change. DR forwards to 224.0.0.5 to all routers Routers respond with a LSAck
Router id
1.
2.
3.
Verifying OSPF
Command
show ip protocols
show ip ospf neighbors show ip route show ip ospf interface
Description
Displays OSPF process ID, router ID, networks router is advertising & administrative distance Displays OSPF neighbor relationships. Displays the routing table. Displays hello interval and dead interval Displays OSPF process ID, router ID, OSPF area information & the last time SPF algorithm calculated
show ip ospf
The OSPF state of the interface. FULL state means that the router and its neighbor have identical OSPF link-state databases.
The IP address of the neighbor's interface to which this router is directly connected.
The amount of time remaining that the router will wait to receive an OSPF Hello packet from the neighbor before declaring the neighbor down.
R1#
clear all routes from the IP routing table, use: clear a specific route from the IP routing table, use:
DR and BDR
On a broadcast network
Layer 2 MPLS VPN backbone and the provider routers are not visible to the customer routers.
A neighbor relationship is established directly between OSPF enabled routers over the MPLS backbone, and behaves in the same way as on an Ethernet broadcast network therefore DR and BDR routers are elected.