资源描述:
《7 动态路由协议-rip》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、19.2kbpsT1T1T1Hop计算路由器每隔30秒更新最多支持相同hop数的6条路径RIP概述激活RIP协议Router(config)#routerripRouter(config-router)#networknetwork-number选择所能到达的网络必须是有效的网络RIP配置2.3.0.0routerripnetwork172.16.0.0network10.0.0.0RIP配置举例routerripnetwork10.0.0.02.3.0.0routerripnetwork192.168.1.0network10.0.0.0172.16.1.1S2
2、E0S3192.168.1.110.1.1.110.2.2.210.1.1.2S2S310.2.2.3172.16.1.0ABC192.168.1.0E0查看RIP信息RouterA#shipprotocolsRoutingProtocolis"rip"Sendingupdatesevery30seconds,nextduein0secondsInvalidafter180seconds,holddown180,flushedafter240OutgoingupdatefilterlistforallinterfacesisIncomingupdatefilter
3、listforallinterfacesisRedistributing:ripDefaultversioncontrol:sendversion1,receiveanyversionInterfaceSendRecvKey-chainEthernet0112Serial2112RoutingforNetworks:10.0.0.0172.16.0.0RoutingInformationSources:GatewayDistanceLastUpdate10.1.1.212000:00:10Distance:(defaultis120)172.16.1.1S2E0S
4、3192.168.1.110.1.1.110.2.2.210.1.1.2S2S310.2.2.3172.16.1.0ABC192.168.1.0E0查看路由表RouterA#shiprouteCodes:C-connected,S-static,I-IGRP,R-RIP,M-mobile,B-BGPD-EIGRP,EX-EIGRPexternal,O-OSPF,IA-OSPFinterareaN1-OSPFNSSAexternaltype1,N2-OSPFNSSAexternaltype2E1-OSPFexternaltype1,E2-OSPFexternalty
5、pe2,E-EGPi-IS-IS,L1-IS-ISlevel-1,L2-IS-ISlevel-2,*-candidatedefaultU-per-userstaticroute,o-ODRT-trafficengineeredrouteGatewayoflastresortisnotset172.16.0.0/24issubnetted,1subnetsC172.16.1.0isdirectlyconnected,Ethernet010.0.0.0/24issubnetted,2subnetsR10.2.2.0[120/1]via10.1.1.2,00:00:07
6、,Serial2C10.1.1.0isdirectlyconnected,Serial2R192.168.1.0/24[120/2]via10.1.1.2,00:00:07,Serial2172.16.1.1S2E0S3192.168.1.110.1.1.110.2.2.210.1.1.2S2S310.2.2.3172.16.1.0ABC192.168.1.0E0debugiprip命令RouterA#debugipripRIPprotocoldebuggingisonRouterA#00:06:24:RIP:receivedv1updatefrom10.1.1.
7、2onSerial200:06:24:10.2.2.0in1hops00:06:24:192.168.1.0in2hops00:06:33:RIP:sendingv1updateto255.255.255.255viaEthernet0(172.16.1.1)00:06:34:network10.0.0.0,metric100:06:34:network192.168.1.0,metric300:06:34:RIP:sendingv1updateto255.255.255.255viaSerial2(10.1.1.1)00:06:34:network172.16.
8、0.0,m