05-04-2007 07:57 PM - edited 03-03-2019 04:50 PM
Hi All,
For various reasons I need to copy an IOS image to my MC3810 router via ROMMON mode.
However when I try the "copy xmodem: flash:" command or "copy xmodem flash" I receive the error "xmodem:: permission denied".
I have searched and searched but can't find what the solution is to this. I suspect I may need to alter a config register but unsure of what to change it to etc.
Any help or suggestions greatly appreciated!
05-04-2007 10:27 PM
Hi,
Please follow this document to do the xmodem:
http://www.cisco.com/warp/public/130/xmodem_generic.html
NOTE: Because this procedure relies on the console speed of the router and the serial port of the PC, it can take a long time to download an image.
HTH, please rate if it does help,
Mohammed Mahmoud.
05-05-2007 03:26 PM
Hi Mohammed,
Thanks for the suggestion however I have also tried the xmodem command. When I do this I get an "unknown command" response.
Any other ideas that I can try? I am not concerned about how long it takes, I just need to get it up and running.
05-05-2007 11:51 PM
Hi,
It seems that the logic of the Cisco MC3810 Series recovery is different, kindly use follow this documet, and please don't hesitate for any further inquires:
You have to use the rommon 1> priv command to have access to the full set of ROM monitor commands.
http://www.cisco.com/univercd/cc/td/doc/product/access/multicon/3810fru.htm
HTH, please do rate all helpful replies,
Mohammed Mahmoud.
05-07-2007 12:54 PM
Hi Mohammed,
Thanks heaps for the suggestion of enterring the 'priv' command first.
Unfortunately I also had no luck with that :(
Below is the output of the exact ver I am running and what I have tried. I hope I don't have a very big paperweight on my hands!
System Bootstrap, Version 11.3(1)MA1, MAINTENANCE INTERIM SOFTWARE
Copyright (c) 1998 by cisco Systems, Inc.
Compiled Sat 24-Jan-98 14:55 by krunyan
PPC860 PowerQUICC, partnum 0x0000, version A03(0x0013)
MC3810 platform with 32768 Kbytes of main memory
rommon 1 > priv
You now have access to the full set of monitor commands.
Warning: some commands will allow you to destroy your
configuration and/or system images and could render
the machine unbootable.
rommon 3 > fsck flash:
Initialize Flash file system.....
total size = 8388608
Initializing Flash...
flashfs[0]: 0 files, 1 directories
flashfs[0]: 0 orphaned files, 0 orphaned directories
flashfs[0]: Total bytes: 8128000
flashfs[0]: Bytes used: 1024
flashfs[0]: Bytes available: 8126976
flashfs[0]: flashfs fsck took 1 seconds.
...done Initializing Flash.
Flash SIMM Init OK
Are you sure you want to fsck "flash:" (could take several minutes) (y/n)?y
flashfs[0]: 0 files, 1 directories
flashfs[0]: 0 orphaned files, 0 orphaned directories
flashfs[0]: Total bytes: 8128000
flashfs[0]: Bytes used: 1024
flashfs[0]: Bytes available: 8126976
flashfs[0]: flashfs fsck took 1 seconds.
rommon 4 > tftpdnld
monitor: command "tftpdnld" not found
rommon 5 > copy xmodem: flash:
xmodem:: permission denied
rommon 6 > copy xmodem flash
xmodem: permission denied
rommon 7 > cpu
PPC860 PowerQUICC, partnum 0x0000, version A03(0x0013)
rommon 8 > dev
Devices in device table:
id name
net: network
eprom: eprom (device is file system capable)
flash: flash simm (device is file system capable)
mem: main memory
rommon 9 > meminfo
Main memory size : 32 MB
Packet memory size: 5 MB
ROMMON NVRAM size : 64 KB
IOS NVRAM size : 256 KB
Available main memory starts at 0x23000, size 0x1fdd000
rommon 10 > verify-bh
File checksum error !!
Original = 4ba0 Calculated = 4b80
rommon 11 > xmodem -c mc3810-a2binr3v2-mz_113-1_ma7.bin
monitor: command "xmodem" not found
rommon 12 >
05-07-2007 12:59 PM
Hi Cameron,
Take a look at Step 14 at try to follow from there:
rommon 2> upgrade-bh
HTH, please do rate all helpful posts,
Mohammed Mahmoud.
05-07-2007 11:15 PM
Hi Mohammed
I've just tried that command. Unfortunately I can't copy the exact output but below is what happened...
priv
upgrade-bh
Ready to send file...
Selected Send File (with XModem format)
Error - not a valid executable file
When this happened it looked like only about 2K had been transferred and cancelled out very quickly (within a few seconds). I then got a "transfer cancelled by remote system" prompt in Hyperterm.
The file I was sending is 'known good' as it has been used on other MC3810. Unfortunately I don't have access to them anymore but it has worked in the past. I also have older IOS versions that I tried as well with the same error.
05-08-2007 01:44 PM
Are you using hyperterm?
I have come across a bug with hyperterm in which a file transfer will timeout if it is not the active application on your desktop. IE: if you bring up a web browser to do other work while waiting for the file transfer to happen...
05-08-2007 04:07 PM
Hi Jason,
Yes I am using hyperterm on Win XP.
However it was the only application running at the time.
05-09-2007 09:26 AM
Thanks for the assistance you have given on the use of Xmoden generic to download an IOS to the Router when it cannot be accessed. I have used it on 2600 series router and it has worked.
However, before i could changed the baudrate to 9600, the final download had finished and the router restarted. How do I reset the baudrate back to 9600? I can only console into it right now at 115600.
05-10-2007 01:41 PM
If the downtime is acceptable you could reboot, get into ROMMON, and set the speed back to 9600 (confreg 0x2102 in the ROMMON setup or type confreg from ROMMON and answer the menu-driven questions to set the console speed back to 9600). Unless the downtime is more unacceptable than the non-standard console speed.
Are you asking because downtime is not an option?
05-10-2007 12:35 PM
Hi Mohammed,
I'm pretty much running out of ideas now and will try anything.
I am thinking, is it a possibility that the boot rom chip needs to be replaced? Or the flash need replacing?
I have a source where I can purchase both of these. Obviously I would rather not but really just want to get a working router!
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide