資源描述:
《靜態(tài)路由配置》由會員上傳分享,免費在線閱讀,更多相關(guān)內(nèi)容在教育資源-天天文庫。
1、實驗標(biāo)題:靜態(tài)路由配置實驗?zāi)康模菏褂渺o態(tài)路由進行路由選擇配置實驗環(huán)境:PacketTracer5.0實驗拓撲:實驗設(shè)備:Cisco路由器2811實驗步驟:預(yù)配置:????????---SystemConfigurationDialog---Continuewithconfigurationdialog?[yes/no]:nPressRETURNtogetstarted!Router>enableRouter#configureterminalEnterconfigurationcommands,oneperline.?EndwithCNTL/Z.Router(config)#hostname
2、r5r5(config)#r5con0isnowavailablePressRETURNtogetstarted.r5>enabler5#configterminalEnterconfigurationcommands,oneperline.?EndwithCNTL/Z.r5(config)#noipdomain-lookupr5(config)#lineconsole0r5(config-line)#exec-timeout00r5(config-line)#loggingsynchronousr5(config-line)#exitr5(config)#interfaces1/0r5(c
3、onfig-if)#ipaddress5.5.5.5255.255.255.0r5(config-if)#clockrate64000r5(config-if)#noshutdown%LINK-5-CHANGED:InterfaceSerial1/0,changedstatetoupr5(config-if)#r5(config-if)#%LINEPROTO-5-UPDOWN:LineprotocolonInterfaceSerial1/0,changedstatetoupr5(config-if)#interfaces1/1r5(config-if)#ipaddress4.4.4.5255
4、.255.255.0r5(config-if)#noshutdown%LINK-5-CHANGED:InterfaceSerial1/1,changedstatetoupr5(config-if)#r5(config-if)#%LINEPROTO-5-UPDOWN:LineprotocolonInterfaceSerial1/1,changedstatetoupr5(config-if)#使用靜態(tài)路由協(xié)議靜態(tài)路由配置r5(config)#iproute1.1.1.0255.255.255.05.5.5.1r5(config)#iproute2.2.2.0255.255.255.05.5.5.
5、1r5(config)#iproute3.3.3.0255.255.255.04.4.4.4r5(config)#end%SYS-5-CONFIG_I:Configuredfromconsolebyconsole測試r5#showcdpneighborCapabilityCodes:R-Router,T-TransBridge,B-SourceRouteBridge?????????????????S-Switch,H-Host,I-IGMP,r-Repeater,P-PhoneDeviceID???LocalIntrfce??Holdtme???Capability??Platform??
6、?PortIDr1??????????Ser1/0?????????175???????????R??????C2800??????Ser1/1r4??????????Ser1/1?????????148???????????R??????C2800??????Ser1/0r5#showiprouteCodes:C-connected,S-static,I-IGRP,R-RIP,M-mobile,B-BGP??????D-EIGRP,EX-EIGRPexternal,O-OSPF,IA-OSPFinterarea??????N1-OSPFNSSAexternaltype1,N2-OSPFNS
7、SAexternaltype2??????E1-OSPFexternaltype1,E2-OSPFexternaltype2,E-EGP??????i-IS-IS,L1-IS-ISlevel-1,L2-IS-ISlevel-2,ia-IS-ISinterarea??????*-candidatedefault,U-per-userstaticroute,o-ODR??????P-periodicdownloa