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

827-v4 Rommon

Status
Not open for further replies.

DManigo

ISP
Mar 16, 2005
71
0
0
US
I have a corrupt flash on a cisco827-v4 router.
When I try to load a new IOS via tftp (tftpdnld to be exact)
this is what I recieve:
rommon 3 > IP_ADDRESS=192.168.1.9
rommon 4 > IP_SUBNET_MASK=255.255.255.0
rommon 5 > DEFAULT_GATEWAY=192.168.1.1
rommon 6 > TFTP_SERVER=192.168.1.5
rommon 7 > TFTP_FILE= c820-v6y6.mz.123-17a.bin

monitor: command "TFTP_FILE=" not found

For some reason the router is stuck here:

rommon 2 > tftpdnld

IP_ADDRESS: 192.168.1.9
IP_SUBNET_MASK: 255.255.255.0
DEFAULT_GATEWAY: 192.168.1.1
TFTP_SERVER: 192.168.1.5
TFTP_FILE: c820-oy6-mz.123-16.bin
Upon "reset" command, the router continues to try and boot the corrupt flash. Is there anyway I can remove the corrupt flash from rommon> ?
 
I've done this procedure before and remember it worked quite well. Have you double-checked the obvious, i.e. your TFTP server is running, that it is not firewalled, the image you're specifying is located on there and in the location the TFTP server is configured to use?

Other than that, I'd probably be inclinded to source the c820-oy6-mz.123-16.bin image and put that on your TFTP server as that is what it is configured to look for. If it finds any valid image on TFTP, it should stop trying to boot from Flash.
 
its supposed to work :

Sample Output for the set ROM Monitor Command
rommon 3 > set
PS1=rommon ! >
IP_ADDRESS=172.18.16.76
IP_SUBNET_MASK=255.255.255.192
DEFAULT_GATEWAY=172.18.16.65
TFTP_SERVER=172.18.16.2
TFTP_FILE=quake/rel22_Jan_16/c2801-i-mz
Recovering the System Image (tftpdnld): Example
rommon 16 > IP_ADDRESS=171.68.171.0
rommon 17 > IP_SUBNET_MASK=255.255.254.0
rommon 18 > DEFAULT_GATEWAY=171.68.170.3
rommon 19 > TFTP_SERVER=171.69.1.129
rommon 20 > TFTP_FILE=c2801-is-mz.113-2.0.3.Q
rommon 21 > tftpdnld

IP_ADDRESS: 171.68.171.0
IP_SUBNET_MASK: 255.255.254.0
DEFAULT_GATEWAY: 171.68.170.3
TFTP_SERVER: 171.69.1.129
TFTP_FILE: c2801-is-mz.113-2.0.3.Q
Invoke this command for disaster recovery only.
WARNING: all existing data in all partitions on flash will be lost!
Do you wish to continue? y/n: [n]: y
Receiving c2801-is-mz.113-2.0.3.Q from 171.69.1.129 !!!!!.!!!!!!!!!!!!!!!!!!!.!!
File reception completed.
Copying file c2801-is-mz.113-2.0.3.Q to flash.
Erasing flash at 0x607c0000
program flash location 0x60440000
rommon 22 >

Best Regards,

Andrey
CCNA
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top