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

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

I deleted the ios accidentally, now 1841 router is in rommon> mode,please Help !!!!!

I deleted the ios accidentally, now 1841 router is in rommon> mode ?

I am trying to upgrade a new IOS that i downloaded (c1841-advipservicesk9-mz.124-12c.bin) through TFTP server, but it fails , i have a serial console connected to my pc, below is the commands i executed for upgrading >>>!

System Bootstrap, Version 12.3(8r)T9, RELEASE SOFTWARE (fc1)

rommon 10 > confreg


           Configuration Summary
   (Virtual Configuration Register: 0x2102)
enabled are:
load rom after netboot fails
console baud: 9600
boot: image specified by the boot system commands
      or default to: cisco2-c1841

Please tell me how to upgrade the new IOS so as to get into the privilage mode ?

1 ACCEPTED SOLUTION

Accepted Solutions
Hall of Fame Super Silver

Re: I deleted the ios accidentally, now 1841 router is in rommon

I am sorry that the links did not work. When I look back at the link I posted I see that it does require partner level access. I believe that this link gets to the same document and does not require partner level access:

http://www.cisco.com/en/US/docs/routers/access/1800/1841/software/configuration/guide/b_rommon_ps5853_TSD_Products_Configuration_Guide_Chapter.html#wp1070700

Is your router connected to the TFTP server on the FastEthernet0/0 port? I believe that the tftpdnld is looking for the first FastEthernet port to make the connection.

HTH

Rick

21 REPLIES
Hall of Fame Super Silver

Re: I deleted the ios accidentally, now 1841 router is in rommon

Vikram

If you have an IOS image on a TFTP server then the feature that you want to use is tftpdnld which is designed to use TFTP from rommon to recover an IOS image. You will need to set some variables before you run tftpdnld. See this link for details about how to use tftpdnld on 1800 series routers.

http://www.cisco.com/en/US/partner/docs/routers/access/1800/1841/software/configuration/guide/b_rommon_ps5853_TSD_Products_Configuration_Guide_Chapter.html#wp1070700

be careful with the line wrap.

HTH

Rick

Cisco Employee

Re: I deleted the ios accidentally, now 1841 router is in rommon

Hi,

From romon, you can set up ip addresss and do tftp copy.

Here is detail procedure.

http://www.cisco.com/en/US/customer/products/hw/routers/ps259/products_tech_note09186a008015bf9e.shtml

KK

New Member

Re: I deleted the ios accidentally, now 1841 router is in rommon

Hi Richard & KK,

I tried tftpdnld command , below is the detail,

rommon 11 > set
PS1=rommon ! >
WARM_REBOOT=FALSE
CRASHINFO=flash:crashinfo_20090826-153851
BSI=0
RANDOM_NUM=1550806191
RET_2_RTS=22:54:59 UTC Mon Nov 15 2010
RET_2_RCALTS=1289861700
?=0
rommon 12 > IP_ADDRESS=192.168.10.77
rommon 13 > IP_SUBNET_MASK=255.255.255.0
rommon 14 > DEFAULT_GATEWAY=192.168.10.1
rommon 15 > TFTP_SERVER=192.168.10.45
rommon 16 > TFTP_FILE=
rommon 16 > TFTP_FILE=c1841-advipservicesk9-mz.124-12c.bin
rommon 17 > tftpdnld

          IP_ADDRESS: 192.168.10.77
      IP_SUBNET_MASK: 255.255.255.0
     DEFAULT_GATEWAY: 192.168.10.1
         TFTP_SERVER: 192.168.10.45
           TFTP_FILE: c1841-advipservicesk9-mz.124-12c.bin
        TFTP_MACADDR: 00:1b:0c:84:aa:e2
        TFTP_VERBOSE: Progress
    TFTP_RETRY_COUNT: 18
        TFTP_TIMEOUT: 7200
       TFTP_CHECKSUM: Yes
             FE_PORT: 0
       FE_SPEED_MODE: Auto Detect

Invoke this command for disaster recovery only.
WARNING: all existing data in all partitions on flash: will be lost!
Do you wish to continue? y/n:  [n]:  y
...................
Interface link did not come up.  Timed out.

TFTP: Operation terminated.

___________________________________________________

Also tried to open the links that you both have posted but i cannot access, got the massage that is attached.........

New Member

Re: I deleted the ios accidentally, now 1841 router is in rommon

.

Hall of Fame Super Silver

Re: I deleted the ios accidentally, now 1841 router is in rommon

I am sorry that the links did not work. When I look back at the link I posted I see that it does require partner level access. I believe that this link gets to the same document and does not require partner level access:

http://www.cisco.com/en/US/docs/routers/access/1800/1841/software/configuration/guide/b_rommon_ps5853_TSD_Products_Configuration_Guide_Chapter.html#wp1070700

Is your router connected to the TFTP server on the FastEthernet0/0 port? I believe that the tftpdnld is looking for the first FastEthernet port to make the connection.

HTH

Rick

New Member

Re: I deleted the ios accidentally, now 1841 router is in rommon

Hi Richard,

Thanks a lot, it worked, i am very very thankful to you , god bless you !!!

Hall of Fame Super Silver

Re: I deleted the ios accidentally, now 1841 router is in rommon

Vikram

I am glad that you got it to work and that my suggestions were helpful. Thank you for marking the problem as resolved (and thanks for the points). It makes the forum more useful when people can read about a problem and can read the solution to the problem. Marking the thread as resolved helps readers to know that they will read the solution to the problem and is helpful to the readers in the forum.

HTH

Rick

New Member

