24073
Views
Helpful
8
Replies
How to get out of Rommon
newnetman
Level 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-200805:40 PM - edited 03-03-201909:20 PM
Hello All,
I mistakenly started an xmodem procedure on a wrong router, though no ios has been downloaded before i realized.
Now i want to get out of rommon mode and preserve the current configuration but don't know how to get out of rommon.
Even when the baud rate was changed to 9600 N 8 1 from 115200, it still don't work.
Somebody please help me out.
Thanks
I have this problem too
Labels:
- Labels:
- Other Routing
0Helpful
- All forum topics
- Previous Topic
- Next Topic
8 Replies 8
Richard Burts
Hall of Fame
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-200806:54 PM
Your post is a bit ambiguous about how far the xmodem procedure has gotten. You say that it has not yet downloaded an IOS image but does not tell us whether it has yet erased the existing image to prepare for the download. If it has not yet erased the existing image then the boot command should boot the router back to the normal running mode (or a power cycle should do as well). If it has already erased the image in flash, then xmodem (or perhaps tftpdnld) is your recovery mechanism.
HTH
Rick
HTH
Rick
0Helpful
Danilo Dy
VIP Alumni
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-200807:01 PM
Hi,
I'm not sure I'm getting it right as xmodem should not affect the router unless you override the image.
Have you tried checking the IOS in flash and manually boot from it? i.e.
dev << you can see from here if you only have embedded flash or you have a pcmcia slot.
dir flash
boot flash:ios_filename
What router model?
Regards,
Dandy
0Helpful
newnetman
Level 1
In response to Danilo Dy
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-200810:53 PM
Hello sirs,
From your explanations i realized i might have tampered with the flash somehow, that was why it couldn't take me back to the normal bootup.
Then i decided to install the new image but the error message was "the image size exceed free flash space, how then do i proceed from here please?.
Thank you
0Helpful
spangdahlemcco
Level 1
In response to newnetman
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-200802:02 AM
If the image you are trying to place on the device is larger than the free space you are going to have to free up space. You can do a dir flash: or dir bootflash: depending on the device type and see where your memory is allocated. If you only have one IOS installed but still do not have sufficient space you will have to delete the current IOS before you xmodem the first one. This is a little risky because you will not have an IOS in ROM for a certain period of time. Also, xmodem is really slow, it may be better to connect it to a test switch or test lab depending on your setup and use Pumpkin or any tftp server program on a computer to TFTP the image onto the switch, but then the switch would need an IP.
I hope this helps.
0Helpful
newnetman
Level 1
In response to spangdahlemcco
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-200803:38 AM
Hello sir,
Would the dir flash: or dir bootflash: automatically delete the flash?, anyway i have tried it and the outcome is herein. because i don't mind loosing the content of the flash inasmuch as i can xmodem the new image onto it.
rommon 1 > dir flash:
device does not contain a valid magic number
dir: cannot open device "flash:"
rommon 2 > dir bootflash:
bad device name
usage: dir
rommon 3 >
I hope you can please take the pain to help me further?
Thanks
0Helpful
Danilo Dy
VIP Alumni
In response to newnetman
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-200805:28 AM
No it won't delete it automatically.
Can you post the output of the following commands?
dev
confreg
BTW, what is your router model (again)?
Regards,
Dandy
0Helpful
newnetman
Level 1
In response to Danilo Dy
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-200807:43 AM
Firstly, I am grateful for your willingness to help. The model is 3640 with 128MB and 24Flash.
Here are the output of dev and confreg,
Thank you
rommon 1 > dev
Devices in device table:
id name
flash: flash
slot0: PCMCIA slot 0
slot1: PCMCIA slot 1
eprom: eprom
rommon 2 > confreg
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]:
0Helpful
Richard Burts
Hall of Fame
In response to newnetman
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-200808:10 AM
OK. This shows that your router seems to have built in flash and also flash memory in slot0 and also slot1. There might be a valid bootable image in any one of these. If you can use dir commands or show commands to show the content of each, then look for a valid image file. If you find a valid image file then use the boot command to indicate the location of the image that you want the router to boot.
HTH
Rick
HTH
Rick
0Helpful
Learn, share, save
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
Log in to Community
Quick Links
Knowledge Articles
Customers Also Viewed These Support Documents