資源描述:
《實驗4 配置多區(qū)域ospf》由會員上傳分享,免費在線閱讀,更多相關(guān)內(nèi)容在教育資源-天天文庫。
1、實驗4配置多區(qū)域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二、調(diào)試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.查看鏈路狀態(tài)數(shù)據(jù)庫//查看R1上的鏈路狀態(tài)數(shù)據(jù)庫R1(conf
8、ig-router)#doshiposdaOSPFRouterwithID(1.1.1.1)(ProcessID1)RouterLinkStates(