09-07-2009 08:20 AM - edited 03-04-2019 05:57 AM
Hi,
I recently upgraded the IOS platform of C871 we use in our network. I forgot to issue the router config command "boot system flash: 'name of file' . When i reloaded the router, it keeps booting to romon.
I've tried using "confreg 0x2102" command in the the Romon environment but to no avail. I've done reset and i am even thinking of booting the router from a tftp server but i dont know how and if it will be possible.
Can someone help me with idea on how to solve this?
Thanks.
Tom
Solved! Go to Solution.
09-08-2009 01:43 PM
Here are some guidelines if you need to boot from USB:
1. Maximum size of USB is 2Gb;
2. Format the USB first (command: format usbflash0:) before copying files into it; and
3. Set boot statement (boot system usbflash0:).
Hope this helps. Please rate when helpful or applicable.
09-07-2009 08:47 AM
Hi TOM,
try on the romon mode the following:
1- confreg 0x2102
2- reset
after you successfuly configure the router , change the config register to 0x2102 and reload , and boot system flash, the next reload for the router should be from the NVRAM.
HTH
Mohamed
09-07-2009 09:44 AM
Hi Mohammed,
That's the first thing i did, but i didn't work. look at the output i got:
System Bootstrap, Version 12.3(8r)YI4, RELEASE SOFTWARE
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 2006 by cisco Systems, Inc.
C870 series (Board ID: 3-148) platform with 131072 Kbytes of main memory
Booting flash:/c870-advsecurityk9-mz.124-24.T1.bin
ELF Loader: read error
Elf loader error
System Bootstrap, Version 12.3(8r)YI4, RELEASE SOFTWARE
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 2006 by cisco Systems, Inc.
C870 series (Board ID: 3-148) platform with 131072
Booting flash:/c870-advsecurityk9-mz.124-24.T1.bin
ELF Loader: read error
Elf loader error
System Bootstrap, Version 12.3(8r)YI4, RELEASE SOFTWARE
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 2006 by cisco Systems, Inc.
C870 series (Board ID: 3-148) platform with 131072 Kbytes of main memory
rommon 1 > confreg 0x2102
rommon 2 > reset
rommon 3 >
System Bootstrap, Version 12.3(8r)YI4, RELEASE SOFTWARE
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 2006 by cisco Systems, In
C870 series (Board ID: 3-148) platform with 131072 Kbytes of main memory
Booting flash:/c870-advsecurityk9-mz.124-24.T1.bin
ELF Loader: read error
Elf loader error
System Bootstrap, Version 12.3(8r)YI4, RELEASE SOFTWARE
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 2006 by cisco Systems, Inc.
C870 series (Board ID: 3-148) platform with 131072 Kbytes of main memory
Booting flash:/c870-advsecurityk9-mz.124-24.T1.bin
ELF Loader: read error
Elf loader error
System Bootstrap, Version 12.3(8r)YI4, RELEASE SOFTWARE
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 2006 by cisco Systems, Inc.
C870 series (Board ID: 3-148) platform with 131072 Kbytes of main memory
rommon 1 >
what do you think?
Thanks.
Tom
09-07-2009 10:55 AM
Hi Tom,
Could you try the command " tftpboot " in the romon.
It should thenshow you what you have to enter.
HTH
Mohamed
09-07-2009 02:30 PM
Hi Tom,
What's the flash and DRAM of your router?
Try to download (again) the IOS and use TFTPDNLD to copy the IOS to your router. I am suspecting that the IOS got corrupted.
How to Download a Software Image to a Cisco 2600 via TFTP Using the tftpdnld ROMMON Command
http://www.cisco.com/en/US/products/hw/routers/ps259/products_tech_note09186a008015bf9e.shtml
Now, here's the interesting part. You have an c870 router which comes with 2 USB port. If you have any spare USB flash drive with a maximum size of 2Gb, why don't you copy the IOS from the router to the USB? Because you have one of the latest bootstrap, you are able to boot the router FROM the USB flash drive.
If you are interested in this option, make sure you format the USB flash drive first before you copy any IOS into it.
Hope this helps.
09-07-2009 11:38 PM
Hi,
Thanks so much.
I'll look at the reference above and see how to implement it.
Please how can i boot from the USB flash as you suggested above. I think it may be the easier option because i downloaded the ios to my system and the 871 has 2 USB ports.
Is there any link you can refer me to for more info?
Thanks.
Tom
09-08-2009 01:43 PM
Here are some guidelines if you need to boot from USB:
1. Maximum size of USB is 2Gb;
2. Format the USB first (command: format usbflash0:) before copying files into it; and
3. Set boot statement (boot system usbflash0:).
Hope this helps. Please rate when helpful or applicable.
09-09-2009 02:30 PM
Thanks for the rating Tom.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide