LMS2.6 SWIM use current running image as TFTP fallback

Unanswered Question
Jul 18th, 2008

I would like to know how this works. Lab tested selecting reload when finished and use current running image as TFTP fallback. SWIM job started, I waited for the flash file to show deleted on my 2811, then issued a reload command.

Device is in rommon mode.

Is this option only for corrupt images ?

Running image is in repository, but should I have selected option to backup the current running image to tftp ?

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Joe Clarke Fri, 07/18/2008 - 08:24

This option tells RME to copy the image from the repository to the tftpboot directory. If possible, and if the device cannot boot from its flash, it will attempt to net boot from the image on the RME server.

By rebooting the device before the job could finish, RME couldn't add the additional boot command to tell the device to fallback to the TFTP boot image.

troy.lawrence Fri, 07/18/2008 - 08:33

Is there a way to test this ?

unless i use a corrupt image, the swim job will be successfull and the device will reload with the new image.

I would like to use this as a fallback vs the xmodem procedures currently known.

Joe Clarke Fri, 07/18/2008 - 08:37

Don't select to reload the device in your job. Let the job run to completion, then delete the image on flash yourself. Then reload. It should boot from TFTP.

troy.lawrence Fri, 07/18/2008 - 08:51

Last one before I test.

Should I select both or just one of the below options?

Use current running image as TFTP fallback image.

Backup current running image.

Joe Clarke Fri, 07/18/2008 - 09:24

You can select both if you want to be extra careful, but the fallback option alone will accomplish what you want to do.

troy.lawrence Fri, 07/18/2008 - 10:47

selected only the 'use current running image as TFTP fallback'

upgrade was successfull.


boot system flash flash:c2800nm-entservicesk9-mz.124-19.bin

boot system tftp c2800nm-entservicesk9-mz.124-18.bin



deleted the file from flash.

issued reload command

Upgrade ROMMON initialized

an alternate boot helper program is not specified

(monitor variable "BOOTLDR" is not set)

and unable to determine first file in bootflash

loadprog: error - on file open

boot: cannot load "tftp:c2800nm-entservicesk9-mz.124-18.bin"

c2811 platform with 262144 Kbytes of main memory

Main memory is configured to 64 bit mode with ECC enabled

rommon 1 >

Joe Clarke Fri, 07/18/2008 - 10:50

Is this the correct IP address for the server? does the image exist in the server's tftpboot directory?

troy.lawrence Fri, 07/18/2008 - 11:07

The old file is still in the tftp boot directory

cwsrbqa1:/tftpboot> ls

C2800NM_RM2.srec.124-13r.T5 rep_sw_765676666105472852

c2800nm-entservicesk9-mz.124-18.bin rep_sw_8721821259821398922


Joe Clarke Fri, 07/18/2008 - 11:10

It might help to see a sniffer trace of the router trying to boot off of the network image. This may be a device bug.

troy.lawrence Wed, 07/23/2008 - 07:20

Would the Capture Packet from CW works for this or does there have to be a external sniffer in front of the router?

Is this option only feasible for a LAN, or will this actually work over a WAN connection?

Joe Clarke Wed, 07/23/2008 - 08:06

The packet capture utility in LMS will work. It should show the TFTP read request coming from the device.


This Discussion