Managing IOS Images


Managing IOS Images

Broad Objective:
To create and load a backup copy of Cisco IOS software image in case you lose software image in the router.

Other Objectives:

  1. Getting new IOS image from Cisco
  2. Backing up the currently used, older version from your routers.
  3. Updating your router with new images.
  4. Testing new image
 Following steps are required to upgrade an IOS image in to flash memory:

Step1: Obtain an IOS image from Cisco.

Step2: Place the IOS image in to the default directory of TFTP server (also called Network server).

Step3: Copy the file into flash memory.

Command to copy the IOS image to Flash Memory

Router#copy tftp flash

This command will prompt you for the IP address of the remote host (tftp server) and the name of the source and destination system image file.

Each exclamation point (!) means that one User Datagram Protocol (UDP) segment has been successfully transferred.

Recovering Password

Before proceeding password recovery we need to keep following points into our consideration:
By default router gets booted from flash.

Step


Function

How to DO This for 1600,2600,3600,4500,7200,
7500
How to DO This for 2500,3000,4000,7000
1.
Turn router off, and then turn it on.

Use the power switch
Same as other routers.
2.
Press the Break key within the first 60 seconds.


Find the Break key on your
console devices keyboard.
Ctrl+break.
Same as other routers.
3.
Change the configuration register so that bit 6 is 1.

Use the rommon command
confreg, and answer the prompts.

Use the rommon command o/r 0x2142 at the > prompt to boot from flash memory or o/r 0x2141 to boot from the boot ROMs.

4.
Cause the router to load
an IOS.

Use the rommon reload/reset
Command or, if unavailable,
Power off and on.

Use rommon command
Initialize command to initialize the router.
5.
Avoid using setup mode,
which will be prompted for at console.
Just say no.
Same as other routers.
6.
Enter privileged mode at console.

Press Enter and use enable
command (no password
required).

Same as other routers.
7.
View startup config to see unencrypted passwords.

Use exec command show
startup-config.

Same as other routers.
8.
Use appropriate config
commands to reset
encrypted commands.


To change the password, if it is encrypted, enter the following command, for example:
Router#copy start run
Router#config t
Router(config)#enable secret 123
Same as other routers.
9.
Enable all interfaces.
Give no shutdown command. for example:

Router(config)#int e0
Router(config-if)#no shutdown


10.
Save new password.

Use the following command: Router(config-if)#ctrl-z
Router(config)#copy running-
config startup-config

Same as other routers.
11.
Change config register back to original value.

Use following config command:
Router(config) #config-reg 0x2102

Same as other routers.
12.
Reload the router
Enter the following reload command at the privileged EXEC prompt:
Router#reload
Same as other routers.


Post a Comment

0 Comments

';