Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Deleted Flash

Status
Not open for further replies.

Ciscopadawan

Technical User
Apr 15, 2003
4
DE
My Cisco Networking Academy Class's "peer's"(2nd Semester people just learning how to program routers) accidentally deleted the flash on one of our cisco 2600 routers. Our instructor's don't know what to do and we (4th semester pukes) are sadly ignorant. We need help. what should we do?
IMHO anything would be help, but specifity (step by step so we could learn) would be fantastic.
Thank you very much for your help an advance.
 
Sigh, you have intructors teaching this stuff that don't know how to deal with the flash memory?

Basically you need to get the IOS image and then reflash it via tftp..

sigh.. double sigh..


BuckWeet


 
I've been sighing the same way too but it happens and I deal with it(there's and MY OWN ignorance)... Anyway do I get the ios file from another 2600 router (if so how do i do this?) or from the web? Also if the router's only in rommon ( or doesn't have an ip address) how can i transfer the file to the empty router? What TFTP Software is best for NT and is there help setting it up?
 
Damn! I tested the URL and it's not working correctly, don't fret, go to and do a search for xmodem IOS and it's the first option that comes up.
 
Youu can grab the IOS file from another 2600 (if it is the same model/design and same IOS you had before this is better). You can use Ciscos TFTP server or just download one they're pretty simple to set-up (normaly just a plain old install, click next,next...etc).

You don't need to do anything special to get the router to talk to the tftp server. Use the comman below as a guide to copy the IOS from the working Router to your pc running as a TFTP server...in this case I show an older version 11.1 IOS (don't know whay you are using, guessing most likely 12.1? anyhow this will still work the same.

R2#copy flash tftp

System flash directory:
File Length Name/status
1 3928052 igs-i-l.111-24.bin
[3928116 bytes used, 266188 available, 4194304 total]
Address or name of remote host [255.255.255.255]? 10.1.1.1

Source file name? igs-i-l.111-24.bin

Destination file name [igs-i-l.111-24.bin]?

Verifying checksum for 'igs-i-l.111-24.bin' (file # 1)... OK
Copy 'igs-i-l.111-24.bin' from Flash to server
as 'igs-i-l.111-24.bin'? [yes/no] yes

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

Now that you have the copy of a good Image for your flash you can hook up the console of the router that had been erased. Make sure the pc that has the TFTP service running on it is connected to a switch or hub with the ethernet interface of the bad router.

Next seeing as the router will load into rommon mode only we need to setup a few values like this:
The variables that you must specify include the following:

IP_ADDRESS—IP address for the router you are using.


IP_SUBNET_MASK—Subnet mask for the router you are using.


DEFAULT_GATEWAY—Default gateway for the router you are using.


TFTP_SERVER—IP address of the server from which you want to download the image file.


TFTP_FILE—Name of the file that you want to download.


You do it like this:
rommon > tftpdnld

rommon 1 > IP_ADDRESS=172.15.19.11

rommon 2 > IP_SUBNET_MASK=255.255.255.0

rommon 3 > DEFAULT_GATEWAY=172.16.19.1

rommon 4 > TFTP_SERVER=172.15.20.10

rommon 5 > TFTP_FILE=/tftproot/c2600-i-mz.bin

rommon 6 > tftpdnld


after the last command the download will begin
note the file path will be different on command line 5 for you as will the name of the image

suggested reading (rommon commands)

 
Xmodem is also a good way to do this, actually I prefer using xmodem. However, I figured for classroom purposes you may want the other way. Classroom you ussually teach the long way first then show the shortway as something they can try to pick up on their own.
 
Well he should have no issues with fixing his problem...now all he needs to do is teach the teacher...
 
Thanks! I tried both ways (plenty of routers to play with) and learned alot. Thank you for the great response.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top