CCNAGuidetoCiscoNetworkingFundamentalsFourthEdition

上传人:s9****2 文档编号:585469022 上传时间:2024-09-02 格式:PPT 页数:46 大小:1.31MB
返回 下载 相关 举报
CCNAGuidetoCiscoNetworkingFundamentalsFourthEdition_第1页
第1页 / 共46页
CCNAGuidetoCiscoNetworkingFundamentalsFourthEdition_第2页
第2页 / 共46页
CCNAGuidetoCiscoNetworkingFundamentalsFourthEdition_第3页
第3页 / 共46页
CCNAGuidetoCiscoNetworkingFundamentalsFourthEdition_第4页
第4页 / 共46页
CCNAGuidetoCiscoNetworkingFundamentalsFourthEdition_第5页
第5页 / 共46页
点击查看更多>>
资源描述

《CCNAGuidetoCiscoNetworkingFundamentalsFourthEdition》由会员分享,可在线阅读,更多相关《CCNAGuidetoCiscoNetworkingFundamentalsFourthEdition(46页珍藏版)》请在金锄头文库上搜索。

1、CCNA Guide to Cisco Networking Fundamentals Fourth EditionChapter 6Router Startup and ConfigurationCCNA Guide to Cisco Networking Fundamentals, Fourth Edition2ObjectivesDescribe the steps involved in starting a routerDescribe and use the Cisco Discovery ProtocolConfigure IP on the Cisco routerTroubl

2、eshoot router connectivity problemsCCNA Guide to Cisco Networking Fundamentals, Fourth Edition3Router StartupIn general, the boot process follows these steps:Test hardware (POST)Load the bootstrap programLocate and load the Cisco IOSLocate and load the router configuration fileCCNA Guide to Cisco Ne

3、tworking Fundamentals, Fourth Edition4CCNA Guide to Cisco Networking Fundamentals, Fourth Edition5Test Hardware (POST)Read-only memory (ROM) in a routerTypically contains the power-on self-test (POST), the bootstrap program, and often a version of the operating systemPOST is a diagnostic test that d

4、etermines if the hardware is operating correctlyDuring the POST, the bootstrap program, also called the ROM Monitor, checks basic operations of the attached hardwareThe ROM Monitor checks the configuration register for instructions regarding how to load the Cisco IOSCCNA Guide to Cisco Networking Fu

5、ndamentals, Fourth Edition6Router Configuration Filesstartup-configThe router configuration file that loads during the boot processSometimes referred to as the backup configuration Because it is the saved version of the configuration fileTo revert to the settings in your startup-configReboot the sys

6、tem by powering the router off and back on again orIssue the reload command at the privileged EXEC mode promptCCNA Guide to Cisco Networking Fundamentals, Fourth Edition7Router Configuration Files (continued)Note that when you copy over the startup configuration in NVRAM, that file is replacedWhen y

7、ou copy to the running configuration in RAM, the configuration files are blendedTo view the contents of the startup-configType show startu-pconfig or just show start at the enable promptTo see your working or running configurationType show running-config or just show run at the enable promptCCNA Gui

8、de to Cisco Networking Fundamentals, Fourth Edition8CCNA Guide to Cisco Networking Fundamentals, Fourth Edition9Methods for Making ChangesYou can usually implement and test changes without saving them to the startup configurationBasic steps to implement changes:Make changes as desired to the configu

9、rationExamine those changesDetermine if the changes meet the desired resultRemove the changes if they do not meet the desired result, or simply reboot the routerCopy the changes from the running configuration to the startup configuration when they do meet the desired resultCCNA Guide to Cisco Networ

10、king Fundamentals, Fourth Edition10IP on the RouterTo manually configure IP on an interfaceYou must first change to interface configuration modeThen, you can use the ip address command to configure an IP address for the specific interfaceIn the event you are configuring a serial interface as a DCE (

11、data communication equipment)You will also need to add the clockrate bandwidth in bits per second commandCCNA Guide to Cisco Networking Fundamentals, Fourth Edition11IP ConnectivityCCNA Guide to Cisco Networking Fundamentals, Fourth Edition12TelnetTelnetUtility that connects at the highest layer of

12、the OSI model and provides remote access to other devicesCisco routers allow telnet connections via their virtual terminal portsIf you can establish telnet connectivity to a routerIt is available on the network and you have connectivity at all layersCCNA Guide to Cisco Networking Fundamentals, Fourt

13、h Edition13IP Host NamesSometimes, you cannot gain connectivity because the host name that you are trying to connect with is entered in a table incorrectlyTo determine the address to name mapping on your router, type:router#show hostsTo add an entry to your hosts file for name resolutionGo to global

14、 configuration mode and type: CCNA Guide to Cisco Networking Fundamentals, Fourth Edition14IP Host Names (continued)To remove that entry, type:To allow a name server to handle the IP address to name resolution, type:CCNA Guide to Cisco Networking Fundamentals, Fourth Edition15Ping and TracePing and

