資源描述:
《配置CISCO路由器和IP地址.ppt》由會(huì)員上傳分享,免費(fèi)在線閱讀,更多相關(guān)內(nèi)容在教育資源-天天文庫(kù)。
1、配置Cisco路由器路由器的配置模式保存配置將當(dāng)前配置保存到NVRAMRouterX#RouterX#copyrunning-configstartup-configDestinationfilename[startup-config]?Buildingconfiguration…RourterX#配置路由器密碼配置路由器標(biāo)識(shí)Console線路命令RouterX(config)#lineconsole0RouterX(config-line)#exec-timeout2030RouterX(config)#lineconsole0RouterX(config-line
2、)#loggingsynchronousModifiesconsolesessiontimeoutRedisplaysinterruptedconsoleinputRouterX(config)#interfacetypenumberRouterX(config-if)#typeincludesserial,ethernet,tokenring,fddi,hssi,loopback,dialer,null,async,atm,bri,tunnel,andsoonnumberisusedtoidentifyindividualinterfacesRouterX(conf
3、ig-if)#exitQuitsfromcurrentinterfaceconfigurationmodeRouterX(config)#interfacetypeslot/portRouterX(config-if)#Formodularrouters,selectsaninterface配置一個(gè)接口RouterX#configureterminalRouterX(config)#interfaceserial0RouterX(config-if)#noshutdown%LINK-3-UPDOWN:InterfaceSerial0,changedstatetoup%
4、LINEPROTO-5-UPDOWN:LineProtocolonInterfaceSerial0,changedstatetoupEnablesaninterfacethatisadministrativelyshutdownRouterX#configureterminalRouterX(config)#interfaceserial0RouterX(config-if)#shutdown%LINK-5-CHANGED:InterfaceSerial0,changedstatetoadministrativelydown%LINEPROTO-5-UPDOWN:Li
5、neprotocolonInterfaceSerial0,changedstatetodownAdministrativelyturnsoffaninterface關(guān)閉或啟用一個(gè)端口路由器showinterfaces命令RouterX#showinterfacesEthernet0isup,lineprotocolisupHardwareisLance,addressis00e0.1e5d.ae2f(bia00e0.1e5d.ae2f)Internetaddressis10.1.1.11/24MTU1500bytes,BW10000Kbit,DLY1000usec,r
6、ely255/255,load1/255EncapsulationARPA,loopbacknotset,keepaliveset(10sec)ARPtype:ARPA,ARPTimeout04:00:00Lastinput00:00:07,output00:00:08,outputhangneverLastclearingof"showinterface"countersneverQueueingstrategy:fifoOutputqueue0/40,0drops;inputqueue0/75,0drops5minuteinputrate0bits/sec,0pa
7、ckets/sec5minuteoutputrate0bits/sec,0packets/sec81833packetsinput,27556491bytes,0nobufferReceived42308broadcasts,0runts,0giants,0throttles1inputerrors,0CRC,0frame,0overrun,1ignored,0abort0inputpacketswithdribbleconditiondetected55794packetsoutput,3929696bytes,0underruns0outpute