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

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

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

tftp ios from rommon


1760 router image file is to large for the available memory. The router boots into rommon. I want to tftp the IOS image but I can't set the ip address on the router. I try using the ip_address but it will not take it.

Here are my only option from rommon after using help

break set/show/clear the breakpoint

confreg configuration register utility

cont continue executing a downloaded image

context display the context of a loaded image

cookie display contents of cookie PROM in hex

dev list the device table

dir list files in file system

dis display instruction stream

dnld serial download a program module

frame print out a selected stack frame

help monitor builtin command help

history monitor command history

meminfo main memory information

repeat repeat a monitor command

reset system reset

set display the monitor variables

stack produce a stack trace

sync write monitor environment to NVRAM

sysret print out info from last system return

tftpdnld tftp image download

unalias unset an alias

unset unset a monitor variable

xmodem x/ymodem image download

Please let me know how to set ip address gateway ect. Thanks


Hall of Fame Super Silver

Re: tftp ios from rommon


It has been a while since I did this, and I am not sure that I have ever done it on a 1760, but I believe that the set command will allow you to set the variables, including ip address, gateway, etc, to allow you to tftpdnld the image file.



Re: tftp ios from rommon


Thanks for the responce this is what I get when I use set

rommon 5 > set ip_address

usage: set

rommon 6 >


Re: tftp ios from rommon

Disaster Recovery with TFTP Download

The standard way to load new software on your router is using the copy tftp flash privileged EXEC command from the Cisco IOS software command-line interface (CLI). However, if the router is unable to boot the Cisco IOS software, you can load new software while in ROM monitor mode.

This section tells how, in ROM monitor mode, to download a Cisco IOS software image from a remote TFTP server to the router Flash memory. Use the tftpdnld command only for disaster recovery because it erases all existing data in Flash memory before downloading a new software image to the router.

Note A 10BASE-T Ethernet Port is not active in ROM monitor mode and, thus, cannot be used for TFTP download. The Cisco 1700 modular routers do not support the WIC-1ENET card in ROM monitor mode.

TFTP Download Command Variables

This section describes the system variables that can be set in ROM monitor mode and that are used during the TFTP download process. There are required and optional variables.

Note The commands described in this section are case sensitive and must be entered exactly as shown in the lists.

Required Variables

The following variables must be set with the commands shown before using the tftpdnld command:



IP address of the router.

IP_ADDRESS= ip_address

Subnet mask of the router.

IP_SUBNET_MASK= ip_address

IP address of the default gateway of the router.


IP address of the TFTP server from which the software will be downloaded.

TFTP_SERVER= ip_address

The name of the file that will be downloaded to the router.

TFTP_FILE= filename

Optional Variables

The following variables can be set with the commands shown before using the tftpdnld command:



Whether or not the router performs a checksum test on the downloaded image:

1-Checksum test is performed.

0-No checksum test is performed.


Number of times the router attempts ARP and TFTP download. The default is 7.

TFTP_RETRY_COUNT= retry_times

Amount of time, in seconds, before the download process times out. The default is 2400 seconds (40 minutes).


Configures how the router displays file download progress.

0-No progress is displayed.

1-Exclamation points (!!!) are displayed to indicate file download progress. This is the default setting.

2-Detailed progress is displayed during the file download process. For example:

Initializing interface.

Interface link state up.

ARPing for

ARP reply for received. MAC address 00:00:0c:07:ac:01


Using the TFTP Download Command

The steps described in this section should be performed while in ROM monitor mode.

Step 1 Use the appropriate commands to enter all the required variables and any optional variables.

Step 2 Enter the tftpdnld command as follows:

rommon 1 > tftpdnld [ -r ]

Note The -r variable is optional. Entering this variable downloads and boots the new software but does not save the software to Flash. You can then use the image that is in Flash the next time you enter the reload command in the Cisco IOS software CLI.

You will see output similar to the following:





TFTP_FILE: c1700-bnr2sy-mz.070298

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

Step 3 If you are sure that you want to continue, enter y in response to the question in the output:

Do you wish to continue? y/n: [n]:y

The router will begin to download the new file.

Pressing Ctrl-C or Break stops the transfer before the Flash memory is erased.

New Member

Re: tftp ios from rommon


If I'm not mistaken, you use the 'set' command to simply view the variables that have been configured. To configure the variables like IP address, gateway, etc. just enter them at the rommon prompt as follows:

IP_ADDRESS= ip_address

IP_SUBNET_MASK= ip_address


TFTP_SERVER= ip_address

TFTP_FILE= filename

At that point you can issues the tftpdnld command and all should be well.

Re: tftp ios from rommon

when I enter these in rommon it won't take the commands. I know that they are case sensitive so I have tried them both ways.

Any help is appreciated. Thanks



Re: tftp ios from rommon

Don't know you should be able to input it , the commands in my note were copied right of the cisco doc , you should be able to cut and paste those commands in of course substituting your addresses where it says ip address , such as



If that doesn't work then you may have to open a TAC case as that is the operational instructions in my previous note on how to tftp download from a 1700 rommon prompt.

It should look like this substituting your addresses.

rommon 1 > IP_ADDRESS=

rommon 2 > IP_SUBNET_MASK=


rommon 4 > TFTP_SERVER=

rommon 5 > TFTP_FILE=2600xm.bin

New Member

Re: tftp ios from rommon

I think that should work. I did that on some old 2600 routers previously