Presentation is loading. Please wait.

Presentation is loading. Please wait.

1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 2 Module 5 Managing Cisco IOS Software.

Similar presentations


Presentation on theme: "1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 2 Module 5 Managing Cisco IOS Software."— Presentation transcript:

1 1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 2 Module 5 Managing Cisco IOS Software

2 222 © 2003, Cisco Systems, Inc. All rights reserved. Objectives Router boot sequence and verification Managing the Cisco file system

3 333 © 2003, Cisco Systems, Inc. All rights reserved. Router Startup Sequence The startup routines must do the following: Test the router hardware Find and load the Cisco IOS software Find and apply configuration statements such as protocol functions and interface addresses

4 444 © 2003, Cisco Systems, Inc. All rights reserved. How a Cisco Device Locate and Load IOS The default source for Cisco IOS software depends on the hardware platform. Most routers use the boot system commands saved in NVRAM. Cisco IOS software allows several alternatives to be used. Other sources can be specified for the software, or the router can use its own fallback sequence to load the software.

5 555 © 2003, Cisco Systems, Inc. All rights reserved. Locating Cisco IOS Software

6 666 © 2003, Cisco Systems, Inc. All rights reserved. Using the boot system Command

7 777 © 2003, Cisco Systems, Inc. All rights reserved. Retrieve the Configuration Register Values

8 888 © 2003, Cisco Systems, Inc. All rights reserved. Configuration Register The configuration register is a 16-bit register in NVRAM that is represented as 4 hexadecimal digits. The lowest four bits of the configuration register form the boot field. Then use the config-register command and change only the value of the last hexadecimal digit.

9 999 © 2003, Cisco Systems, Inc. All rights reserved. Configuration Register Values The order in which the router looks for system bootstrap information depends on the Boot Field setting in the configuration register. You can change the default configuration register setting with the global configuration mode command config-register. Use a hexadecimal number as the argument for this command.

10 10 © 2003, Cisco Systems, Inc. All rights reserved. Identifying Boot Image Source

11 11 © 2003, Cisco Systems, Inc. All rights reserved. Troubleshooting IOS Boot Failure There are several reasons that a router may not boot properly: Configuration file has missing or incorrect boot system statement – the boot system statement may point to an incorrect IOS image, use the no version of the command to delete the statement. Incorrect configuration register value – change the configuration register and save this as the start-up configuration Corrupted flash image – a new IOS should be uploaded into the router. Hardware failure – contact the Cisco Technical Assistance Center

12 12 © 2003, Cisco Systems, Inc. All rights reserved. Software Components in Memory Router and switch require IOS and configuration file. The Cisco IOS is the software that allows the hardware to function as a router or switch. The configuration contains the instructions that define how the device is to route or switch. A network administrator creates a configuration that defines the desired functionality of a Cisco device. The IOS is stored in a memory area called flash. A copy of the configuration file is stored in NVRAM to be used during startup.

13 13 © 2003, Cisco Systems, Inc. All rights reserved. Managing Configuration Files Using TFTP The startup configuration should be backed up in case the configuration is lost. TFTP server can be used to back up the configuration files for a Cisco device

14 14 © 2003, Cisco Systems, Inc. All rights reserved. Managing Configuration Files Using TFTP The backup configuration file can be loaded from a TFTP server to restore the router configuration.

15 15 © 2003, Cisco Systems, Inc. All rights reserved. Managing Configuration Files Using Copy and Paste

16 16 © 2003, Cisco Systems, Inc. All rights reserved. Managing IOS Images Using TFTP To store IOS images on a TFTP server

17 17 © 2003, Cisco Systems, Inc. All rights reserved. The confreg Command The console speed can be changed from ROMmon mode using the confreg command. ROMmon and Xmodem can be used to restore IOS software images

18 18 © 2003, Cisco Systems, Inc. All rights reserved. Managing IOS Using XModem The xmodem command can be used from the ROMmon mode to restore an IOS software image from the PC

19 19 © 2003, Cisco Systems, Inc. All rights reserved. Managing IOS Using Xmodem Continued Now the Xmodem transfer needs to be started from the terminal emulator. In HyperTerminal, select Transfer > Send File. In the Send File popup specify the image name and location, select Xmodem as the protocol, and start the transfer. The Sending File popup will display the status of the transfer.

20 20 © 2003, Cisco Systems, Inc. All rights reserved. Managing IOS Using TFTP Since the ROMmon has very limited functions, no configuration file is loaded during boot. The router therefore has no IP or interface configuration. The environmental variables provide a minimal configuration to allow for the TFTP of the IOS. To set a ROMmon environment variable, the variable name is typed, then the equal sign (=), and the value for the variable (VARIABLE_NAME=value). For example, to set the IP address to 10.0.0.1, type IP_ADDRESS=10.0.0.1 at the ROMmon prompt.

21 21 © 2003, Cisco Systems, Inc. All rights reserved. The set Command The IOS can also be restored from a TFTP session. The fastest way to restore an IOS image to the router is to use TFTP from ROMmon to download the image. Set the environmental variables and then use the tftpdnld command.

22 22 © 2003, Cisco Systems, Inc. All rights reserved. The tftpdnld Command As each datagram of the IOS file is received, an exclamation point (!) will be displayed. Router can be restarted by entering the reset command or typing i.

23 23 © 2003, Cisco Systems, Inc. All rights reserved. File System Verification There are several commands that can be used to verify the router file system. show version show flash

24 24 © 2003, Cisco Systems, Inc. All rights reserved. The show flash Command


Download ppt "1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 2 Module 5 Managing Cisco IOS Software."

Similar presentations


Ads by Google