This page describes how to recover an AS5300, AS5350 and AS5400 router stuck in ROMmon (rommon # or > prompt).
To recover a router from ROMmon mode, the router should be physically accessible and should have a terminal connected to the console port.
The information in this document is based on the Cisco AS5300 running Cisco IOSĀ® Software Version 12.2(10)b.
The information in this document was created from the devices in a specific lab environment. All of the devices used in this document started with a cleared (default) configuration. If your network is live, make sure that you understand the potential impact of any command.
For more information on document conventions, refer to the Cisco Technical Tips Conventions.
Complete these steps:
The first thing you need to do is look for a valid image in Flash:. To do this, issue the dev command to see which devices and Flash files are available on your router:
rommon 1 > dev Devices in device table: id name flash:1: flash partion 1 File size Checksum File name 5827628 bytes (0x58ec2c) 0xcc46 c5300-i-mz.122-10b.bin bootflash: boot flash rommon 2 >
Try to boot from one of those images.
Determine whether or not the file is valid.
If the file is valid, this brings you back to normal operation mode.
rommon 2 > boot flash: c5300-i-mz.122-10b.bin program load complete, entry point: 0x80008000, size: 0x6dab38 Self decompressing the image : #################################### ################################################################### #########################################... [OK] Restricted Rights Legend Use, duplication, or disclosure by the Government is subject to restrictions as set forth in subparagraph (c) of the Commercial Computer Software - Restricted Rights clause at FAR sec. 52.227-19 and subparagraph (c) (1) (ii) of the Rights in Technical Data and Computer Software clause at DFARS sec. 252.227-7013. cisco Systems, Inc. 170 West Tasman Drive San Jose, California 95134-1706 . . . !--- Output suppressed . . . Press RETURN to get started ! !--- Press Enter AS5300>
If none of the files are valid, you need to download a new Cisco IOS software image using one of the following procedures:
Download Using the Boot Image and a Trivial File Transfer Protocol (TFTP) Server
See How to Upgrade from ROMmon Using TFTP with Boot Image for detailed instructions.
Download Using Xmodem from ROMmon
See Xmodem Console Download Procedure Using ROMmon for the step-by-step procedure.
To verify whether the correct image is loaded, use the show version command:
AS5300#show version Cisco Internetwork Operating System Software IOS (tm) 5300 Software (C5300-I-M), Version 12.2(10b), RELEASE SOFTWARE (fc1) Copyright (c) 1986-2002 by cisco Systems, Inc. Compiled Thu 11-Jul-02 15:43 by pwade Image text-base: 0x60008938, data-base: 0x608FE000 ROM: System Bootstrap, Version 12.0(2)XD1, EARLY DEPLOYMENT RELEASE SOFTWARE (fc1) AS5300 uptime is 0 minutes System returned to ROM by reload at 00:12:33 UTC Sat Jan 1 2000 System image file is "flash:c5300-i-mz.122-10b.bin" !--- Output suppressed AS5300#
The above show version command output shows that the router has loaded the Cisco IOS software image c5300-i-mz.122-10b.bin.
Revision | Publish Date | Comments |
---|---|---|
1.0 |
29-Jan-2006 |
Initial Release |