Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how do i load a new image on cisco router
#1
Hi there,

I have a i Cisco 7200 router who image was deleted mistakenly,
Please, how can load a new image. At the console, see rommon 1 > at start.

thank you very much for your help and advice in advance

Kamalucien
Reply
#2
Before starting the procedure of IOS upgrade or installation, you will need to install TFTP server software on a PC connected to the router Ethernet interface.

Afterwards, make sure to direct the TFTP server to the folder containing the new IOS image that you have.

1. Create a console connection with the default settings (9600 baud, 8 databits, 0 parity bits, 1 stop bit, no flow control).

2. If your flash or IOS file are corrupted and your router goes directly to router boot mode (Router(boot)#), go to step 4. If your router has some problems and boots into the ROMmon mode directly(rommon 1> or >), go to step 3. If your router boots normally, interrupt the router boot sequence by pressing Ctrl-Break once the router is powered on. This will take you to ROMmon mode with the prompt:

rommon 1>

Or

>

3. Change the value of the configuration register to 0x2101 to instruct the router to boot into router boot mode. Afterwards, reload the router.

If you have the ?rommon 1>? prompt use the commands:

rommon 1> confreg 0x2101

rommon 2> reset

While if you have the ?>? prompt, use:

> o/r 0x2101

> i

4. Now you are in the router boot mode with the prompt (Router(boot)#), you will need to give a valid IP address and default-gateway address to the router so it can communicate with the TFTP server.

Router(boot)>enable

Router(boot)#configure terminal

Router(boot)(config)#interface ethernet 0

Router(boot)(config-if)#ip address ZZZ.ZZZ.ZZZ.ZZZ 255.255.255.0   

Router(boot)(config-if)#no shutdown

Router(boot) (config-if)#exit

Router(boot)(config)#ip default-gateway YYY.YYY.YYY.YYY

5. Check the connectivity between the router and the TFTP server with the ?ping? command.

6. Start the copying of the new IOS file from the TFTP server to the flash.

Router(boot)#copy tftp flash

Now you will be asked for the IP address of the TFTP server

Address or name of remote host [255.255.255.255]? XXX.XXX.XXX.XXX

Then, the source file name,

Source file name? cXXXX-X-X.XXX-XXX.bin

Please note that the file name is case sensitive and make sure that the TFTP server?s working directory is the one containing the new IOS file.

Afterwards, you will be asked for a destination file name,

Destination file name [cXXXX-X-X.XXX-XXX.bin]?

It is advised that you keep the file name unchanged for future reference.

Accessing file 'cXXXX-X-X.XXX-XXX.bin' on XXX.XXX.XXX.XXX...

Loading cXXXX-X-X.XXX-XXX.bin from XXX.XXX.XXX.XXX (via Ethernet0):

! [OK]  Device needs erasure before copying new file

Erase flash device before writing? [confirm]y

Copy 'cXXXX-X-X.XXX-XXX.bin' from server as 'cXXXX-X-X.XXX-XXX.bin' into Flash

WITH erase? [yes/no]yes

Erasing device...

eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee

eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee

eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee  ...erased



Loading cXXXX-X-X.XXX-XXX.bin from XXX.XXX.XXX.XXX (via Ethernet0): !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

!!!!!!!!!!!!!!!!!!



[OK - xxxxxx/yyyyyyy bytes]Verifying checksum...  OK (0x6526)

Flash device copy took 00:yy:yy [hh:mmConfuseds]

Router(boot)#

7. Change back the configuration register value to 0x2102.

Router(boot)#configure terminal

Router(boot)(config)#config-register 0x2102

Router(boot)(config)#exit

Router(boot)#

8. Reload the router

Router(boot)#reload

System configuration has been modified. Save? [yes/no]: no

  Building configuration...

  [OK]

  Proceed with reload? [confirm]

9. Everything should look fine now, and you should be getting the regular (Router>) prompt. To check the version and file name of the new IOS, use the ?show version? command.

HTH
Reply
#3
hi HTH,

i can not get to the  Router(boot)> prompt even after changing the confreg to 0x2101. i am still at rommon 1 > prompt.
what is suppose to be the settings of the other parameters like the boot, console baud  etc after typing the confreg command?

HTH, before the image was mistakingly erase, it use to boot to the router(boot) prompt. Please, what do i have to do next to get this router up?

thanks for your help in advance

Themayor
Reply
#4
rommon1>set
rommon2>IP_ADDRESS=x.x.x.x
rommon3>IP_SUBNET_MASK=y.y.y.y
rommon4>DEFAULT_GATEWAY=x.x.x.x
rommon5>TFTP_SERVER=x.x.x.x
rommon6>TFTP_FILE=c7200-bla-blabla.whatever
rommon7>tftpdnld
Then it goes through and posts what the parameters you set are...then it says something like
"This is for disaster recovery only...all files on flash will be lost, dude!
Do you wish to continue? y/n:  [n]:  y

Then it should get the file and load it onto the flash, and it erases it before that (eeeeeeeeeeeeeeeeeeeeeeeeeeeeeee...)
This should work as long as you have everything connected correctly and all parameters set correctly...
VERY IMPORTANT! All commands I just typed above that are in CAPS MUST BE IN CAPS! And all others (set, tftpdnld) must be in small letters.
If you have too much trouble with this, just use XModem (with HyperTerminal). This you can Google.

Tim
Reply
#5
By the way, lordflasheart's name is not HTH---"HTH" means Hope This Helps!

Tim
Reply
#6
One more thing...after it downloads the image and loads in to flash, then
rommon9>confreg 2102
rommon10>reset

Tim
Reply
#7
Hello. I am very new here (and to routers). I stumbled across this. I tried and got the message
TFTP: Error, Insufficient flash installed to load image
Whats next?

(02-17-2008, 10:42 PM)directly_connected link Wrote:rommon1>set
rommon2>IP_ADDRESS=x.x.x.x
rommon3>IP_SUBNET_MASK=y.y.y.y
rommon4>DEFAULT_GATEWAY=x.x.x.x
rommon5>TFTP_SERVER=x.x.x.x
rommon6>TFTP_FILE=c7200-bla-blabla.whatever
rommon7>tftpdnld
Then it goes through and posts what the parameters you set are...then it says something like
"This is for disaster recovery only...all files on flash will be lost, dude!
Do you wish to continue? y/n:  [n]:  y

Then it should get the file and load it onto the flash, and it erases it before that (eeeeeeeeeeeeeeeeeeeeeeeeeeeeeee...)
This should work as long as you have everything connected correctly and all parameters set correctly...
VERY IMPORTANT! All commands I just typed above that are in CAPS MUST BE IN CAPS! And all others (set, tftpdnld) must be in small letters.
If you have too much trouble with this, just use XModem (with HyperTerminal). This you can Google.

Tim
Reply
#8
Can you verify whether or not the Flash is good/bad?
Reply


Forum Jump:


Users browsing this thread: 6 Guest(s)