15、Trace verify connectivity at the Internetwork layer of the TCP/IP modelPing can return the following replies:! Successful receipt of the ICMP echo. Request timed outUDestination was unreachableCCongestion experiencedIPing interrupted?Packet type unknown&Packet TTL exceededCCNA Guide to Cisco Network

16、ing Fundamentals, Fourth Edition16Ping and Trace (continued)Using the ping command aloneReferred to as extended mode pingAllows you to enter your ping command step by stepTrace sends multiple ICMP packets with progressively higher time-to-live counters (TTL) Until the packet reaches the destinationC

17、CNA Guide to Cisco Networking Fundamentals, Fourth Edition17Ping and Trace (continued)The following responses can be returned by a trace:!H Indicates that a router received, but did not forward, the ICMP echo requestP Protocol unreachableN Network unreachableU Port unreachable* Request timed outCCNA

18、 Guide to Cisco Networking Fundamentals, Fourth Edition18IP RouteIf you cannot get connectivity using Ping or Trace, you should check your routing tableIssue the show ip route command from the enable mode promptTo display the routing tableTypically, routing tables are dynamically created when routin

19、g protocols are configured on the routerIf you want, you can use the ip route command from the global configuration modeTo statically enter routes in the routing tableCCNA Guide to Cisco Networking Fundamentals, Fourth Edition19Checking the Interfaceshow interfaces commandCheck the configuration of

20、a specific interface from the enable mode promptExample: router#show int s0/0RepliesSerial0/0 is up, line protocol is upSerial0/0 is up, line protocol is downSerial0/0 is up, line protocol is administratively downSerial0/0 is down, line protocol is downCCNA Guide to Cisco Networking Fundamentals, Fo

21、urth Edition20CCNA Guide to Cisco Networking Fundamentals, Fourth Edition21Checking the Interface (continued)Clear countersThe router keeps detailed statistics regarding data passing across its interfacesTo clear the counters for interface f0/0, type:router#clear interface f0/0debug commandOne of th

22、e most powerful tools you can use to obtain information from your routerTool is only available from privileged EXEC modeDebug has numerous subcommandsCCNA Guide to Cisco Networking Fundamentals, Fourth Edition22CCNA Guide to Cisco Networking Fundamentals, Fourth Edition23CDPCisco Discovery Protocol

23、(CDP)Cisco proprietary Data Link layer protocolShares configuration information between Cisco devices that are connected directly to each otherAll Cisco devices can use CDP to:Discover each otherLearn about the configurations of other devicesUsing CDP can help you quickly determine the network topol

24、ogyCDP was designed to be a low-overhead protocolCCNA Guide to Cisco Networking Fundamentals, Fourth Edition24CDP (continued)CCNA Guide to Cisco Networking Fundamentals, Fourth Edition25Cisco IOSCisco IOS is usually loaded from flash memoryIf the router cannot find the IOS in flash memory, it will l

25、ook for a copy on a TFTP serverIf it cannot find one there, it will boot a minimal version of the IOS from ROMIf you want to see information about your routers flash memory:Type show flash from the enable mode promptCCNA Guide to Cisco Networking Fundamentals, Fourth Edition26CCNA Guide to Cisco Net

26、working Fundamentals, Fourth Edition27Cisco IOS (continued)CCNA Guide to Cisco Networking Fundamentals, Fourth Edition28Configuration RegisterEvery Cisco router has a 16-bit configuration register, which is stored in NVRAMThis register allows you to control several boot functions:Forcing the system

27、into the bootstrap programEnabling or disabling the console Break functionSetting the console terminal baud rateLoading the IOS from ROMLoading the IOS from a TFTP serverExamine the configuration register by typing show versionCCNA Guide to Cisco Networking Fundamentals, Fourth Edition29CCNA Guide t

28、o Cisco Networking Fundamentals, Fourth Edition30Configuration Register (continued)CCNA Guide to Cisco Networking Fundamentals, Fourth Edition31ROM Monitor ModeROM Monitor modeThe bootstrap program that is built into the firmware of the routerUsed to initialize the hardware and load the IOSROM Monit

29、or can be used to perform other tasks such as diagnostics and recovering passwordsConfigure your system to enter ROM Monitor modeEnter the following command at the global configuration prompt:router(config)#config-register 0x2100CCNA Guide to Cisco Networking Fundamentals, Fourth Edition32ROM Monito

30、r Mode (continued)Configure your system to boot a smaller IOS image from ROM and enter RxBoot modeEnter the following command at the global configuration prompt:router(config)#config-register 0x2101CCNA Guide to Cisco Networking Fundamentals, Fourth Edition33RxBoot ModeRxBoot modeA limited version o

