877 Router IOS Issue

Answered Question
Aug 24th, 2010

Hey

I managed to wipe my IOS from my Cisco 877 Series router.

Now using TFTP I have managed to reload the software and boot up the Router (previously I was stuck in Rommom mode).

If I power the router off and turn it back on I am brought back to Rommom mode again and have to reload the IOS again.

What command do I need to use to make the newly downloaded bin file my main flash file that the router now boots from?

Thanks a mil

I have this problem too.
0 votes
Correct Answer by Nagaraja Thanthry about 6 years 5 months ago

Hello,

What option are you using when you TFTP the IOS to the router? Are you by

any chance using "tftpdnld -r" option? Please try the following:

Step 1: Upload the file via tftpdnld (like before)

Step 2: Boot the router

Step 3: Check the flash content and make sure that image is there.

Issue the command "show flash" at "Router#" prompt

Step 4: If the image is missing, copy the image

Issue the command "copy tftp flash" at "Router#" prompt

Step 5: Set the configuration register value to 0x2102

Issue the command "config-register 0x2102" at "Router(conifg)#" prompt

Step 6: Make sure that there is no boot statement in your configuration

Issue the command "show run | i boot system" command at "Router#" prompt and

make sure that there is no output for that command

Hope this helps.

Regards,

NT

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (2 ratings)
Loading.
Paolo Bevilacqua Tue, 08/24/2010 - 02:31

A quick search would have revealed this to you.

config-reg 0x2102

And, you can boot from an image in flash at rommon prompt.

drikilbride Tue, 08/24/2010 - 02:34

I couldnt boot from Rommon mode as there was no bin image at all and an error kept

being thrown back. I will try that other command, thanks.

Paolo Bevilacqua Tue, 08/24/2010 - 02:42

What I mant, after you boot from TFTP, the image is copied to flash, no no further TFTP is necessary.

Please remember to rate useful posts clicking on the stars below.

drikilbride Tue, 08/24/2010 - 02:56

Hi

I reloaded my bin file from my tftp server, then went into config t when the router booted up and typed in config-reg 0x2102 as described.

I then did a copy run start.

When I powered off the router and powered it back on again I got

No bootable image: flash:/

Unable to open boot file

And I am back at the Rommon prompt again

Any ideas?

Thanks

EPHRAIM MANI Tue, 08/24/2010 - 02:57

Please publish the output of

Step1:rommon 1 > dir flash:

change the registry value

Step2: rommon 1 > confreg 0x2101  or   rommon 1 > confreg 0x2102

boot the system

Step3: rommon 2 >

boot

Correct Answer
Nagaraja Thanthry Tue, 08/24/2010 - 05:30

Hello,

What option are you using when you TFTP the IOS to the router? Are you by

any chance using "tftpdnld -r" option? Please try the following:

Step 1: Upload the file via tftpdnld (like before)

Step 2: Boot the router

Step 3: Check the flash content and make sure that image is there.

Issue the command "show flash" at "Router#" prompt

Step 4: If the image is missing, copy the image

Issue the command "copy tftp flash" at "Router#" prompt

Step 5: Set the configuration register value to 0x2102

Issue the command "config-register 0x2102" at "Router(conifg)#" prompt

Step 6: Make sure that there is no boot statement in your configuration

Issue the command "show run | i boot system" command at "Router#" prompt and

make sure that there is no output for that command

Hope this helps.

Regards,

NT

drikilbride Tue, 08/24/2010 - 06:30

Ah thanks a mil, that worked perfectly! All back up and running again.

Actions

This Discussion

Related Content