資源描述:
《rcna實驗14OSPF單區(qū)域配置》由會員上傳分享,免費在線閱讀,更多相關內(nèi)容在工程資料-天天文庫。
1、實驗14OSPF單區(qū)域配置一、【實驗目的】配置OSPF單區(qū)域?qū)嶒?,實現(xiàn)簡單的OSPF配置二、【實驗拓撲】1841Router2三、【實驗步驟】步驟1在路由器上配置IP地址RA(config)#intf0/0RA(config-if)#ipaddRA(config-if)#ipaddress192.168.20.1255.255.255.0RA(config-if)#noshutRB(config)#intf0/0RB(config-if)#ipaddress192.168.20.2255.255.255.0RB(config-if)#noshuRB(config-if)#intf0
2、/1RB(config-if)#ipaddress192.168.10.1255.255.255.0RB(config-if)#noshutRC(config)#intf0/1RC(config-if)#ipaddress192.168.10.2255.255.255.0RC(config-if)#noshut步驟2配置OSPFRA(config)#routerospf10RA(config-router)#netRA(config-router)#network192.168.20.00.0.0.3area0RB(config)#routerospf10RB(config-rou
3、ter)#netwRB(config-router)#network192.168.20.20.0.0.3area0RB(config-router)#network192.168.10.10.0.0.3area0RC(config)#routerospf10RC(config-router)#network192.168.10.00.0.0.3area0VlanlunassignedYESunsetadministrativelydowndown步驟4驗證測試RA#showipinterfacebriefInterfaceIP-AddressOK?MethodStatusProt
4、ocolFastEthernetO/O192.168.20.1YESmanualupupFastEthernetO/1unassignedYESunsetadministrativelydowndownVlanlunassignedYESunsetadministrativelydowndownRB#showipinterfacebriefInterfaceIP-AddressOK?MethodStatusProtocolFastEthernetO/O192.168.20.2YESmanualupupFastEthernetO/1192.168.10.1YESmanualupupR
5、C#showipinterfacebriefInterfaceIP-AddressOK?MethodStatusProtocolFastEthernetO/OunassignedYESunsetadministrativelydowndownFastEthernetO/1192.168.10.2YESmanualupupVlanlunassignedYESunsetadministrativelydowndownRA#showiprouteCodes:C-connected,S-static,I-IGRP,R-RIP,M-mobile,B-BGPD-EIGRP,EX-EIGRPex
6、ternal,O-OSPF,IA-OSPFinterareaN1?OSPFNSSAexternaltype1,N2-OSPFNSSAexternaltype2E1-OSPFexternaltype15E2-OSPFexternaltype2,E?EGPi-IS-IS,L1-IS-ISlevel-1,L2-IS-ISlevel-2,ia?IS-ISinterarea*-candidatedefault,U-per-userstaticroute,o-ODRP-periodicdownloadedstaticrouteGatewayoflastresortisnotsetO192.16
7、8.10.0/24[110/2]via192.168.20.2,00:03:37,FastEthernetO/OC192.168.20.0/24isdirectlyconnected,FastEthernetO/ORB#showiprouteCodes:C?connected,S?static,I-IGRP,R-RIP,M?mobile,B?BGPD?EIGRP,EX?EIGRPexternal,O-OSPF,IA?OSPFinterareaN1-OSPFNSSAex