资源描述:
《利用动态路由协议互联整个网络》由会员上传分享,免费在线阅读,更多相关内容在应用文档-天天文库。
1、例三R1:Router>enRouter#conftEnterconfigurationcommands,oneperline.EndwithCNTL/Z.Router(config)#hostnamer1r1(config)#intf0/0r1(config-if)#ipaddr1(config-if)#ipaddress12.0.0.1255.0.0.0r1(config-if)#noshutr1(config-if)#*Mar100:11:28.255:%LINK-3-UPDOWN:InterfaceFas
2、tEthernet0/0,changedstatetoup*Mar100:11:29.255:%LINEPROTO-5-UPDOWN:LineprotocolonInterfaceFastEthernet0/0,changedstatetoupexitr1(config)#intlo0r1(config-if)#*Mar100:11:40.887:%LINEPROTO-5-UPDOWN:LineprotocolonInterfaceLoopback0,changedstatetoupr1(config-if)#i
3、paddr1(config-if)#ipaddress1.1.0.1255.255.0.0r1(config-if)#endr1#*Mar100:17:31.315:%SYS-5-CONFIG_I:ConfiguredfromconsolebyconsolepingProtocol[ip]:12.0.0.1%Unknownprotocol-"12.0.0.1",type"ping?"forhelpr1#ping12.0.0.1Typeescapesequencetoabort.Sending5,100-byteI
4、CMPEchosto12.0.0.1,timeoutis2seconds:!!!!!Successrateis100percent(5/5),round-tripmin/avg/max=1/2/4msr1#ping23.0.0.2Typeescapesequencetoabort.Sending5,100-byteICMPEchosto23.0.0.2,timeoutis2seconds:.....Successrateis0percent(0/5)r1#conftEnterconfigurationcomman
5、ds,oneperline.EndwithCNTL/Z.r1(config)#routerripr1(config-router)#version2r1(config-router)#noautor1(config-router)#noauto-summaryr1(config-router)#network1.0.0.0r1(config-router)#network12.0.0.0r1(config-router)#endr1#pi*Mar100:24:36.631:%SYS-5-CONFIG_I:Conf
6、iguredfromconsolebyconsoleng1.3.0.1Typeescapesequencetoabort.Sending5,100-byteICMPEchosto1.3.0.1,timeoutis2seconds:!!!!!Successrateis100percent(5/5),round-tripmin/avg/max=56/70/84msr1#R2:Router>enRouter#conftEnterconfigurationcommands,oneperline.EndwithCNTL/Z
7、.Router(config)#hostname%Incompletecommand.Router(config)#hostnamer2r2(config)#intf0/0r2(config-if)#12.0.0.2255.0.0.0^%Invalidinputdetectedat'^'marker.r2(config-if)#ipaddress12.0.0.2255.0.0.0r2(config-if)#noshutr2(config-if)#*Mar100:13:19.787:%LINK-3-UPDOWN:I
8、nterfaceFastEthernet0/0,changedstatetoup*Mar100:13:20.787:%LINEPROTO-5-UPDOWN:LineprotocolonInterfaceFastEthernet0/0,changedstatetoupr2(config-if)#exitr2(config)#intf0/1r2(config-if)#ipad