cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
4258
Views
0
Helpful
7
Replies

Error while upgrading IOS on 2960 switch using tftp server

Arifuddinkhaja
Level 1
Level 1

Hi all,

I am trying to copy IOS from my TFTP server which is on my laptop to cisco 2960 switch

I am able to ping to switch from my laptop, connectivity is fine, tftp server is running

Current Image on Switch --> C2960-LANBASE-MZ.122-25.SEE3.bin -->  trying to upgrade to --> c2960-lanbasek9-mz.122-53.SE2

I am getting below error when trying to upgarde IOS:

2960-SW#copy tftp: flash:           

Address or name of remote host []? 10.1.x.x

Source filename []? c2960-lanbasek9-mz.122-53.SE2

Destination filename [c2960-lanbasek9-mz.122-53.SE2]?

Accessing tftp://10.1.x.x/c2960-lanbasek9-mz.122-53.SE2...

%Error opening tftp://10.1.x.x/c2960-lanbasek9-mz.122-53.SE2  (No such file or directory)

2960-SW#sh flash:

Directory of flash:/

    2  -rwx         736  Apr 30 2013 17:22:54 +03:00  vlan.dat
    4  -rwx        8831  Apr 30 2013 17:24:02 +03:00  config.text
    5  -rwx           5  Apr 30 2013 17:24:02 +03:00  private-config.text
    6  drwx         192   Mar 1 1993 03:06:46 +03:00  c2960-lanbase-mz.122-25.SEE3

32514048 bytes total (24793600 bytes free)

2960-SW#sh ver                          
Cisco IOS Software, C2960 Software (C2960-LANBASE-M), Version 12.2(25)SEE3, RELEASE SOFTWARE (fc2)
Copyright (c) 1986-2007 by Cisco Systems, Inc.
Compiled Thu 22-Feb-07 13:57 by myl
Image text-base: 0x00003000, data-base: 0x00AA3380

ROM: Bootstrap program is C2960 boot loader
BOOTLDR: C2960 Boot Loader (C2960-HBOOT-M) Version 12.2(25r)SEE1, RELEASE SOFTWARE (fc1)

System returned to ROM by power-on
System image file is "flash:c2960-lanbase-mz.122-25.SEE3/c2960-lanbase-mz.122-25.SEE3.bin"

cisco WS-C2960-48TC-L (PowerPC405) processor (revision C0) with 61440K/4088K bytes of memory.
Processor board ID FOC1127W0DN
Last reset from power-on
2 Virtual Ethernet interfaces
48 FastEthernet interfaces
2 Gigabit Ethernet interfaces
The password-recovery mechanism is enabled.

64K bytes of flash-simulated non-volatile configuration memory.
Base ethernet MAC Address       : 00:1C:B1:1B:01:80
Motherboard assembly number     : 73-9835-07
Power supply part number        : 341-0097-02
Motherboard serial number       : FOC112548DP
Power supply serial number      : DCA1125809S
Model revision number           : C0
Motherboard revision number     : C0
Model number                    : WS-C2960-48TC-L
System serial number            : FOC1127W0DN
Top Assembly Part Number        : 800-26672-02
Top Assembly Revision Number    : D0
Version ID                      : V02
CLEI Code Number                : COM3F00BRA
Hardware Board Revision Number  : 0x02


Switch   Ports  Model              SW Version              SW Image           
------   -----  -----              ----------              ----------         
*    1   50     WS-C2960-48TC-L    12.2(25)SEE3            C2960-LANBASE-M    

Thank you in advance for any help

Awaiting for your valuable inputs

Many Thanks!!

7 Replies 7

vishal vyas
Level 1
Level 1

Try to ping your PC from switch and see if its getting reply back.. if not go to firewall setting on PC and desable firewall and try to ping PC once again from switch and if its working then you are good to go..

When using TFTP to upgrade IOS on a switch the file is usually a .bin file. But the original poster did not specify that the file was c2960-lanbasek9-mz.122-53.SE2.bin.

I believe that there are two possible scenarios here and either is possible. Perhaps the file on the TFTP server really is a .bin file and the original poster just failed to specify this. Or perhaps the file on the TFTP server really is c2960-lanbasek9-mz.122-53.SE2 and is not a .bin file. In this case it is probably the tar file which includes the .bin and also a number of modules to provide the graphical interface for managing the switch. In this case it is not correct to use TFTP but should use the archive command to load the code via TFTP and upgrade the switch.

Perhaps the original poster can clarify which scenario fits his situation?

HTH

Rick

HTH

Rick

Hi Vishal,
Thank you for your reply, Ping works fine from both ends i. e from sw to laptop & laptop to SW.. also firewall is disabled,
able to copy running configuration without any issues on laptop using tftp server

Richard,
Many Thanks for your inputs.. I am using .bin file to upgrade IOS, not using .tar file...

Gents, please assist.. running out of ideas

any help much appreciated..

Sent from Cisco Technical Support iPhone App

Source filename []? c2960-lanbasek9-mz.122-53.SE2

That's the wrong filename.  Where is the file extension?  Is this a BIN or a TAR file?

Are you trying to copy the IOS from the TFTP to your appliance?  Do you want to keep the OLD IOS or not?

If you want to keep the OLD IOS, then here are what I suggest:

1.  Download the TAR file from the Cisco website;

2.  Compare the MD5 hash with the file you've downloaded against the MD5 hash from the Cisco website.  The MD5 has MUST match or you've the file you've downloaded is corrupt.

3.  The command to automate the IOS upgrade (no reboot), leave the old IOS behind, and change the bootstring to the new IOS is:  archive download-sw /leave-old-sw tftp:///IOS_filename.tar

IMPORTANT:

4.  DO NOT use any sub-versions of 12.2(53)SE.  Use 12.2(55)SE7 instead. 

The clarification that the original poster is using a .bin file for the upgrade is very helpful. And it explains the error in the original attempt to upgrade. The file name given in the copy tftp command did not specify the .bin. If the file in the tftp server is .bin and the command used on the switch gives the file name without .bin then the tftp server will not find the file given in the copy command.

The solution is to try the copy tftp flash command again and this time to specify the file name including the .bin identification.

HTH

Rick

HTH

Rick

abel.ortgea
Level 1
Level 1

Hi man

The command you apply is for copying from tftp server to the flash memory. And the error says that no file found that means that the tftp server is not finding the file in your computer, in most tftp server you have to choose the directory from where you are sending, they put by default the directory where they were installed, so just choose the directory where you have you IOS file.

In some cases the antivirus don't let you copy. So stop your antivirus

Regards
Abel


Sent from Cisco Technical Support iPad App

same problem with when i download ios from switch 2960 to laptop same error show

%Error opening flash:c2960-lanbase-mz.122-25.SEE2.bin (No such file or directory)

 

 

how can i download it from my laptop please help

Review Cisco Networking for a $25 gift card