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