资源描述:
《cisco:ip路由配置》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、IP路由配置本章目标通过本章的学习,您应该掌握以下内容:配置RIP路由协议配置IGRP路由协议配置EIGRP路由协议配置OSPF路由协议配置VLAN间路由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配置举例ro
2、uterripnetwork10.0.0.02.3.0.0routerripnetwork192.168.1.0network10.0.0.0172.16.1.1S2E0S3192.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,h
3、olddown180,flushedafter240OutgoingupdatefilterlistforallinterfacesisIncomingupdatefilterlistforallinterfacesisRedistributing:ripDefaultversioncontrol:sendversion1,receiveanyversionInterfaceSendRecvKey-chainEthernet0112Serial2112RoutingforNetworks:10.0.0.0172.16.0.0RoutingInformat
4、ionSources:GatewayDistanceLastUpdate10.1.1.212000:00:10Distance:(defaultis120)172.16.1.1S2E0S3192.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-OS
5、PFinterareaN1-OSPFNSSAexternaltype1,N2-OSPFNSSAexternaltype2E1-OSPFexternaltype1,E2-OSPFexternaltype2,E-EGPi-IS-IS,L1-IS-ISlevel-1,L2-IS-ISlevel-2,*-candidatedefaultU-per-userstaticroute,o-ODRT-trafficengineeredrouteGatewayoflastresortisnotset172.16.0.0/24issubnetted,1subnetsC172
6、.16.1.0isdirectlyconnected,Ethernet010.0.0.0/24issubnetted,2subnetsR10.2.2.0[120/1]via10.1.1.2,00:00:07,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
7、.1.0E0debugiprip命令RouterA#debugipripRIPprotocoldebuggingisonRouterA#00:06:24:RIP:receivedv1updatefrom10.1.1.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:n
8、etwork192.168.1.0,metric300:06:34:RIP:se