Link to home
Create AccountLog in
Avatar of dvanaken
dvanakenFlag for United States of America

asked on

Cisco 1720 flash filesystem erased

Cisco 1720 flash has been erased and there is no filesystem (so I can't download a new image).  I only have ROMMON> and can't find any commands to create a new FLASH: filesystem.   What steps do I take at this point to get to the point where I can download an image using XMODEM or IP?
Avatar of tvman_od
tvman_od
Flag of United States of America image

1720 is capable of downloading over TFTP
You don't need to format flash.

For TFTP download you will need to set some Variables
IP_ADDRESS= ip_address
IP_SUBNET_MASK= ip_address
DEFAULT_GATEWAY= ip_address
TFTP_SERVER= ip_address
TFTP_FILE= filename

http://www.cisco.com/en/US/docs/routers/access/1700/1701/software/configuration/guide/rom_mon.html
SOLUTION
Avatar of yasirirfan
yasirirfan
Flag of Saudi Arabia image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
This sample is for 1600 routers with external flash card. XMODEM is much slower then TFTP. Over TFTP it takes just few seconds for actual download. It's really helpfull if after XMODEM download the image refuses to work...
Avatar of dvanaken

ASKER

Thanks, guys.  I actually know how to download the image.  The problem is that the FILESYSTEM itself does not exist on the FLASH.  I erased it when I was trying to delete the existing flash image file.  Now I can't do DIR (device error), etc.  I can't find a command to create the filesystem (dir structure, etc).  For example, when I  XMODEM the image, I get an error that there is no filesystem - can't write the file.  I am home for the weekend, but I can post the exact error Monday.  Thanks --Dale
Use tftpdnld  -r command from rommon, load and start image from TFTP, then erase flash one more time from IOS and then load new image using "copy tftp flash" command. If it's not working, there is a chance of having damaged flash chip. I had a situation when all the content of the flash on 1751 just disapeared and flash refused to write anything on it.
Hey tvman-

Thanks for the ideas - I didn't think of loading the image into RAM and running it.  However, you breezed by a few steps there,  Can you give me some more details?  I'm not a router newbie but Cisco CLI is fairly new to me.  Thanks -Dale
ASKER CERTIFIED SOLUTION
Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
Sorry it took me a long time to get back to this.