05-17-2005 11:29 PM - edited 03-03-2019 09:35 AM
Hi all,
I wanted to upgrade ios from rommon mode on 2600 series . i tried by setting all tftp variables . but no result . ?
pls advise me how do i set variables or any other workaround?
rgds,
RAJESH
05-17-2005 11:43 PM
Rajesh,
I assume that you have this document:
http://www.cisco.com/en/US/products/hw/routers/ps259/products_tech_note09186a008015bf9e.shtml
Note that the procedure only works through the first LAN port of the router. Also, have a look at the bug report near the bottom of that document ... is that what is happening?
Are you following that procedure? If so, you say you have not result, but what actually happens? Could you post a console log, and we can try and work out what is going wrong.
Kevin Dorrell
Luxembourg
05-18-2005 12:02 AM
Hi,
Thanx for the response ,
my senario is both tftp server and my router is in same segment.
i have tested connectivity between router and tftp server .
my image location is c:\tftp
i have set tftp variables
ip_address=192.168.1.1
sub_net_mask=255.255.255.0
tftp_server=192.168.1.2
tftp_file='image name"
i have confirmed my config with 'set' command to see the variables configured
after this i issued 'tftpdnld ' command then i am getting this messge
usage: tftpdnld [-r]
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)
Command line options:
-r: do not write flash, load to DRAM only and launch image
Pls advice me how to proceed from here.
Rgds,
Rajesh
05-18-2005 12:19 AM
That is strange, but I have not tried it myself, so I am not sure. If tftpdnld on its own just gives you the "usage" message, I would try tftpdnld -r. According to the blurb, that should load the IOS into DRAM and start it. You could then use the normal copy tftp flash to download into the flash.
Let me know how you get on with it.
Kevin Dorrell
Luxembourg
05-18-2005 02:15 AM
Hi Rajesh,
first of all u have to print the variables in capitals.. IP_ADDRESS= not ip_address.....
Second u did not set a default gateway.
Third to copy the file into flash u might have to issue the command "init flash:" on some devices...
Hope this is of any help.
Regards,
Sebastian
05-18-2005 02:30 AM
Hello.
The router is complaining because you have not set all of the "required" variables. From what you included in your post it appears you have left out the "DEFAULT_GATEWAY" variable.
Even though you are on the same subnet as the server this is a required variable and needs to be set. (I would set it to the same IP address as the router or the TFTP server.)
Also note that you need to set the variable names exactly as they appear in the help output, "ip_address" will not work but "IP_ADDRESS" will.
HTH.
-Rob
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide