Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
New Member

Router in Rommon mode

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 >

5 REPLIES
New Member

i am not sure of this , but i

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:

New Member

This ^^, that is an archive,

This ^^, that is an archive, you need to extract it first.

You did not obtain that image from Cisco either!

Martin

Cisco Employee

Hi, for the tftp not working

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

Cisco Employee

Hi Cedricdoss, Regarding with

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>:

  • confreg 0x2142(carriage/enter)
  • reset(carriage/enter)

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)

 

Cisco Employee

Cedricdoss,After you have

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

437
Views
5
Helpful
5
Replies
CreatePlease to create content