Cisco教程 Module 08 Ip routing configuration

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

Module8IPRoutingConfigurationIPRoutingConfigurationCopyright1998,CiscoSystems,Inc.IPRoutingConfigurationCopyright1998,CiscoSystems,Inc.•PerformtheinitialconfigurationofyourrouterandenableIP•AddtheRIProutingprotocoltoyourconfiguration•AddtheIGRProutingprotocoltoyourconfigurationObjectivesUponcompletionofthismodule,youwillbeabletoperformthefollowingtasks:IPRoutingConfigurationCopyright1998,CiscoSystems,Inc.InitialRouterConfigurationBeginningCondition:1.Novalidstartup-config2.SystemloadendswithsetupmodeResultingCondition:Minimal-featurerouterconfiguration3.UseSystemConfigurationDialog•Later,useconfiguretoaddprotocolandinterfacechangesIPRoutingConfigurationCopyright1998,CiscoSystems,Inc.Network10.1.3.0•Address-to-portassociationtableInitialIPRoutingTableNetwork10.1.2.0Network10.8.3.0Network10.1.1.0RoutingTableNetwork10.1.2.0E010.8.3.0S010.1.1.0To0InterfaceE0To0S0TokenRingIPRoutingConfigurationCopyright1998,CiscoSystems,Inc.•Staticroutes•Defaultroutes•DynamicroutingIPRoutingLearnsDestinationsIPRoutingConfigurationCopyright1998,CiscoSystems,Inc.•DefinesapathtoanIPdestinationnetworkorsubnetiproutenetwork[mask]{address|interface}[distance]Router(config)#StaticRouteConfigurationIPRoutingConfigurationCopyright1998,CiscoSystems,Inc.StaticRouteExampleiproute172.16.1.0255.255.255.0172.16.2.1172.16.2.0CiscoA172.16.1.0255.255.255.0172.16.2.1CiscoBE0S0S1S2S0172.16.2.2IPRoutingConfigurationCopyright1998,CiscoSystems,Inc.•Definesadefaultrouteipdefault-networknetwork-numberRouter(config)#DefaultRouteConfigurationConfiguringIPRoutingIPRoutingConfigurationCopyright1998,CiscoSystems,Inc.IPRoutingConfigurationCopyright1998,CiscoSystems,Inc.DefaultRouteExampleCompanyXPublicNetworkCiscoA192.168.17.0Network172.16.0.0SubnetMask255.255.255.0CiscoArouterripnetwork172.16.0.0network192.168.17.0ipdefault-network192.168.17.0IPRoutingConfigurationCopyright1998,CiscoSystems,Inc.•RoutersunderacommonadministrationAutonomousSystemIPRoutingConfigurationCopyright1998,CiscoSystems,Inc.InteriororExteriorRoutingProtocolsInteriorRoutingProtocols:•RIP•IGRPAutonomousSystem200AutonomousSystem100ExteriorRoutingProtocolsIPRoutingConfigurationCopyright1998,CiscoSystems,Inc.InteriorIPRoutingProtocolsRoutingInformationProtocol(RIP)InteriorGatewayRoutingProtocol(IGRP)OpenShortestPathFirst(OSPF)ProtocolEnhancedIGRP(EIGRP)ApplicationTransportInternetNetworkInterfaceHardwareIPRoutingConfigurationCopyright1998,CiscoSystems,Inc.IPRoutingConfigurationTasksNetwork172.30.0.0IGRP,RIP•GlobalconfigurationSelectroutingprotocol(s)Network160.89.0.0Network172.16.0.0Specifynetwork(s)IPRoutingConfigurationCopyright1998,CiscoSystems,Inc.IPRoutingConfigurationTasksNetwork172.30.0.0Network160.89.0.0IGRP,RIPNetwork172.16.0.0RIPRIP•GlobalconfigurationSelectroutingprotocol(s)Specifynetwork(s)•InterfaceconfigurationVerifyaddress/subnetmaskIPRoutingConfigurationCopyright1998,CiscoSystems,Inc.•DefinesanIProutingprotocolrouterprotocol[keyword]Router(config)#DynamicRoutingConfigurationnetworknetwork-numberRouter(config-router)#•ThenetworksubcommandisamandatoryconfigurationcommandforeachIProutingprocessConfiguringRIPIPRoutingConfigurationCopyright1998,CiscoSystems,Inc.IPRoutingConfigurationCopyright1998,CiscoSystems,Inc.•HopcountmetricselectsthepathRIPOverview19.2kbpsT1T1T1IPRoutingConfigurationCopyright1998,CiscoSystems,Inc.routerripRouter(config)#RIPConfiguration•StartstheRIProutingprocessnetworknetwork-numberRouter(config-router)#•SelectsparticipatingattachednetworksIPRoutingConfigurationCopyright1998,CiscoSystems,Inc.RIPConfigurationExamplerouterripnetwork1.0.0.0network2.0.0.0CiscoA2.4.0.03.3.0.02.6.0.02.5.0.0CiscoACiscoBCiscoCCiscoDS0T0S1S2CiscoE1.4.0.02.1.0.01.2.0.01.1.0.02.3.0.02.2.0.02.7.0.0TokenRingTokenRingIPRoutingConfigurationCopyright1998,CiscoSystems,Inc.RoutershowipprotocolRoutingProtocolisripSendingupdatesevery30seconds,nextduein13secondsInvalidafter180seconds,holddown180,flushedafter240OutgoingupdatefilterlistforallinterfacesisnotsetIncomingupdatefilterlistforallinterfacesisnotsetRedistributing:ripRoutingforNetworks:183.8.0.0144.253.0.0RoutingInformationSources:GatewayDistanceLastUpdate183.8.128.121200:00:14183.8.64.1301200:00:19183.8.128.1301200:00:03Distance:(defaultis120)MonitoringIPIPRoutingConfigurationCopyright1998,CiscoSystems,Inc.RoutershowiprouteCodes:C-connected,S-static,I-IGRP,R-RIP,M-mobile,B-BGPD-EIGRP,EX-EIGRPexternal,O-OSPF,IA-OSPFinterareaE1-OSPFexternaltype1,E2-OSPFexternaltype2,E-EGPi-IS-IS,L1-IS-ISlevel-1,L2-IS-ISlevel-2,*-candidatedefaultGatewayoflastresortisnotset144.253.0.0issubnetted(maskis255.255.255.0),1subnetsC144.253.100.0isdirectlyconnected,Ethernet1R133.3.0.0R153.50.0.0[120/1]via183.8.128.12,00:00:09,Ethernet0183.8.0.0issubnetted(maskis255.255.255.128),4subnetsR183.8.0.128[120/1]via183.8.128.130,00:00:17,Serial0[120/1]via183.8.64.130,00:00:17,Serial1C183.8.128.0isdirectlyconnected,Ethernet0C183.8.64.128isdirectlyconnected,Serial1C183.8.128.128isdirectlyconnected,Serial0R192.3.63.0DisplayingtheIPRo

1 / 34
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功