cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
35434
Views
5
Helpful
9
Replies

how to do the configuration in the Rommon Mode

qiblatain1400
Level 1
Level 1

Dear All,

On new 1841 Testing Router, I deleted the flash & did the reload.

After reloading, instantly I entered into the Rommon mode.

I have a backup of the flash in my TFTP Server, which is connected to the 1841 Router.

Now please tell me, how can I restore my flash file into my 1841 Router.

I can not get myself out of Rommon mode. I also now even can not ping the TFTP Server as well.

Do I have to configure in the Rommon mode ?

Please guide me, how to restore the flash image via TFTP Server on my 1841 Router.

1 Accepted Solution

Accepted Solutions

Hi,

rommon 8 > TFTP_FILE=flashbackup.bin
rommon 9 > reset

You are missing a command between 8 and 9 :tftpdnld

Regards.

Alain.

Don't forget to rate helpful posts.

View solution in original post

9 Replies 9

cadet alain
VIP Alumni
VIP Alumni

Hi,

take a look here: http://www.ciscoblog.com/archives/2006/11/recovering_ios.html

Regards.

Alain.

Don't forget to rate helpful posts.

Dear Alain,

I did the configuration given by the article provided by you. But the problem is the same.

Below is the detailed configuration which I did. You can analyze it.

R1>en
R1#copy flash tftp
Source filename []? c1841-advipservicesk9-mz.124-15.T1.bin
Address or name of remote host []? 10.0.0.2
Destination filename [c1841-advipservicesk9-mz.124-15.T1.bin]? flashbackup.bin

Writing c1841-advipservicesk9-mz.124-15.T1.bin....!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[OK - 33591768 bytes]

33591768 bytes copied in 21.689 secs (1548000 bytes/sec)


R1#delete flash
Delete filename []?c1841-advipservicesk9-mz.124-15.T1.bin
Delete flash:/c1841-advipservicesk9-mz.124-15.T1.bin? [confirm]

R1#reload
Proceed with reload? [confirm]
%SYS-5-RELOAD: Reload requested by console. Reload Reason: Reload Command.

System Bootstrap, Version 12.3(8r)T8, RELEASE SOFTWARE (fc1)
Cisco 1841 (revision 5.0) with 114688K/16384K bytes of memory.

Boot process failed...

The system is unable to boot automatically.  The BOOT
environment variable needs to be set to a bootable
image.
rommon 1 >
rommon 1 > tftpdnld

Missing or illegal ip address for variable IP_ADDRESS
Illegal IP address.

usage: tftpdnld
  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 > ip_address=10.0.0.5
rommon 3 > ip_subnet_mask=255.0.0.0
rommon 4 > default_gateway=10.0.0.1
rommon 5 > tftp_server=10.0.0.2
rommon 6 > tftp_file=flashbackup.bin
rommon 7 > reset
System Bootstrap, Version 12.3(8r)T8, RELEASE SOFTWARE (fc1)
Cisco 1841 (revision 5.0) with 114688K/16384K bytes of memory.

Boot process failed...

The system is unable to boot automatically.  The BOOT
environment variable needs to be set to a bootable
image.
rommon 1 > rommon 2 > boot
System Bootstrap, Version 12.3(8r)T8, RELEASE SOFTWARE (fc1)
Cisco 1841 (revision 5.0) with 114688K/16384K bytes of memory.

Boot process failed...

The system is unable to boot automatically.  The BOOT
environment variable needs to be set to a bootable
image.
rommon 1 > bootrommon 2 >

I am unable to proceed after this step. Can any one guide me, how to resolve this issue.

Regards,


NAVEED

Hi,

IP_ADDRESS

These must be absolutely ALL CAPS ! and you entered lowercase.

Regards.

Alain.

Don't forget to rate helpful posts.

Dear Alain,

Sorry for the delay, I was busy too much.

According to your reply, I used the Caps Letter before, but was the same result.

Even you can see the result below :

rommon 4 > IP_ADDRESS=10.0.0.5
rommon 5 > IP_SUBNET_MASK=255.0.0.0
rommon 6 > DEFAULT_GATEWAY=10.0.0.1
rommon 7 > TFTP_SERVER=10.0.0.2
rommon 8 > TFTP_FILE=flashbackup.bin
rommon 9 > reset
System Bootstrap, Version 12.3(8r)T8, RELEASE SOFTWARE (fc1)
Cisco 1841 (revision 5.0) with 114688K/16384K bytes of memory.

Boot process failed...

The system is unable to boot automatically.  The BOOT
environment variable needs to be set to a bootable
image.
rommon 1 > rommon 2 >
 

For your more information, I am using the packet tracer software & the given Topology is attached. You can see the attachment.

Thanks for your help.

Hi,

rommon 8 > TFTP_FILE=flashbackup.bin
rommon 9 > reset

You are missing a command between 8 and 9 :tftpdnld

Regards.

Alain.

Don't forget to rate helpful posts.

Dear Alain,

Bundle of Thanks.

Yes the issue has been resoved now.

I was doing the two things wrong:

1) I was missing the command "tftpdnld" between rommon8 & rommon9, as you mentioned.

2) I was giving the Default gateway 10.0.0.1, which was wrong, this ip was my router fastethernet ip, to which my TFTP Server was connected, I had to give 10.0.0.2 as a Default gateway which was my TFTP Server ip.

Regards,

NAVEED

Hi Naveed,

Yes I hadn't even looked at the values from the parameters but you did noticed it, well done.

Regards.

Alain.

Don't forget to rate helpful posts.

Hi,

 

This was my configuration , i am unable to ping the gateway and TFTP ip,  when i ping the ip : 11.7.17.11 from the management switch , im able to ping , but from this device i am unable to reach the network, please help me.

 

rommon 3 > set
ABNORMAL_RESET_COUNT=1
AUTOREBOOT_RESTORE=0
AUTO_BOOT=1
AUTO_SWITCH_CONSOLE_DISABLE=0
BAUD=9600
BOARDID=38
BOOT=
BOOTLDR=
BREAKOUT_ENABLE=1
BSI=0
CONFIG_FILE=
CRASHINFO=bootflash:crashinfo_RP_00_00_20190514-153132-UTC
DEFAULT_GATEWAY=11.7.0.1
DOPPLER_E_WA=1
ETHER_PORT=1
IOSXE_SLOT_MGMT=
IP_ADDRESS=11.7.17.11
IP_SUBNET_MASK=255.255.0.0
LICENSE_BOOT_LEVEL=network-advantage+dna-advantage,all:C9606
MAC_ADDR=78:72:5D:EC:77:11
MANUAL_BOOT=yes
MODEL_NUM=C9600-SUP-1
MOTHERBOARD_SERIAL_NUM=CAT2233L2G0
PS1=rommon ! >
PSEUDO_OIR_REMOVE_SET=1
RANDOM_NUM=1553420167
REAL_MGMTE_DEV=1
RETRY=0
RET_2_RCALTS=1568633234
RET_2_RTS=
ROMMON_AUTOBOOT_ATTEMPT=3
SWITCH_NUMBER=1
SYSTEM_SERIAL_NUM=CAT2233L2G0
TEMPLATE=distribution
TFTP_BLKSIZE=16384
TFTP_FILE=flashbackup.bin
TFTP_SERVER=202.153.144.25

Hi Alain

Can I use the exact ios image from the TFTP server in the instead of flashbackup.bin 'TFTP_FILE=flashbackup.bin' if  there is no backup taken? Will it work?