How ospf works
# talking about ospf (Open shortest path first), first of all, it is a link-state routing protocol
Its working process mainly has the following points:
# create a neighbor table
Hello: using only hello messages to find neighbors, for neighbor establishment, maintenance, and demolition
Ospf routes are only translated between ospf routers
Neighbor status:
Down: the port does not have ospf protocol enabled
Init: initialization statu
2way: indicates two-way communication status
Exstart: initial state of information exchange
Exchange: information exchange
Loading: information loading
Full: full adjacency statu
Synchronize database
: lsa: link-state advertisements, synchronizing databases
Calculate the routing tabl
# ospf message
Dbd datebase description: database description message, used to achieve reliable database synchronization
Lsu link state update: link-state update message for updating database entries
Lsr link state request: link-state request message, which is used to request database entries
Lsack link state ack: link-state acknowledgement message to achieve reliable message transmission
_
End