From: Sam K. (sam.futureccie@gmail.com)
Date: Tue May 13 2008 - 19:35:53 ART
Hi, I have 2 3640 Routers and both complaining with invalid magic number. I
tried the below steps but after copying the files in step 4, it's coming
back to rommon mode. I am trying to recover this mode for setting up my lab
and so far unsuccessful. Can somebody help me?
rommon 2 > boot
device does not contain a valid magic number
boot: cannot open "flash:"
boot: cannot determine first file name on device "flash:"
Thanks in advance!
======================================================== Xmodem Procedure
for Downloading a Cisco IOS Software Image onto a Cisco 3600 Router
Use this *xmodem* procedure in order to download a Cisco IOS software image
onto a Cisco 3600 Series Router.
The standard procedure uses the default console speed of 9600 bits per
second. Xmodem is a slow transfer protocol, and the transfer of a file as
large as a Cisco IOS software image could take an unacceptably long time. An
increase to the console speed on the 3600 router helps decrease the time it
takes to do the xmodem file transfer.
When in ROMMON mode, complete this procedure using the ROMMON *confreg
* utility.
1.
rommon 2 > *confreg*
do you wish to change the configuration? y/n [n]: *y*
enable "diagnostic mode"? y/n [n]: *n*
enable "use net in IP bcast address"? y/n [n]: *n*
disable "load rom after netboot fails"? y/n [n]: *n*
enable "use all zero broadcast"? y/n [n]: *n*
enable "break/abort has effect"? y/n [n]: *n*
enable "ignore system config info"? y/n [n]: *n*
change console baud rate? y/n [n]: *y*
enter rate: 0 = 9600, 1 = 4800, 2 = 1200, 3 = 2400
4 = 19200, 5 = 38400, 6 = 57600, 7 = 115200 [7]: *7*
change the boot characteristics? y/n [n]: *y*
enter to boot:
0 = ROM Monitor
1 = the boot helper image
2-15 = boot system
[0]: 0
Configuration Summary
enabled are:
load rom after netboot fails
console baud: 115200
boot: the ROM Monitor
do you wish to change the configuration? y/n [n]: *n*
You must reset or power cycle for new config to take effect
rommom 2 > *reset*
2.
Open a new hyperterminal with these settings:
Bits per second - 115200
Data bits - 8
Parity - None
Stop bits - 1
Flow control - Hardware
3.
After setting the hyperterminal, you receive a rommon prompt. Enter
the *xmodem* command. Before you enter an *xmodem* command, there
should be a software image residing in your terminal or your local hard
drive.
rommon 2 > *xmodem -c c3640-i-mz.121-7.bin*
Do not start the sending program yet...
File size Checksum File name
4936800 bytes (0x4b5460) 0x2dd7 c3640-i-mz.121-7.bin (bad
checksum: 0x13eb)
WARNING: All existing data in flash will be lost!
Invoke this application only for disaster recovery.
Do you wish to continue? y/n [n]: *y*
Ready to receive file c3640-i-mz.121-7.bin ...
4.
After this message appears, you have to download the file using *
xmodem* and this procedure:
1.
Go to Hyperterminal and click the *Transfer* menu.
2.
Select *Send File*.
3.
In the dialog box which appears, click on browse and look for
the file name on your local hard drive.
4.
Under the filename field is the Protocol drop-down box. Choose *
Xmodem*.
5.
Click *Send* to initiate the file transfer.
5.
After the transfer completes, the router will reload itself. When the
reload completes, press the *return* key to be taken to a prompt and
to reset the configuration register and the console line speed.
Router> *enable*
Router#*configure terminal*
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#*configure terminal*
Router(config)#*config-register 0x2102*
Router(config)#*line con 0*
Router(config-line)# *speed 9600*
6.
Upon changing the console speed, you will lose connectivity. Go to
your terminal program, change the baud rate to 9600, and reconnect to the
router console.
Router(config-line)#*ctrl z*
Router #*write mem*
Router #*reload*
This archive was generated by hypermail 2.1.4 : Mon Jun 02 2008 - 06:59:16 ART