How to get out of Rommon (2025)

24073

Views

Helpful

8

Replies

How to get out of Rommon

How to get out of Rommon (1)

How to get out of Rommon (2)newnetmanHow to get out of Rommon (3)

Level 1

Options

  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • 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

How to get out of Rommon (4)

How to get out of Rommon (5)How to get out of Rommon (6)Richard Burts

Hall of Fame

Options

  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • 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

How to get out of Rommon (7)

How to get out of Rommon (8)How to get out of Rommon (9)Danilo Dy

VIP Alumni

Options

  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • 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

How to get out of Rommon (10)

How to get out of Rommon (11)newnetmanHow to get out of Rommon (12)

Level 1

In response to Danilo Dy

Options

  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • 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

How to get out of Rommon (13)

How to get out of Rommon (14)spangdahlemccoHow to get out of Rommon (15)

Level 1

In response to newnetman

Options

  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • 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

How to get out of Rommon (16)

How to get out of Rommon (17)newnetmanHow to get out of Rommon (18)

Level 1

In response to spangdahlemcco

Options

  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • 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

How to get out of Rommon (19)

How to get out of Rommon (20)How to get out of Rommon (21)Danilo Dy

VIP Alumni

In response to newnetman

Options

  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • 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

How to get out of Rommon (22)

How to get out of Rommon (23)newnetmanHow to get out of Rommon (24)

Level 1

In response to Danilo Dy

Options

  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • 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

How to get out of Rommon (25)

How to get out of Rommon (26)How to get out of Rommon (27)Richard Burts

Hall of Fame

In response to newnetman

Options

  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • 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

How to get out of Rommon (28)

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

How to get out of Rommon (29)

How to get out of Rommon (2025)
Top Articles
Latest Posts
Recommended Articles
Article information

Author: Allyn Kozey

Last Updated:

Views: 5605

Rating: 4.2 / 5 (63 voted)

Reviews: 94% of readers found this page helpful

Author information

Name: Allyn Kozey

Birthday: 1993-12-21

Address: Suite 454 40343 Larson Union, Port Melia, TX 16164

Phone: +2456904400762

Job: Investor Administrator

Hobby: Sketching, Puzzles, Pet, Mountaineering, Skydiving, Dowsing, Sports

Introduction: My name is Allyn Kozey, I am a outstanding, colorful, adventurous, encouraging, zealous, tender, helpful person who loves writing and wants to share my knowledge and understanding with you.