-
May 21st, 2004, 11:03 AM
#1
Driver Terrier
Cisco 1700 router no flash file or ios
Ok, so at college we get to play with real routers. Two classes are arranging various schema with 3 1700 routers, switches, hubs etc. So the other group are learning tftp set ups and somehow get to erase not only the current conf file but the flash as well.
Not only did they do it once, but they managed it again!!
So we have two out of 3 routers sat there, they boot to rommon, but thats it. Devices command shows only flash, but no bin file name.
Our group are now trying to learn how to fix it. We set up the one remaining router as a tftp server with a class c address on serial 0
The flash deprived routers are hooked via console and we are trying the disaster recover tftpdnld -r routine from rommon. All the variables are set up ok, and the command executes, BUT arp cannot resolve the class C address of the router which has the good flash file.
So we try with b <filename> ip and it Comes up with "invalid magic number"
Is this fixable? Is there something obvious missing?
Never, ever approach a computer saying or even thinking "I will just do this quickly."
-
May 24th, 2004, 10:23 AM
#2
-
May 24th, 2004, 10:38 AM
#3
Driver Terrier
I think it has something to do with trying to use tftp. The other recovery method (more long winded) is using xmodem. That doesn't have the problem. It was fixed using xmodem when I came in this morning.
Apparently its an undocumented feature of cisco boxes that having just flashed the router, it asks you if you want to erase the flash you have just written.... thing is it doesn't say that, it says do you want to erase the flash file? So logically you figure it means the flash file on the tftp server you just flashed from, not the frigging file on the boot rom!
Never, ever approach a computer saying or even thinking "I will just do this quickly."
-
May 24th, 2004, 10:58 AM
#4
Banned
Originally Posted by NooNoo
Apparently its an undocumented feature of cisco boxes that having just flashed the router, it asks you if you want to erase the flash you have just written.... thing is it doesn't say that, it says do you want to erase the flash file? So logically you figure it means the flash file on the tftp server you just flashed from, not the frigging file on the boot rom!
As if the tech life isn't difficult enough, huh? Well good for you figuring it out.
-
May 24th, 2004, 03:00 PM
#5
Magic number is sometihing to do with point to point protocol. It is described in RFC 1661, the document is here. http://www.faqs.org/rfcs/rfc1661.html
-
May 26th, 2004, 08:52 AM
#6
Originally Posted by NooNoo
Ok, so at college we get to play with real routers. Two classes are arranging various schema with 3 1700 routers, switches, hubs etc. So the other group are learning tftp set ups and somehow get to erase not only the current conf file but the flash as well.
Not only did they do it once, but they managed it again!!
So we have two out of 3 routers sat there, they boot to rommon, but thats it. Devices command shows only flash, but no bin file name.
Our group are now trying to learn how to fix it. We set up the one remaining router as a tftp server with a class c address on serial 0
The flash deprived routers are hooked via console and we are trying the disaster recover tftpdnld -r routine from rommon. All the variables are set up ok, and the command executes, BUT arp cannot resolve the class C address of the router which has the good flash file.
So we try with b <filename> ip and it Comes up with "invalid magic number"
Is this fixable? Is there something obvious missing?
If the 1700's have PCMCIA slots, the easiest way know to to restore them is to go to the working router:
router>en
router#dir
<list of files here normally only one.> At least one of these is the IOS.
copy flash:"filename" slot0:"filename"
Confirm Copy "filename" to sloto:["Filename"]? "enter"
Erase Flash Slot0: [Confirm] "Y"
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeCCCCCCCC CCCCCCCCCCCCCCCCCCCCCCCCCCCCC
router#
after it is done remove the flash card and insert it in to slot0 of the downed routers and reload them. The bootloader will find and load the IOS from the flash card an get you up and running. Then:
router>en
router#copy slot0:"filename" flash:"filename"
Confirm copy ["Filename"] to flash:["Filename"]"enter"
Erase Flash? [Confirm] "Y"
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeCCCCCCCC CCCCCCCCCCCCCCCCCCCCCCCCCCCCC
at this point pull the flash pcmcia card
router# reload
The boot strap should find the new flash file and load up, if not you may need to do this:
router>en
router#config t
router(config t)#boot system flash flash:"filename"
router(config t)#end
router#copy run start
router#reload
~Chris
PS if im wrong: Sorry I don't know nearly as much about the 1700 series as I do the 2600 and 3600 series
this is how we recover the 2620 and 3620's at school.
Last edited by imagoon; May 26th, 2004 at 08:56 AM.
Similar Threads
-
By Ruslan in forum Tech-To-Tech
Replies: 7
Last Post: December 15th, 2011, 09:13 PM
-
By techie211 in forum Networking
Replies: 2
Last Post: December 21st, 2002, 11:16 AM
-
By klintman in forum Windows NT/2000
Replies: 1
Last Post: December 12th, 2002, 10:34 AM
-
By CampbellD in forum Networking
Replies: 3
Last Post: August 16th, 2001, 04:05 PM
-
By thirdfey in forum Networking
Replies: 7
Last Post: May 29th, 2001, 03:05 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|
Bookmarks