Re: I deleted the ios accidentally, now 1841 router is in rommon

Hi Richard,

I have one more query, that i will make as a new discussion, hope you will solve that.

Thanks in advance

Vikram

New Member

Hi Vikram,

Hi Vikram,

Recently I faced exactly same probelm as you did 6 years ago! Could you please tell me how you solved the problem?

I would be thankful to your reply.

regards

Motiar

Hall of Fame Super Gold

Could you please tell me how

Could you please tell me how you solved the problem?

The router has a CF.

Eject the CF and copy the IOS from your computer into the CF by using a multi-media card reader. 

Once the IOS has been copied into the CF, insert the CF into the router.

New Member

Thank you very much for your

Thank you very much for your quick reply...it solved so quickly! Many thanks, Leo.

Hall of Fame Super Gold

Please don't forget to rate

Please don't forget to rate our useful post(s).

New Member

Hello Leo,

Hello Leo,

The problem is solved. But I wanted to copy & load the image from TFTP server using tftpdnld (disater recovery). My TFTP server is functional that I tested with another Router. I followed like:

rommon>IP_ADDRESS: xxxx
rommon>IP_SUBNET_MASK: xxxx

rommon>DEFAULT_GATEWAY: xxxxx
rommon>TFTP_SERVER: xxxx
rommon>TFTP_FILE: c1841...mz.124-12c.bin

rommon>tftpdnld

But every time I failed. Can you please give a hint, how I could do this job successfully using tftpdnld?

regards

Motiar

Hall of Fame Super Gold

What is the exact error

What is the exact error message when using TFTPdnld?

Hall of Fame Super Silver

Motiar

Motiar

I agree with Leo that knowing the exact error message would be helpful. In addition here are some additional questions which would give us helpful information:

- is this also an 1841 or some other model of router?

- which interface on the router is used for the connection?

- how is your PC connected to the router? Is it connected through a switch or is it connected directly to the router? What kind of cable is used for the connection?

- when you use xxxx to hide addresses, masks, etc it makes it quite difficult for us to evaluate the relationships. Is there any reason you do not show these addresses?

- can you verify that the TFTP server is running and is pointed to the directory where the router image file is?

- are there any messages or other indications that the TFTP server sees a request from the router?

HTH

Rick

New Member

Hi Richard,

Hi Richard,

The details information I provided to Leo, please have a look. Here is additional information for you.

- this is also an 1841 IOS (c1841-adventerprisek9-mz.124-11.T4.bin)

- the interface was fa0/0

- the pc is directly connected to Router via Crossover cable.

- there is no special reason to hide the IP address. I actually don't have the actual error message, therefor I just wrote there some summery information. But the IP address was 192.168.1.5 with the Sub.mask 255.255.255.0, TFTP server / PC 192.168.1.4 

- The TFTP server is running well, the default directory path is C:\ProgramData\WinAgents\TFTP Server 4\TFTPRoot

(here is something to tell you: while I pointed the full path of the file, there was a message that the path was too long. Only "TFTProot\file" accepted )

- no other indication to the TFTP server.

Hope, you have a suggestion too.

Regards

Motiar

New Member

Hi Leo,

Hi Leo,

I actually don't have the original error message right now (did not copy) while using TFTPdnld. But the message was showing something like: "missing file or incomplete ....." I am trying to send you the exact error- message by creating it again.

However, I have a new problem after copying the image into CF using multimedia-card reader as you suggested: the image can't be seen in flash memory by "sh flash" commands like: show flash: dir flash: etc. But I see the image into flash memory by "show version" command.

Attached you are getting all the commands and outputs that I carried on.

Here is once again what did from the beginning:

- Router 1841, original IOS: c1841-broadband-mz.124-1c.bin

- I did backup the original IOS into TFTP server, then deleted it from CF (because I wanted to make space into the CF to upgrade the IOS with c1841-adventerprisek9-mz.124-11.T4.bin)

- Then I followed the TFTPdnld proccedure, but failed.

- Then I copied the image (new one) into the CF by using multimedia-card reader.

The new image is working fine! I can configure what i want, only I don't see the image into flash (I actually wanted to backup & delete the new image and recover it using TFTP server by TFTPdnld and to send you the Error Message, but I don't see the image into flash).

Do you have any suggestion?

Regards

Motiar

Hall of Fame Super Gold

flash:c1841-adventerprisek9

flash:c1841-adventerprisek9-mz.124-11.T4.bin

The IOS is a "T" train.  Can you load a different IOS?  There's a chance this is a bug.

ROM: System Bootstrap, Version 12.4(13r)T

The ROMmon is running the basic version.  I highly recommend you consider upgrading the ROMmon to T5 version so this router can boot an IOS, from ROMmon, using a USB stick.

New Member

Hi Leo,

Hi Leo,

I succeeded recovering the System Image (tftpdnld) from a remote TFTP server ! Actually the input commands are case sensitive, like  IP_ADDRESS=192.68.1.1 (and not like ip_address=192.168.1.1), and also tftp_file without directory path, like TFTP_FILE=c1841-adventerprisek9-mz.124-11.T4.bin

It works file! Thank you all for the response.

Regards

Motiar

Hall of Fame Super Silver

Motiar

Motiar

Thanks for posting back to the forum to let us know that you have resolved your problem using tftpdnld. Your message is a good reminder that the parameters for this command are case sensitive and generally are in CAPS.

HTH

Rick

Hall of Fame Super Gold

Interesting ... 

Interesting ... 

Problem solved yet he is "unable" to rate our useful posts.  Very interesting.

19246
Views
6
Helpful
21
Replies
CreatePlease login to create content