OSPF 多区域配置

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了OSPF 多区域配置相关的知识,希望对你有一定的参考价值。

OSPF不使用TCP或UDP,它承载在IP数据包内
OSPF组播地址:224.0.0.5--公告 224.0.0.6--监听
OSPF协议号89
·
链路状态数据库中的每个条目都称为LSA(链路状态通告)
·
常见LSA有六种
LSA1:路由LSA,最基本的LSA通告
LSA2:网络LSA,由DR发出
LSA3:网络汇总LSA,由ABR始发
LSA4:ASBR网络汇总LSA,由ABR始发
LSA5:外部LSA路由重分发,始发于ASBR
LSA7:NSSA外部LSA,始发于ASBR
·
技术分享图片
R1(config)#router ospf 1
R1(config-router)#router-id 1.1.1.1
R1(config-router)#network 1.1.1.1 0.0.0.0 area 0
R1(config-router)#network 12.0.0.0 0.0.0.255 area 0
·
R2(config)#router ospf 1
R2(config-router)#router-id 2.2.2.2
R2(config-router)#network 2.2.2.2 0.0.0.0 area 0
R2(config-router)#network 12.0.0.0 0.0.0.255 area 0
R2(config-router)#network 13.0.0.0 0.0.0.255 area 1
R2(config-router)#network 14.0.0.0 0.0.0.255 area 2
·
R3(config)#router ospf 1
R3(config-router)#router-id 3.3.3.3
R3(config-router)#network 3.3.3.3 0.0.0.0 area 1
R3(config-router)#network 13.0.0.0 0.0.0.255 area 1
·
R4(config)#router ospf 1
R4(config-router)#router-id 4.4.4.4
R4(config-router)#network 4.4.4.4 0.0.0.0 area 2
R4(config-router)#network 14.0.0.0 0.0.0.255 area 2

以上是关于OSPF 多区域配置的主要内容,如果未能解决你的问题,请参考以下文章

OSPF 多区域配置

笔记 OSPF多区域配置 STUB区域 路由重分发 NSSA区域配置

OSPF多区域配置

划分OSPF多区域配置

OSPF路由协议之多区域的原理与配置

OSPF多区域配置:stubnssa虚链路路由重分发