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
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.
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.
The following variables must be set with the commands shown before using the tftpdnld command:
IP address of the router.
Subnet mask of the router.
IP address of the default gateway of the router.
IP address of the TFTP server from which the software will be downloaded.
The name of the file that will be downloaded to the router.
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.
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:
Interface link state up.
ARPing for 220.127.116.11
ARP reply for 18.104.22.168 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:
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.
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:
At that point you can issues the tftpdnld command and all should be well.
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
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=22.214.171.124
rommon 2 > IP_SUBNET_MASK=255.255.255.0
rommon 3 > DEFAULT_GATEWAY=126.96.36.199
rommon 4 > TFTP_SERVER=188.8.131.52
rommon 5 > TFTP_FILE=2600xm.bin