cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3498
Views
0
Helpful
8
Replies

Can't upgrade firmware via tftp server

Gonzo1
Level 1
Level 1

Hello,

 

I can't seem to upgrade the firmware of a remote switch.  The switch can ping the tftp server over the WAN and ports are open, plus I have used this server before to upgrade a different type of switch around 12 months ago.

 

Here is my output, what am I doing wrong?

 

System image file is "flash:ie2000-universalk9-mz.150-2.EA1/ie2000-universalk9-mz.150-2.EA1.bin"

 

#sh flash

Directory of flash:/

2 drwx 512 Mar 1 1993 00:18:54 +00:00 ie2000-universalk9-mz.150-2.EA1
565 -rwx 616 Jan 5 2018 09:31:32 +00:00 vlan.dat
566 -rwx 10399 Jan 8 2018 14:38:09 +00:00 config.text
567 drwx 512 Mar 1 1993 00:18:55 +00:00 dc_profile_dir
569 -rwx 2072 Jan 8 2018 14:38:09 +00:00 multiple-fs
570 -rwx 1919 Jan 8 2018 14:38:09 +00:00 private-config.text

57931776 bytes total (37614592 bytes free)

 

copy tftp: flash:
Address or name of remote host [192.168.140.34]?
Source filename [ie2000-universalk9-mz.152-4.EA5.bin]?
Destination filename [ie2000-universalk9-mz.152-4.EA5.bin]?
Accessing tftp://192.168.140.34/ie2000-universalk9-mz.152-4.EA5.bin...
%Error opening tftp://192.168.140.34/ie2000-universalk9-mz.152-4.EA5.bin (No such file or directory)

 

The new firmware is 25,611kb

1 Accepted Solution

Accepted Solutions

There are two archive commands. For people who are not sure what they are doing, I recommend the command "archive download-sw [options] [options] [options] [...] tftp://10.100.1.5/filename.tar".
Note: There is no "flash:" at the end of the command.

View solution in original post

8 Replies 8

Leo Laohoo
Hall of Fame
Hall of Fame
Why are you copying the BIN file? Is there a TAR file available?

What is the difference as I have always used bin files on other switches.  Yes there is a tar file it seems, is that what I should use and why it won't upload? 

 

Is it just the same method to upgrade (tftp up and reboot)?

 

ie.PNG

Thanks

When using the TAR file, there is an option to perform a verification check to ensure that the file being pushed to the switch is not corrupt.
When using the "copy" command, there is none.
Going back to the issue, the TFTP server's error states that the filename specified doesn't exist in the TFTP server file directory.

Hi Lee,

 

I have the tftp server up and running, what is the command to copy this .tar file over and make it the firmware to use please?

 

Something like this:

archive tar /xtract tftp://10.100.1.5/ie2000-universalk9-tar.152-4.EA5.tar flash:

 

Update I tried the above and get this after some time, is it a space issue?  Not sure what to do.

 

extracting ie2000-universalk9-mz.152-4.EA5/ie2000-universalk9-mz.152-4.EA5.bin (26225289 bytes)!!!!OOOOOOOOOOOOOOOO!!!!!!!!!!!!!!!OOOOOOOOOOO!O!!!!!!!!OOOOOOOOOOOO.!OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO.O!OOOOOO!!!!!!

 

Thanks

There are two archive commands. For people who are not sure what they are doing, I recommend the command "archive download-sw [options] [options] [options] [...] tftp://10.100.1.5/filename.tar".
Note: There is no "flash:" at the end of the command.

Thanks I guess I will need the overwrite option due to a space issue?

As you know I've use bin file, normally if there is a space issue I would just remove the bin file from flash manually then install the new one and reboot.


@Gonzo1 wrote:

I will need the overwrite option due to a space issue?


If there is space issue.  But if there is none, then I'd recommend you don't use this option because leaving an old IOS can be used if the new IOS is corrupt.


 

overwrite option did the trick and all rebooted and upgraded :)

 

Thanks for your help.

Review Cisco Networking for a $25 gift card