Get the App
SLTechnology News&Howtos  ›  Servers  › 

How ospf works

Shulou Source: shulou.com Published: 2022-06-02 16:01:11 09月22日 Update

# 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

Tags: Status message data database link route neighbor information synchronization entry update work inter bidirectional open port router process advertisement transmission Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno MariaDB MySQL Linux Docker Xiaomi