欢迎来到天天文库
浏览记录
ID:1760972
大小:92.50 KB
页数:5页
时间:2017-11-13
《实验4 配置多区域ospf》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、实验4配置多区域OSPF一、初始配置:R1(config-line)#ints2/1R1(config-if)#ipadd12.0.0.1255.255.255.0R1(config-if)#noshR1(config-if)#intlo0R1(config-if)#ipadd1.1.1.1255.255.255.0R2(config-if)#ints2/2R2(config-if)#ipadd23.0.0.2255.255.255.0R2(config-if)#noshR2(config-if)#ints2/1R2(config-if)#ip
2、add12.0.0.2255.255.255.0R2(config-if)#noshR2(config-if)#intlo0R2(config-if)#ipadd2.2.2.2R3(config-line)#ints2/2R3(config-if)#ipadd34.0.0.3255.255.255.0R3(config-if)#noshR3(config-if)#ints2/1R3(config-if)#ipadd23.0.0.3255.255.255.0R3(config-if)#noshR3(config-if)#intlo0R3(conf
3、ig-if)#ipadd3.3.3.3255.255.255.0R4(config-line)#ints2/1R4(config-if)#ipadd34.0.0.4255.255.255.0R4(config-if)#noshR4(config-if)#intlo0R4(config-if)#ipadd4.4.4.4255.255.255.0一、实验配置://配置R1R1(config-if)#routeros1R1(config-router)#network12.0.0.1255.255.255.255area1R1(config-rout
4、er)#network1.1.1.1255.255.255.255area1//配置R2R2(config-if)#routeros1R2(config-router)#net12.0.0.2255.255.255.255a1R2(config-router)#net23.0.0.2255.255.255.255a0R2(config-router)#net2.2.2.2255.255.255.255a0//配置R3R3(config-if)#routeros1R3(config-router)#net23.0.0.3255.255.255.2
5、55a0R3(config-router)#net34.0.0.3255.255.255.255a2R3(config-router)#net3.3.3.3255.255.255.255a0//配置R4R4(config)#routeros1R4(config-router)#net34.0.0.4255.255.255.255a2R4(config-router)#net4.4.4.4255.255.255.255a2二、调试1.查看OSPF邻居//查看R1的OSPF邻居R1(config-router)#doshiposneNeighbor
6、IDPriStateDeadTimeAddressInterface2.2.2.20FULL/-00:00:3912.0.0.2Serial2/1//查看R2的OSPF邻居R2(config-router)#doshiposneNeighborIDPriStateDeadTimeAddressInterface3.3.3.30FULL/-00:00:3223.0.0.3Serial2/21.1.1.10FULL/-00:00:3012.0.0.1Serial2/1//查看R3的OSPF邻居R3(config-router)#doshiposne
7、NeighborIDPriStateDeadTimeAddressInterface2.2.2.20FULL/-00:00:3623.0.0.2Serial2/14.4.4.40FULL/-00:00:3134.0.0.4Serial2/2//查看R4的OSPF邻居R4(config-router)#doshiposneNeighborIDPriStateDeadTimeAddressInterface3.3.3.30FULL/-00:00:3334.0.0.3Serial2/11.查看链路状态数据库//查看R1上的链路状态数据库R1(conf
8、ig-router)#doshiposdaOSPFRouterwithID(1.1.1.1)(ProcessID1)RouterLinkStates(
此文档下载收益归作者所有