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 John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

rommon 1> dir flash: problem

Status
Not open for further replies.

fsloke

Technical User
Jul 23, 2007
3
MY
I read the CISCO documentation
*******************************

The first thing you need to do is issue the dir flash: command for each available device, and look for a valid
Cisco IOS® Software image.
rommon 3 > dir flash:
File size Checksum File name
3307884 bytes (0x804b4c) 0x6ba0 c1700?ny?mz.121?6.bin
rommon 4 >

******************************************************

The problem is I cannot find the available device. A WARNING come out. I can remember It say something like "No support magic number"

Actually what going on?

I take a wide guess, I not loading the flash into the Router. So there does not have any device output. Is this correct?

Thank you
 
You will need to reload a new Flash file. Sometimes files can get corrupted.

So you will need to reload a new file to that router.

IP_ADDRESS=
SUBNET_MASK=
DEFAULT_GATEWAY=
TFTP_SERVER=
TFTP_FILE= (This needs to be exactly what the file says in the TFTP Server)
tftpdnld

Then it will start the TFTP download, then it will erase the old flash and copy the new flash file to Flash. When that's done press b, to boot it....or if you have a BOOT=(old image)

Then you would need to do a command:

BOOT=
sync
reset


You also might want to check the memory requirement for any given flash to make sure it runs right and boot.


Hope this helps


***************
R. Corrigan Jr.
Network+, (working on CCENT+CCNA)
 


The command that CiscoRC gave only works for routers that have and Ethernet port build into them, if you are working with something like a 3640 where there is no ethernet port build on, you will have to use the xmodem command, to load a new IOS into the flash drive.

Scott

"Global Warming is caused by the sun" - Anonymous

 
Yup, you will need a PCMCIA Flash card to get it to Flash:. Without that, or any mods, then that router would be a sitting duck.

You'll need to get one that has a file in it, this can be hard if you have no files on the pcmcia flash card, and no module ethernet port.

So what you may need is a:

NM-1FE-TX Fast Ethernet Module

This is not cheap....

Simple 1 port Fast Ethernet, then you can use the command provide above to download the Flash file to your Flash: Directory. After you do that, get a pcmcia flash card, in Router mode:

Router#copy flash:(file name) slot0: (or slot1:)




***************
R. Corrigan Jr.
Network+, (working on CCENT+CCNA)
 
Get it fixed? What CiscoRC said in the first post (setting the ip address, default gateway, image name, etc.) is what you need to do...this begins with the command "set"
rommon 1>set
rommon 2>IP_ADDRESS=x.x.x.x
rommon 3>SUBNET_MASK=x.x.x.x
rommon 4>DEFAULT_GATEWAY=x.x.x.x
rommon 5>TFTP_SERVER=x.x.x.x
rommon 6>TFTP_FILE=c1700-xxxxxx-12.x.bin (whatever the file name is, including the .bin)
rommon 7>tftpdnld
Then follow the prompts---it will repeat the parameters you just set, and ask "yes" or "no" to a few things, and warns you that this is used for disaster recovery only, bla bla bla.
The computer connected to the ethernet port, or switch, is what the tftp server is. I also put the same IP address of the tftp server as the default gateway out of habit, but in this case, the default gateway is not needed. Then before transfering the image, you need a tftp server program running in the backround, with the image you intend to load in the default directory of the tftp server (I usually put it right in front, on C:\ on a Windows box, or /tftp in UNIX). Then you are good to go. Let us know if you are successful with this, or if you need a tftp program.

Burt
 
plshlpme, if you had paid attention to what, Saw164 said, then you would understand why I mentioned the PCMCIA Flash Card...pay attention..I also gave the exact instructions above a few posts, simple to do to retrieve the file from the TFTP Server using Ethernet cable, or Fast Ethernet.

Burt, I gave that same exact info above a few posts...no one is paying attention...

I do this every day, never had any problems...

***************
R. Corrigan Jr.
Network+, (working on CCENT+CCNA)
 
Uh, okay...first off, I think plshlpme and I ARE paying attention, as we both saw the image his router was looking for was for a 1700, and also, you forgot the command "set" to start things off, not to mention all the other steps with the tftp server stuff. Why the hostile attitude?

Burt
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top