工大na实验完全手册-超详细多合一_第1页
工大na实验完全手册-超详细多合一_第2页
工大na实验完全手册-超详细多合一_第3页
工大na实验完全手册-超详细多合一_第4页
工大na实验完全手册-超详细多合一_第5页
已阅读5页,还剩60页未读 继续免费阅读

付费下载

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

TOC\o"1-1"\h\z\u01、IOS常用命 Enabling EnablingRip EnablingRIPv2 Enabling Enabling ConfiguringEIGRPUnequal-Cost EIGRPunequa-costloadbalancing Eigrp& Enabling Default Standard Extended EnableACLon Static Vlan+ RoutingBetween Basic P2PSubInterface MPSubInterface 01、IOS常用命第一步:配置各路由器的ip地址,并确认直连接口可以相互通R1(config)#interfaceR1(config)#interfaceloopbackR1(config-if)#ipaddressR1(config)#interfaceloopbackR1(config-if)#ipaddress24R1(config)#iprouteR1(config)#iproute2424242424R3(config)#iproute第五步:使 R3(config)#iprouteR10R20loR1(config)#iprouteR1(config)#iproute步骤一:配置各路由器的IP地址,并使用命令确认直连接口相互可以通步骤R1R1(config)#iprouteR1(config)#iprouteR1#showipCodes:C-connected,S-static,I-IGRP,R-RIP,M-mobile,B-BGPD-EIGRP,EX-EIGRPexternal,O-OSPF,IA-OSPFinterareaN1-OSPFNSSAexternalR1#showipCodes:C-connected,S-static,I-IGRP,R-RIP,M-mobile,B-BGPD-EIGRP,EX-EIGRPexternal,O-OSPF,IA-OSPFinterareaN1-OSPFNSSAexternaltype1,N2-OSPFNSSAexternaltype2E1-OSPFexternaltype1,E2-OSPFexternaltype2,E-EGPi-IS-IS,su-IS-ISsummary,L1-IS-ISlevel-1,L2-IS-ISlevel-2ia-IS-ISinterarea,*-candidatedefault,U-per-userstaticrouteo-ODR,P-periodicdownloadedstaticrouteGatewayoflastresortisnot /24isdirectlyconnected,FastEthernet0/0 /24isdirectlyconnected,Serial1/1 /24[1/0]via[1/0]viaR1(config)#noiprouteR1(config)#iprouteR1(config)#noiprouteR1(config)#iprouteR1#showipCodes:C-connected,S-static,I-IGRP,R-RIP,M-mobile,B-BGPD-EIGRP,EX-EIGRPexternal,O-OSPF,IA-OSPFinterareaN1-OSPFNSSAexternaltype1,R1#showipCodes:C-connected,S-static,I-IGRP,R-RIP,M-mobile,B-BGPD-EIGRP,EX-EIGRPexternal,O-OSPF,IA-OSPFinterareaN1-OSPFNSSAexternaltype1,N2-OSPFNSSAexternaltype2E1-OSPFexternaltype1,E2-OSPFexternaltype2,E-EGPi-IS-IS,su-IS-ISsummary,L1-IS-ISlevel-1,L2-IS-ISlevel-iaia-IS-ISinterarea,*-candidatedefault,U-per-userstaticrouteo-ODR,P-periodicdownloadedstaticrouteGatewayoflastresortisnot /24isdirectlyconnected,FastEthernet0/0 /24isdirectlyconnected,Serial1/1 /24[1/0]viaR1#showipCodes:C-connected,S-static,I-IGRP,R-RIP,M-mobile,B-BGPD-EIGRP,EX-EIGRPexternal,O-OSPF,IA-OSPFinterareaN1-OSPFNSSAexternalR1#showipCodes:C-connected,S-static,I-IGRP,R-RIP,M-mobile,B-BGPD-EIGRP,EX-EIGRPexternal,O-OSPF,IA-OSPFinterareaN1-OSPFNSSAexternaltype1,N2-OSPFNSSAexternaltype2E1-OSPFexternaltype1,E2-OSPFexternaltype2,E-EGPi-IS-IS,su-IS-ISsummary,L1-IS-ISlevel-1,L2-IS-ISlevel-2ia-IS-ISinterarea,*-candidatedefault,U-per-userstaticrouteo-ODR,P-periodicdownloadedstaticrouteGatewayoflastresortisnot /24isdirectlyconnected,Serial1/1 /24[100/0]viaLoLo步骤一:配置各路由器的IP地址,并使用命令确认直连接口相互可以通步骤二:配置r1,r2,r3的静态路由.步骤三EnablingLoLo步骤一:配置各路由器的IP地址,并使用命令确认直连接口相互可以通R1#showipCodes:C-connected,S-static,I-IGRP,R-RIP,M-mobile,B-BGPD-EIGRP,EX-EIGRPexternal,O-OSPF,IA-OSPFinterareaN1-OSPFNSSAexternaltype1,R1#showipCodes:C-connected,S-static,I-IGRP,R-RIP,M-mobile,B-BGPD-EIGRP,EX-EIGRPexternal,O-OSPF,IA-OSPFinterareaN1-OSPFNSSAexternaltype1,N2-OSPFNSSAexternaltype2E1-OSPFexternaltype1,E2-OSPFexternaltype2,E-EGPi-IS-IS,su-IS-ISsummary,L1-IS-ISlevel-1,L2-IS-ISlevel-2ia-IS-ISinterarea,*-candidatedefault,U-per-userstaticrouteo-ODR,P-periodicdownloadedstaticrouteGatewayoflastresortisnotset/24issubnetted,1subnets isdirectlyconnected,/24issubnetted,1 isdirectlyconnected,Serial1/1R1(config)#routerR1(config-router)#networkR1(config-router)#networkR2(config)#routerR2(config-router)#networkR1(config)#routerR1(config-router)#networkR1(config-router)#networkR2(config)#routerR2(config-router)#networkR3(config)#routerR3(config-router)#networkR3(config-router)#networkR3(config-R3(config-Type sequencetoSending5,100-byteICMPEchosto,timeoutis2Successrateis100percent(5/5),round-tripmin/avg/max=836/1046/1144ms步骤四:在任意一台路由远端非直连网R1#showipCodes:C-connected,S-static,I-IGRP,R-RIP,M-mobile,B-BGPD-EIGRP,EX-EIGRPexternal,O-OSPF,IA-OSPFinterareaN1-R1#showipCodes:C-connected,S-static,I-IGRP,R-RIP,M-mobile,B-BGPD-EIGRP,EX-EIGRPexternal,O-OSPF,IA-OSPFinterareaN1-OSPFNSSAexternaltype1,N2-OSPFNSSAexternaltype2E1-OSPFexternaltype1,E2-OSPFexternaltype2,E-EGPi-IS-IS,su-IS-ISsummary,L1-IS-ISlevel-1,L2-IS-ISlevel-2ia-IS-ISinterarea,*-candidatedefault,U-per-userstaticrouteo-ODR,P-periodicdownloadedstaticrouteGatewayoflastresortisnotset/24issubnetted,1subnets isdirectlyconnected,/24issubnetted,2 [120/1]via,00:00:15, isdirectlyconnected, /24[120/2]via,00:00:15,R1#showipprotocolsRoutingProtocolis"rip"Sendingupdatesevery30seconds,nextduein9secondsInvalidafterR1#showipprotocolsRoutingProtocolis"rip"Sendingupdatesevery30seconds,nextduein9secondsInvalidafter180seconds,holddown180,flushedafter240OutgoingupdatefilterlistforallinterfacesisnotsetingupdatefilterlistforallinterfacesisnotsetRedistributing:ripDefaultversioncontrol:sendversion1,receiveanyversion SendRecvTriggeredRIPKey-chain 12 1Automaticnetworksummarizationisineffectumpath:4RoutingforNetworks:RoutingInformation Last Distance:(defaultis步骤七:查看R3R3#showR3#showipCodes:C-connected,S-static,I-IGRP,R-RIP,M-mobile,B-BGPD-EIGRP,EX-EIGRPexternal,O-OSPF,IA-OSPFinterareaN1-OSPFNSSAexternaltype1,N2-OSPFNSSAexternaltypeE1E1-OSPFexternaltype1,E2-OSPFexternaltype2,E-i-IS-IS,su-IS-ISsummary,L1-IS-ISlevel-1,L2-IS-ISlevel-2ia-IS-ISinterarea,*-candidatedefault,U-per-userstaticrouteo-ODR,P-periodicdownloadedstaticrouteGatewayoflastresortisnot /16[120/2]via,00:00:13,/24issubnetted,2 [120/1]via,00:00:13, isdirectlyconnected, /16[120/1]via,00:00:11, /24isdirectlyconnected,R1#debugipRIPprotocoldebuggingis00:02:04:RIP:R1#debugipRIPprotocoldebuggingis00:02:04:RIP:sendingv1updateto55viaSerial1/1()00:02:04:RIP:buildupdateentries networkmetric00:02:04:RIP:sendingv1updateto55viaLoopback0()00:02:04:RIP:buildupdateentries networkmetric networkmetric networkmetric00:02:05:RIP:receivedv1updatefromonSerial1/1 in1hops in1 in200:02:34:RIP:receivedv1updatefromonSerial1/0 in1hopsR1#undebugallR1#undebugipripR3#debugipRIPprotocoldebuggingR3#debugipRIPprotocoldebuggingis00:02:35:RIP:sendingv1updateto55viaSerial1/0()00:02:35:RIP:buildupdateentries networkmetric00:02:35:RIP:sendingv1updateto55viaLoopback0()00:02:35:RIP:buildupdateentries networkmetric networkmetric networkmetric3R3#confEnterconfigurationcommands,oneperline.EndwithCNTL/Z.R3(config)#routerripR3(config-router)#passive-interfaceloopback000:03:04:RIP:sendingv1updateto55viaSerial1/0()00:03:04:RIP:buildupdateentries networkmetricEnablingRipLoLoLoLo步骤一:配置各路由器的IP地址,并使用命令确认直连接口相互可以通步骤二:配置各路RIP协议。步骤三:在R1使 结果是不通的R1(config)#routerripR1(config-router)#version2R2(config)#routerripR2(config-router)#version2R3(config)#routerripR3(config-router)#version2步骤四:解决步骤三的问题。解决的方法是R1(config)#routerripR1(config-router)#version2R2(config)#routerripR2(config-router)#version2R3(config)#routerripR3(config-router)#version2R2#showipCodes:C-connected,S-static,I-IGRP,R-RIP,M-mobile,B-BGPD-EIGRP,EX-EIGRPexternal,O-OSPF,IA-OSPFinterareaN1-R2#showipCodes:C-connected,S-static,I-IGRP,R-RIP,M-mobile,B-BGPD-EIGRP,EX-EIGRPexternal,O-OSPF,IA-OSPFinterareaN1-OSPFNSSAexternaltype1,N2-OSPFNSSAexternaltype2E1-OSPFexternaltype1,E2-OSPFexternaltype2,E-EGPi-IS-IS,su-IS-ISsummary,L1-IS-ISlevel-1,L2-IS-ISlevel-2ia-IS-ISinterarea,*-candidatedefault,U-per-userstaticrouteo-ODR,P-periodicdownloadedstaticrouteGatewayGatewayoflastresortisnot/16isvariablysubnetted,3subnets,2 /24[120/1]via,00:00:00,Serial1/1 /27[120/1]via,00:00:00, /24isdirectlyconnected,Serial1/1/8isvariablysubnetted,3subnets,2masks /27[120/1]via,00:00:00,Serial1/0 /24[120/1]via,00:00:00, /24isdirectlyconnected,00:06:36:RIP:sendingv2updateto00:06:36:RIP:sendingv2updatetoviaSerial1/0()00:06:36:RIP:buildupdateentries /24via,metric1,tag /27via,metric1,tag00:06:36:RIP:sendingv2updatetoviaLoopback0()00:06:36:RIP:buildupdateentries /8via,metric2,tag /27via,metric1,tag /24via,metric1,tag00:06:36:RIP:sendingv2updatetoviaLoopback1()00:06:36:RIP:buildupdateentries /8via,metric2,tag /24via,metric1,tag /24via,metric1,tag00:06:36:RIP:ignoredv2packetfrom(sourcedfromoneofouraddresses)00:06:36:RIP:ignoredv2packetfrom(sourcedfromoneofouraddresses)00:06:37:RIP:receivedv2updatefromonSerial1/000:06:37:/8viain1hopsR1#showipCodes:C-connected,S-static,I-IGRP,R-RIP,M-mobile,B-BGPD-EIGRP,EX-EIGRPexternal,O-OSPF,IA-OSPFinterareaN1-R1#showipCodes:C-connected,S-static,I-IGRP,R-RIP,M-mobile,B-BGPD-EIGRP,EX-EIGRPexternal,O-OSPF,IA-OSPFinterareaN1-OSPFNSSAexternaltype1,N2-OSPFNSSAexternaltype2E1-OSPFexternaltype1,E2-OSPFexternaltype2,E-EGPi-IS-IS,su-IS-ISsummary,L1-IS-ISlevel-1,L2-IS-ISlevel-2ia-IS-ISinterarea,*-candidatedefault,U-per-userstaticrouteo-ODR,P-periodicdownloadedstaticrouteGatewayoflastresortisnot /16[120/1]via,00:00:06,/8isvariablysubnetted,3subnets,2masks /27isdirectlyconnected,Loopback1 /24isdirectlyconnected,Loopback0 /24isdirectlyconnected,Serial1/1R2(config)#routerR2(config-router)#noauto-summary步骤八:在R2R2(config)#routerR2(config-router)#noauto-summaryR1#showipCodes:C-connected,S-static,I-IGRP,R-RIP,M-mobile,B-BGPD-EIGRP,EX-EIGRPexternal,O-OSPF,IA-OSPFinterareaN1-OSPFNSSAexternalR1#showipCodes:C-connected,S-static,I-IGRP,R-RIP,M-mobile,B-BGPD-EIGRP,EX-EIGRPexternal,O-OSPF,IA-OSPFinterareaN1-OSPFNSSAexternaltype1,N2-OSPFNSSAexternaltype2E1-OSPFexternaltype1,E2-OSPFexternaltype2,E-EGPi-IS-IS,su-IS-ISsummary,L1-IS-ISlevel-1,L2-IS-ISlevel-2ia-IS-ISinterarea,*-candidatedefault,U-per-userstaticrouteo-ODR,P-periodicdownloadedstaticrouteGatewayoflastresortisnot/16isvariablysubnetted,3subnets,2R/24[120/2]via,00:00:00,Serial1/1R/27[120/2]via,00:00:00,Serial1/1R/24[120/1]via,00:00:00,/8isvariablysubnetted,3subnets,2masksC/27isdirectlyconnected,Loopback1C/24isdirectlyconnected,Loopback0C/24isdirectlyconnected,Serial1/1R2(config)#interfaceserialR2(config-if)#ip ddressripR2(config)#interfaceserialR2(config-if)#ip ddressripR1#showipCodes:C-connected,S-static,I-IGRP,R-RIP,M-mobile,B-BGPD-EIGRP,EX-EIGRPexternal,O-OSPF,IA-OSPFinterareaN1-OSPFNSSAR1#showipCodes:C-connected,S-static,I-IGRP,R-RIP,M-mobile,B-BGPD-EIGRP,EX-EIGRPexternal,O-OSPF,IA-OSPFinterareaN1-OSPFNSSAexternaltype1,N2-OSPFNSSAexternaltype2E1-OSPFexternaltype1,E2-OSPFexternaltype2,E-EGPi-IS-IS,su-IS-ISsummary,L1-IS-ISlevel-1,L2-IS-ISlevel-2ia-IS-ISinterarea,*-candidatedefault,U-per-userstaticrouteo-ODR,P-periodicdownloadedstaticrouteGatewayoflastresortisnot /16[120/1]via,00:00:00,/8isvariablysubnetted,3subnets,2masks /27isdirectlyconnected,Loopback1 /24isdirectlyconnected,Loopback0 /24isdirectlyconnected,Serial1/1EnablingRIPv2LoLo步骤一:配置各路由器的IP地址,并使用命令确认直连接口相互可以通步骤二:配置r1,r2,r3RIP路由协议,并启用v2,同时关闭自动汇总.R1#shipCodes:C-connected,S-static,I-IGRP,R-RIP,M-mobile,B-BGPD-EIGRP,EX-EIGRPexternal,O-OSPF,IA-OSPFinterareaN1-OSPFNSSAR1#shipCodes:C-connected,S-static,I-IGRP,R-RIP,M-mobile,B-BGPD-EIGRP,EX-EIGRPexternal,O-OSPF,IA-OSPFinterareaN1-OSPFNSSAexternaltype1,N2-OSPFNSSAexternaltype2E1-OSPFexternaltype1,E2-OSPFexternaltype2,E-EGPi-IS-IS,su-IS-ISsummary,L1-IS-ISlevel-1,L2-IS-ISlevel-2ia-IS-ISinterarea,*-candidatedefault,U-per-userstaticrouteo-ODR,P-periodicdownloadedstaticrouteGatewayoflastresortisnotset/24issubnetted,2subnets isdirectlyconnected, [120/1]via,00:00:11,/24issubnetted,2 [120/2]via,00:00:11, isdirectlyconnected,Loopback0步骤四:在R2上配置认证用的R2(config)#keyR2(config)#keychainrip-keyR2(config-keychain)#key1R2(config-keychain-key)#key-stringciscoR2(config-R2(config)#interfaceserialR2(config-if)#ipripauthenticationkey-chainrip-R2(config-if)#ipripauthenticationR2(config)#interfaceserialR2(config-if)#ipripauthenticationkey-chainrip-R2(config-if)#ipripauthenticationmodemd5步骤六:在R2上使用DEBUG认证的过00:04:35:RIP:ignoredv2packetfrom(invalidauthentication)00:04:37:RIP:receivedv2updatefromonSerial1/1 /24viain1hopsR2#showipCodes:C-connected,S-static,I-IGRP,R-RIP,M-mobile,B-BGPD-EIGRP,EX-EIGRPexternal,O-OSPF,IA-OSPFinterareaN1-OSPFR2#showipCodes:C-connected,S-static,I-IGRP,R-RIP,M-mobile,B-BGPD-EIGRP,EX-EIGRPexternal,O-OSPF,IA-OSPFinterareaN1-OSPFNSSAexternaltype1,N2-OSPFNSSAexternaltype2E1-OSPFexternaltype1,E2-OSPFexternaltype2,E-EGPi-IS-IS,su-IS-ISsummary,L1-IS-ISlevel-1,L2-IS-ISlevel-2ia-IS-ISinterarea,*-candidatedefault,U-per-userstaticrouteo-ODR,P-periodicdownloadedstaticrouteGatewayoflastresortisnotset/24issubnetted,2subnets isdirectlyconnected, isdirectlyconnected,Serial1/1/24issubnetted,2subnets [120/1]via,00:01:47, [120/1]via,00:00:21,Serial1/1步骤八:在R1上查看路由00:04:57:RIP:receivedv2updatefromonSerial1/1 /24viain2hops /24viain1hopsR1#showipCodes:C-connected,S-static,I-IGRP,R-RIP,M-mobile,B-BGPD-EIGRP,EX-EIGRPexternal,O-OSPF,IA-OSPFinterareaN1-OSPFNSSAexternaltype1,N2-OSPFNSSAexternaltype2E1-OSPFexternaltype1,E2-OSPFexternaltype2,E-EGPi-IS-IS,su-IS-ISsummary,L1-IS-ISlevel-1,L2-IS-ISlevel-2ia-IS-ISinterarea,*-candidatedefault,U-per-userstaticrouteo-ODR,P-periodicdownloadedstaticrouteGatewayoflastresortisnotset/24issubnetted,2subnets isdirectlyconnected, [120/1]via,00:00:06,/24issubnetted,2 [120/2]via,00:00:06, isdirectlyconnected,Loopback000:04:57:RIP:receivedv2updatefromonSerial1/1 /24viain2hops /2400:04:57:RIP:receivedv2updatefromonSerial1/1 /24viain2hops /24viain1hopsR1#showipCodes:C-connected,S-static,I-IGRP,R-RIP,M-mobile,B-BGPD-EIGRP,EX-EIGRPexternal,O-OSPF,IA-OSPFinterareaN1-OSPFNSSAexternaltype1,N2-OSPFNSSAexternaltype2E1-OSPFexternaltype1,E2-OSPFexternaltype2,E-EGPi-IS-IS,su-IS-ISsummary,L1-IS-ISlevel-1,L2-IS-ISlevel-2iai-IS-IS,su-IS-ISsummary,L1-IS-ISlevel-1,L2-IS-ISlevel-2ia-IS-ISinterarea,*-candidatedefault,U-per-userstaticrouteo-ODR,P-periodicdownloadedstaticrouteGatewayoflastresortisnotset/24issubnetted,2subnets isdirectlyconnected, [120/1]via,00:00:06,/24issubnetted,2 [120/2]via,00:00:06, isdirectlyconnected,Loopback0R2#showipCodes:C-connected,S-static,I-IGRP,R-RIP,M-mobile,B-BGPD-EIGRP,EX-EIGRPexternal,O-OSPF,IA-OSPFinterareaN1-OSPFNSSAexternaltype1,R2#showipCodes:C-connected,S-static,I-IGRP,R-RIP,M-mobile,B-BGPD-EIGRP,EX-EIGRPexternal,O-OSPF,IA-OSPFinterareaN1-OSPFNSSAexternaltype1,N2-OSPFNSSAexternaltype2E1-OSPFexternaltype1,E2-OSPFexternaltype2,E-EGPi-IS-IS,su-IS-ISsummary,L1-IS-ISlevel-1,L2-IS-ISlevel-2ia-IS-ISinterarea,*-candidatedefault,U-per-userstaticrouteo-ODR,P-periodicdownloadedstaticrouteGatewayoflastresortisnotset/24issubnetted,2subnets isdirectlyconnected, isdirectlyconnected,Serial1/1/24issubnetted,2subnets /24ispossiblydown,routingvia,Serial1/0 [120/1]via,00:00:02,步骤十一:查看R1一切正R1#unAllpossibledebugginghasbeenturnedoffR1#showiproR1#showipCodes:C-connected,S-static,I-IGRP,R-RIP,M-mobile,B-BGPD-EIGRP,EX-EIGRPexternal,O-OSPF,IA-OSPFinterareaN1-OSPFNSSAexternaltype1,N2-OSPFNSSAexternaltype2E1-OSPFexternaltype1,E2-OSPFexternaltype2,E-EGPi-IS-IS,su-IS-ISsummary,L1-IS-ISlevel-1,L2-IS-ISlevel-2ia-IS-ISinterarea,*-candidatedefault,U-per-userstaticrouteo-ODR,P-periodicdownloadedstaticrouteGatewayoflastresortisnotset/24issubnetted,2subnets isdirectlyconnected, [120/1]via,00:00:17,/24issubnetted,2 [120/2]via,00:00:17, isdirectlyconnected,Loopback0R3#showip步骤十二:查看R3R3#showipCodes:C-connected,S-static,I-IGRP,R-RIP,M-mobile,B-BGPCodes:C-connected,S-static,I-IGRP,R-RIP,M-mobile,B-BGPD-EIGRP,EX-EIGRPexternal,O-OSPF,IA-OSPFinterareaN1-OSPFNSSAexternaltype1,N2-OSPFNSSAexternaltype2E1-OSPFexternaltype1,E2-OSPFexternaltype2,E-EGPi-IS-IS,su-IS-ISsummary,L1-IS-ISlevel-1,L2-IS-ISlevel-2ia-IS-ISinterarea,*-candidatedefault,U-per-userstaticrouteo-ODR,P-periodicdownloadedstaticrouteGatewayoflastresortisnotset/24issubnetted,2subnets [120/1]via,00:00:19, isdirectlyconnected,Serial1/0/24issubnetted,1subnets isdirectlyconnected,Loopback0EnablingLoLoLoLo步骤一:配置各路由器的IP地址,并使用命令确认直连接口相互可以通步骤二:首先在各台路由器RIPv1版本的路由协议R1#showipCodes:C-connected,S-static,I-IGRP,R-RIP,M-mobile,B-BGPD-EIGRP,EX-EIGRPexternal,O-OSPF,IA-OSPFinterareaN1-OSPFNSSAexternaltype1,N2-OSPFR1#showipCodes:C-connected,S-static,I-IGRP,R-RIP,M-mobile,B-BGPD-EIGRP,EX-EIGRPexternal,O-OSPF,IA-OSPFinterareaN1-OSPFNSSAexternaltype1,N2-OSPFNSSAexternaltype2E1-OSPFexternaltype1,E2-OSPFexternaltype2,E-EGPi-IS-IS,su-IS-ISsummary,L1-IS-ISlevel-1,L2-IS-ISlevel-2ia-IS-ISinterarea,*-candidatedefault,U-per-userstaticrouteo-ODR,P-periodicdownloadedstaticrouteGatewayoflastresortisnotR/16[120/1]via,00:00:00,/8isvariablysubnetted,3subnets,2masksC/24isdirectlyconnected,Serial1/1C/27isdirectlyconnected,Loopback1C/24isdirectlyconnected,Loopback0R1(config)#routerigrpR1(config-router)#networkR2(config)#routerigrpR2(config-router)#networkR1(config)#routerigrpR1(config-router)#networkR2(config)#routerigrpR2(config-router)#networkR2(config-router)#networkR3(config)#routerR3(config)#routerigrpR3(config-router)#networkR1#showipCodes:C-connected,S-static,I-IGRP,R-RIP,M-mobile,B-BGPD-EIGRP,EX-EIGRPexternal,O-OSPF,IA-OSPFinterareaN1-OSPFNSSAexternaltype1,N2-OSPFNSSAR1#showipCodes:C-connected,S-static,I-IGRP,R-RIP,M-mobile,B-BGPD-EIGRP,EX-EIGRPexternal,O-OSPF,IA-OSPFinterareaN1-OSPFNSSAexternaltype1,N2-OSPFNSSAexternaltype2E1-OSPFexternaltype1,E2-OSPFexternaltype2,E-EGPi-IS-IS,su-IS-ISsummary,L1-IS-ISlevel-1,L2-IS-ISlevel-2ia-IS-ISinterarea,*-candidatedefault,U-per-userstaticrouteo-ODR,P-periodicdownloadedstaticrouteGatewayoflastresortisnot /16[100/10476]via,00:00:00,/8isvariablysubnetted,3subnets,2masks /27isdirectlyconnected,Loopback1 /24isdirectlyconnected,Loopback0 /24isdirectlyconnected,Serial1/1步骤六:查看IGRP的属R1#showipprotocolsR1#showipprotocolsRoutingProtocolis"igrp200"Sendingupdatesevery90seconds,nextduein36secondsInvalidafter270seconds,holddown280,flushedafter630OutgoingupdatefilterlistforallinterfacesisnotsetingupdatefilterlistforallinterfacesisnotsetDefaultnetworksflaggedinoutgoingupdatesDefaultnetworksacceptedfrom ingupdatesIGRPmetricweightK1=1,K2=0,K3=1,K4=0,K5=0 umhopcount100 ummetricvariance1Redistributing:igrp200umpath:4RoutingforNetworks:RoutingInformation Last Distance:(defaultisR1#debugipigrpeventsR1#debugipigrptransactions00:05:03:IGRP:sendingupdateto55viaSerial1/1 subnet,00:05:03:IGRP:UpdateR1#debugipigrpeventsR1#debugipigrptransactions00:05:03:IGRP:sendingupdateto55viaSerial1/1 subnet,00:05:03:IGRP:Updatecontains1interior,0system,and0exteriorroutes.00:05:03:IGRP:Totalroutesinupdate:100:05:03:IGRP:sendingupdateto55viaLoopback0 subnet, network,00:05:03:IGRP:Updatecontains1interior,1system,and0exteriorroutes.00:05:03:IGRP:Totalroutesinupdate:200:05:03:IGRP:sendingupdateto55viaLoopback1network,00:05:03:IGRP:Updatecontains0interior,1system,and0exteriorroutes.00:05:03:IGRP:Totalroutesinupdate:100:05:09:IGRP:receivedupdatefromonSerial1/1 network,metric10476(neighbor8476)00:05:09:IGRP:Updatecontains0interior,1system,and0exteriorroutes.00:05:09:IGRP:Totalroutesinupdate:1R1#undebugipigrptransactionsR1#undebugipigrpeventsEnablingLoLoLoLoR1(config)#routereigrpR1(config-router)#networkR1(config-router)#networkR1(config-router)#network55R2(config)#routereigrpR2(config-router)#networkR2(config-router)#network55R3(config)#routereigrpR3(config-router)#networkR1(config)#routereigrpR1(config-router)#networkR1(config-router)#networkR1(config-router)#network55R2(config)#routereigrpR2(config-router)#networkR2(config-router)#network55R3(config)#routereigrpR3(config-router)#networkR3(config-router)#networkR3(config-router)#network55步骤三:在R1,R2,R3查看邻居R1#showipeigrpIP-EIGRPneighborsforprocessHInterfaceHoldUptimeRTOQSeq Cnt0 12 2000R2#showR2#showipeigrpIP-EIGRPneighborsforprocessH InterfaceHoldUptimeSRTTRTOQSeq Cnt11400:00:10020112R3#showR3#showipeigrpIP-EIGRPneighborsforprocessHAddress InterfaceHoldUptimeSRTT 0RTOQSeqTypeCntNum1000:00:09153650000步骤四:在R1上查看拓扑R1#showR1#showipeigrpIP-EIGRPTopologyTableforCodes:P-Passive,A-Active,U-Update,Q-Query,R-Reply,r-replyStatus,s-siaStatusP/24,1successors,FDis2169856viaConnected,Serial1/1P/27,1successors,FDis128256viaConnected,Loopback1P/24,1successors,FDis128256viaConnected,Loopback0P/16,1successors,FDisvia(2681856/2169856),R1#showiproute(showiprouteR1#showiproute(showiprouteCodes:C-connected,S-static,I-IGRP,R-RIP,M-mobile,B-BGPD-EIGRP,EX-EIGRPexternal,O-OSPF,IA-OSPFinterareaN1-OSPFNSSAexternaltype1,N2-OSPFNSSAexternaltype2E1-OSPFexternaltype1,E2-OSPFexternaltype2,E-EGPi-IS-IS,su-IS-ISsummary,L1-IS-ISlevel-1,L2-IS-ISlevel-2ia-IS-ISinterarea,*-candidatedefault,U-per-userstaticrouteo-ODR,P-periodicdownloadedstaticrouteGatewayoflastresortisnot /16[90/2681856]via,00:00:35,/8isvariablysubnetted,3subnets,2masks /27isdirectlyconnected,Loopback1 /24isdirectlyconnected,Loopback0 /24isdirectlyconnected,Serial1/1步骤R1EIGRP的属R1#showipprotocolsR1#showipprotocolsRoutingProtocolis"eigrp10"OutgoingupdatefilterlistforallinterfacesisnotsetingupdatefilterlistforallinterfacesisnotDefaultnetworksflaggedinoutgoingupdatesDefaultnetworksacceptedfrom ingupdatesEIGRPmetricweightK1=1,K2=0,K3=1,K4=0,K5=0 umhopcount ummetricvariance1Redistributing:eigrp10Automaticnetworksummarizationisineffectumpath:4RoutingRoutingforRoutingInformation Last Distance:internal90externalType sequencetoSending5,100-byteICMPEchosto,timeoutis2Successrateis100percent(5/5),round-tripmin/avg/max=468/874/1184msR1ConfiguringEIGRPUnequal-CostCCNPLab实实验目的1EIGRP2EIGRPmetric实验步骤及要求1、配置各台路由器的IP地址,并且使 2、在三台路由配置EIGRP自治系 为50R1#showip/30issubnetted,R1#showip/30issubnetted,3Cisdirectlyconnected,D[90/2172416]via0,00:00:11,Cisdirectlyconnected, /24[90/156160]via0,00:00:11,45R2R1/24网络的可行后继(FS)FS,则需要满足可行条件(FC)。R1#showipeigrp50P/24,R1#showipeigrp50P/24,1successors,FDisvia0(156160/128256),FastEthernet0/0P/30,1successors,FDis28160viaConnected,R1#R1#showipeigrp50topologyall-P/24,1successors,FDis156160,sernovia0(156160/128256),FastEthernet0/0via(2809856/2297856),Serial1/18、确认FC(可行条件)公式ADofsecondary-bestroute<FDofbestroute(Successor)=FeasibleR2网络的DistanceR2#configureterminalR2(config)#interfaceserial1/1R2(config-if)#bandwidth10000000R2(config-if)#delay109R2#configureterminalR2(config)#interfaceserial1/1R2(config-if)#bandwidth10000000R2(config-if)#delay1010、查看R1R1#R1#showipeigrptopologyall-P/24,1successors,FDis156160,sernovia0(156160/128256),FastEthernet0/0via(2300416/130816),Serial1/111R1EIGRPvarianceFDofFSroute<FDofbestroute(Successor)*2300416<156160*R1(config)#routereigrpR1(config-router)#variance14R1(config)#routereigrpR1(config-router)#variance14R1#cleariprouterR1#showipCisdirectlyconnected,D/24[90/156160]via0,00:00:00,13、将R1variance15R1(config)#R1(config)#routereigrpR1(config-router)#variance15R1#cleariprouterR1#showipCisdirectlyconnected, /24[90/156160]via0,00:00:01,[90/2300416]via,00:00:01,

