ospf实验
目录
步骤三:在R3上查看邻居表 、ospf路由表、ospf数据库
建立拓扑
步骤一:配置ip地址以及环回接口
R1
R2
R3
R4
步骤二:ospf基础配置
R1
R2
R3
R4
步骤三:在R3上查看邻居表 、ospf路由表、ospf数据库
[r3]display ospf peer brief
[r3]display ip routing-table protocol ospf
[r3]display ospf lsdb
步骤四:进入参选接口修改优先级
[r1]int g0/0/0
[r1-GigabitEthernet0/0/0]ospf dr-priority 0
[r2]int g0/0/0
[r2-GigabitEthernet0/0/0]ospf dr-priority 0
可以看出r3为dr ,没有bdr
步骤五:给R4配置缺省路由
[r4]ospf 1 router-id 4.4.4.4
[r4-ospf-1]default-route-advertise always
从R1ping 4.4.4.4 通了
步骤六:ospf认证
[r1]int g0/0/0
[r1-GigabitEthernet0/0/0]ospf authentication-mode md5 1 cipher 258000
[r2]int g0/0/0
[r2-GigabitEthernet0/0/0]ospf authentication-mode md5 1 cipher 123456
[r3]int g0/0/0
[r3-GigabitEthernet0/0/0]ospf authentication-mode md5 1 cipher 123123
步骤七:ospf汇总、空接口
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
THE END
二维码