31、f the IOSEntering RxBoot mode is often done intentionally When you want to access a TFTP server to download a new IOSIf your router enters RxBoot mode without your interventionIndicates that the router could not find a good IOS imagePrompt: router(boot)CCNA Guide to Cisco Networking Fundamentals, Fo

32、urth Edition34Boot System CommandsAs long as the configuration register is configured with a 2 as the final hexadecimal digitThe ROM Monitor will look for boot system commands in NVRAM during the bootup processEnable your system to boot an IOS file from the TFTP serverIssue the following command fro

33、m global configuration mode:router(config)#boot system tftp somefile.binCCNA Guide to Cisco Networking Fundamentals, Fourth Edition35Backing Up and Restoring the IOScopy flash tftpThe command for backing up your IOS to a TFTP serverYou will be asked for the source filename, the IP address of the TFT

34、P server, and the destination filenameType erase flash at the privileged EXEC mode promptTo erase the IOSCCNA Guide to Cisco Networking Fundamentals, Fourth Edition36CCNA Guide to Cisco Networking Fundamentals, Fourth Edition37Upgrading the IOSBefore you load a new IOS file to your routerUse the sho

35、w flash command to ensure there is enough free memory to hold itThe system will tell you how much memory is used and how much is freeIf there is not enough memory to hold both the current IOS image and the upgradeYou will have to erase the existing flash memory as previously mentionedCCNA Guide to C

36、isco Networking Fundamentals, Fourth Edition38Router Password RecoveryPassword recoveryProcess that allows you to get into the router without the necessary passwordsYou must be physically connected to the router using the console cableSteps to perform password recovery on the Cisco 2600 series:Conne

37、ct to the router from a PC using the console port and the HyperTerminal programEnter the show version command and record the value of the configuration registerCCNA Guide to Cisco Networking Fundamentals, Fourth Edition39Router Password Recovery (continued)Steps to perform password recovery on the C

38、isco 2600 series: (continued)Turn the router off and on using the power switchPress Ctrl+Break several times within the first 60 seconds of bootupAt the rommon 1 prompt, type confreg 0x2142 and press EnterEnter the reset command at the rommon 2 promptEnter no if asked to enter the system configurati

39、on dialogEnter enable to get to privileged modeCCNA Guide to Cisco Networking Fundamentals, Fourth Edition40Router Password Recovery (continued)Steps to perform password recovery on the Cisco 2600 series: (continued)Enter the copy start run command to load the saved configuration file from NVRAM int

40、o RAMEnter the show run command to view the configurationTo change the enable secret command, enter the following commands:Router#config tRouter(config)#enable secret secret passwordCCNA Guide to Cisco Networking Fundamentals, Fourth Edition41Router Password Recovery (continued)Steps to perform pass

41、word recovery on the Cisco 2600 series: (continued)Enter config-register 0x2102 at the global configuration mode prompt to make sure the router reboots in the default mannerEnter the copy run start command to save your changesCCNA Guide to Cisco Networking Fundamentals, Fourth Edition42Security Devi

42、ce ManagerSecurity Device Manager (SDM)A Web-based tool primarily used for implementing and testing security configurationsCommonly used to configure routing protocols, WAN services, wireless routing, firewalls, virtual private networks (VPNs), and quality of service (QoS)SDM is typically not used t

43、o configure basic functionality on a Cisco router In fact, SDM cannot do all thingsCCNA Guide to Cisco Networking Fundamentals, Fourth Edition43CCNA Guide to Cisco Networking Fundamentals, Fourth Edition44SummaryWhen a router boots, it follows a set routineAlthough a routers boot process can vary, t

44、he typical boot process follows a standard sequenceIf the Cisco IOS is set to load from a TFTP server, but the TFTP server cannot be located, then the IOS will boot from flash memoryIf the IOS cannot be found in flash memory or on the TFTP server, then a limited version will boot from ROMCCNA Guide

45、to Cisco Networking Fundamentals, Fourth Edition45Summary (continued)If the Cisco IOS is set to load a configuration file from a TFTP server, but the file or server is not available, the configuration file will be loaded from NVRAMThe Cisco Discovery Protocol (CDP) shares information between Cisco d

46、evices about other local Cisco devicesCDP uses broadcasts to update neighbors every 60 seconds by defaultDevices share information about their interface configurations and connections to other devicesCCNA Guide to Cisco Networking Fundamentals, Fourth Edition46Summary (continued)You can verify route

47、r connectivity to other systems by using telnet to determine if there is Application layer connectivityIf you cannot get connectivity at the Application layer, try Trace and PingOne of the most important troubleshooting commands is the show interfaces commandCiscos Security Device Manager (SDM) is a Web-based tool designed to help you configure Cisco routers

展开阅读全文
相关资源
正为您匹配相似的精品文档
相关搜索

最新文档


当前位置:首页 > 医学/心理学 > 基础医学

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号