EIGRPunequa-costloadbalancingLo步骤一:配置各路由器的IP地址,并使用命令确认直连接口相互可以通步骤二:配置各路EIGRP协议。R1#showipCodes:C-connected,S-static,I-IGRP,R-RIP,M-mobile,B-BGPD-EIGRP,EX-EIGRPexternal,O-OSPF,IA-OSPFinterareaN1-OSPFR1#showipCodes:C-connected,S-static,I-IGRP,R-RIP,M-mobile,B-BGPD-EIGRP,EX-EIGRPexternal,O-OSPF,IA-OSPFinterareaN1-OSPFNSSAexternaltype1,N2-OSPFNSSAexternaltype2E1-OSPFexternaltype1,E2-OSPFexternaltype2,E-EGPi-IS-IS,su-IS-ISsummary,L1-IS-ISlevel-1,L2-IS-ISlevel-2ia-IS-ISinterarea,*-candidatedefault,U-per-userstaticrouteo-ODR,P-periodicdownloadedstaticrouteGatewayoflastresortisnot/16isvariablysubnetted,2subnets,2/24isdirectlyconnected, /16isasummary,00:00:04,Null0/16isvariablysubnetted,3subnets,2masks /16isasummary,00:00:00,/24isdirectlyconnected,/24[90/268186]via,00:00:01,Seal1/1D /8[90/15660]va,00:0000,FastEthernet0/0R1#步骤R2egirp的拓扑结构数据R2#showR2#showipeigrpIP-EIGRPTopologyTableforCodes:P-Passive,A-Active,U-Update,Q-Query,R-Reply,r-replyStatus,s-siaStatusP/8,1successors,FDisvia(2297856/128256),viavia(2300416/156160),P/16,2successors,FDisvia(2172416/28160),Serial1/1via(2172416/28160),P/24,1successors,FDis2169856viaConnected,Serial1/0P/24,1successors,FDis2169856viaConnected,Serial1/1R2#showipCodes:C-connected,S-static,I-IGRP,R-RIP,M-mobile,B-BGPD-EIGRP,EX-EIGRPexternal,O-OSPF,IA-OSPFinterareaN1-OSPFR2#showipCodes:C-connected,S

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论