
本文共 1794 字,大约阅读时间需要 5 分钟。
华为OSPF多区域+路由重发布/路由引入
废话多不多上拓扑
拓扑
先根据拓扑配置好IP地址
AR1
interface GigabitEthernet0/0/0
ip address 10.1.1.1 255.255.255.0
interface GigabitEthernet0/0/1
ip address 14.1.1.1 255.255.255.0
interface LoopBack0
ip address 1.1.1.1 255.255.255.0
ospf 100 router-id 1.1.1.1
area 0.0.0.0
network 1.1.1.1 0.0.0.0
network 10.1.1.1 0.0.0.0area 0.0.0.1
network 14.1.1.1 0.0.0.0
AR2
interface GigabitEthernet0/0/0
ip address 10.1.1.2 255.255.255.0
interface GigabitEthernet0/0/1
ip address 25.1.1.2 255.255.255.0
interface LoopBack0
ip address 2.2.2.2 255.255.255.0
ospf 100 router-id 2.2.2.2
area 0.0.0.0
network 2.2.2.2 0.0.0.0
network 10.1.1.2 0.0.0.0area 0.0.0.2
network 25.1.1.2 0.0.0.0
AR3
interface GigabitEthernet0/0/0
ip address 10.1.1.3 255.255.255.0
interface LoopBack0
ip address 3.3.3.3 255.255.255.0
ospf 100 router-id 3.3.3.3
area 0.0.0.0
network 3.3.3.3 0.0.0.0
network 10.1.1.3 0.0.0.0
AR4
interface GigabitEthernet0/0/1
ip address 14.1.1.4 255.255.255.0
interface LoopBack0
ip address 4.4.4.4 255.255.255.0
ospf 100 router-id 4.4.4.4
area 0.0.0.1
network 4.4.4.4 0.0.0.0
network 14.1.1.4 0.0.0.0
AR5
interface GigabitEthernet0/0/0
ip address 56.1.1.5 255.255.255.0
interface GigabitEthernet0/0/1
ip address 25.1.1.5 255.255.255.0
interface LoopBack0
ip address 5.5.5.5 255.255.255.0
ospf 100 router-id 5.5.5.5
import-route rip 100
area 0.0.0.2network 5.5.5.5 0.0.0.0
network 25.1.1.5 0.0.0.0rip 100
undo summary
version 2 network 56.0.0.0 import-route ospf 100
AR6
interface GigabitEthernet0/0/0
ip address 56.1.1.6 255.255.255.0
interface LoopBack0
ip address 6.6.6.6 255.255.255.0
rip 100
undo summary
version 2 network 56.0.0.0 network 6.0.0.0
通过display ospf lsdb查看LSA信息
通过display ospf routing查看ospf路由 通过display ip routing-table查看路由信息 通过ping 检查连通性 就这样 拜拜 不知道什么是LSA得 可以查阅我得另一篇博文,OSPF1-5类LSA发表评论
最新留言
关于作者
