08-28-2014 08:23 PM - edited 03-04-2019 11:38 PM
Dear All,
On my 2621 home lab Router, I updated the flash with a .rar file.
After reloading, instantly I entered into the Rommon mode.
Please tell me, how can I restore my flash file into my 2621 Router.
I do not have the file back, I just want to be able to install an ios back.
I can not get myself out of Rommon mode. I also now even can not ping the TFTP Server as well.
I tried this configuration but is getting this error:
rommon 17 > IP_ADDRESS=192.168.1.50
rommon 18 > IP_SUBNET_MASK=255.255.255.0
rommon 19 > DEFAUT_GATEWAY=192.168.1.1
rommon 20 > TFTP_SERVER=192.168.1.24
rommon 21 > TFTP_FILE=c2600-entservicesk9-mz.124-21.bin
rommon 22 > tftpdnld
IP_ADDRESS: 192.168.1.50
IP_SUBNET_MASK: 255.255.255.0
Missing or illegal ip address for variable DEFAULT_GATEWAY
Illegal gateway address.
usage: tftpdnld [-r]
Use this command for disaster recovery only to recover an image via TFTP.
Monitor variables are used to set up parameters for the transfer.
(Syntax: "VARIABLE_NAME=value" and use "set" to show current variables.)
"ctrl-c" or "break" stops the transfer before flash erase begins.
The following variables are REQUIRED to be set for tftpdnld:
IP_ADDRESS: The IP address for this unit
IP_SUBNET_MASK: The subnet mask for this unit
DEFAULT_GATEWAY: The default gateway for this unit
TFTP_SERVER: The IP address of the server to fetch from
TFTP_FILE: The filename to fetch
The following variables are OPTIONAL:
TFTP_VERBOSE: Print setting. 0=quiet, 1=progress(default), 2=verbose
TFTP_RETRY_COUNT: Retry count for ARP and TFTP (default=7)
TFTP_TIMEOUT: Overall timeout of operation in seconds (default=7200)
TFTP_CHECKSUM: Perform checksum test on image, 0=no, 1=yes (default=1)
FE_SPEED_MODE: 0=10/hdx, 1=10/fdx, 2=100/hdx, 3=100/fdx, 4=Auto(deflt)
------------------
rommon 2 > dir flash:
File size Checksum File name
13794457 bytes (0xd27c99) 0x899a c2600-advsecurityk9-mz.124-25b.rar
rommon 3 >
08-28-2014 11:57 PM
i am not sure of this , but i think you should extract the ios rar file. I think you have overwritten your current flash that is why there is only 1 file when you did dir flash:
08-29-2014 05:32 AM
This ^^, that is an archive, you need to extract it first.
You did not obtain that image from Cisco either!
Martin
08-29-2014 03:30 AM
Hi,
for the tftp not working and giving error seems to be due to wrong keyword for default gateway. you have used :
rommon 19 > DEFAUT_GATEWAY=192.168.1.1 >>>> check the context.
- for checking the file try dev command first it will show you all the file system and then you can dir command to check any specific directory.
Thanks & Regards
Sandeep
08-29-2014 10:29 AM
Hi Cedricdoss,
Regarding with your router still being stuck in rommon mode you should be able to get back into 'router' mode and out of rommon by using the following steps in rommon mode:
1. Power cycle your router, which should still bring you back to rommon mode
2. Type the following in rommon>:
Your router should reboot and then load the initial configuration dialog page. You can press no through this or ctrl 6 which will bring you to the router> prompt.
From here you should have access to your directory and able to pull up your old image(if you have not deleted it)
08-29-2014 10:35 AM
Cedricdoss,
After you have your original ios running you will need to change the config rigister back using the following command in global configuration mode:
router(config)#config-register0x2102
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