# 谈起 ospf(开放式最短路径优先), 首先它是一种链路状态路由协议
它的工作过程主要有以下几点 :
# 建立邻居表
hello : 仅仅使用 hello 报文, 发现邻居
ospf 路由仅仅只在 ospf 路由器之间进行转换
邻居状态:
down : 初始化
init: 表明已经收到 hello 包, 但是双向会话还没有建立
2way: 表明双向会话已经建立
exstart : 信息交换初始状态
exchange : 信息交换
loading : 信息加载
full : 双向完全建立
同步数据库
:lsa : 链路状态通告, 同步数据库
计算路由表
# ospf 报文
dbd datebase description : 数据库描述报文
lsu link state update : 链路状态更新报文
lsr link state request : 链路状态请求报文
lsack link state ack : 链路状态确认报文
来源: http://www.bubuko.com/infodetail-2480142.html