cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
7093
Views
0
Helpful
15
Replies

2960 IOS upgradation

vishalpatil86
Level 1
Level 1

Dear All,

I am trying to upgrade my cisco WS 2960 24 TC-L switch with the IOS image 

c2960-lanbasek9-mz.122-55.SE6.bin and my existing IOS image is

c2960-lanbasek9-mz.122-50.SE5.bin. when i    am copying it to flash, it is getting copied but when i tried to boot it after entering command boot system c2960-lanbasek9-mz.122-55.SE6.bin , it gave me an error.

both flash dir and error are attahced herewith. Help me on this

Thanks in advance!!!

1 Accepted Solution

Accepted Solutions

Could you copy following commands:

boot system c2960-lanbasek9-mz.122-55.SE6.bin

boot system flash:c2960-lanbasek9-mz.122-55.SE6.bin

do wr

end

reload

?

      

You need to instruct the file is on the device flash: Regarding your output it takes c29...... as medium.

Don't forget to rate usefull posts!

View solution in original post

15 Replies 15

Something went wrong while setting the boot image.

Try the "archive" command instead, with that the boot-image is set automatically:

http://www.cisco.com/en/US/docs/switches/lan/catalyst2960/software/release/12.2_55_se/configuration/guide/swiosfs.html#wp1258453

-- 
Don't stop after you've improved your network! Improve the world by lending money to the working poor:
http://www.kiva.org/invitedby/karsteni

Gregory Snipes
Level 4
Level 4

TFTP is not reliable and can result in transfer errors, you definitely have alot of errors based on your attached output. I would recommend trying to download the new IOS again using a reliable protocol like FTP or RCP or finding and correcting the scource of your errors.

If you get an archived copy of the IOS (the "with web based device manager" version) you would be able to use the archive command to perform the upgrade as well. The archive method downloads the IOS twice and compares them to ensure there were no bit errors. Then performs the full upgrade including setting all the proper boot statements for you.

Best of luck,

Greg

Leo Laohoo
Hall of Fame
Hall of Fame

The BIN file is corrupt.  Did you compare the MD5 hash?

Dear Leo,

I verified with MD 5 hash with original image. The image seemed fine...

One thing I observed while doing show flash, the running ios image doesn't have .bin extension

any suggestion??

The running image also has the ".bin" extention, but is installed inside a directory with the same name.

The boot-image is set incorrect. The easy way is to upgrade with the "archive"-command as with that the boot-image is set automatically. If you want to do it by hand, use the right url:

boot system flash:/c2960-lanbasek9-mz.122-55.SE6.bin

(in my first post I wrote incorrectly "upgrade"-command; sorry for that. Just corrected it.)

-- 
Don't stop after you've improved your network! Improve the world by lending money to the working poor:
http://www.kiva.org/invitedby/karsteni

glen.grant
VIP Alumni
VIP Alumni

To me even though it looks like it had a lot of errors , it finished ok and that is the correct  size for that file and  it says "OK"  after the download.  It does a check on the file when its finished.   You can also use the verify command to check the file , try using  "boot system flash:c2960-lanbasek9-mz.122-55.SE6.bin. Also you have to remove the current boot statement if there is one . 

DEar Glen,

I did that already and it is showing me in boot sequence also,

BOOT path-list      : c2960-lanbasek9-mz.122-55.SE6.bin

Config file         : flash:/config.text

Private Config file : flash:/private-config.text

Enable Break        : no

Manual Boot         : no

HELPER path-list    :

Auto upgrade        : yes

Auto upgrade path   :

NVRAM/Config file

      buffer size:   65536

Timeout for Config

          Download:    0 seconds

Config Download

       via DHCP:       disabled (next boot: disabled)

BOOT path-list      : c2960-lanbasek9-mz.122-55.SE6.bin

Config file         : flash:/config.text

Private Config file : flash:/private-config.text

Enable Break        : no

Manual Boot         : no

HELPER path-list    :

Auto upgrade        : yes

Auto upgrade path   :

NVRAM/Config file

      buffer size:   65536

Timeout for Config

          Download:    0 seconds

Config Download

       via DHCP:       disabled (next boot: disabled)

Any other suggestion??

Dear All,

I tried to upgrade through archive download command and received following error -

et0/1, changed state to up!!!!!!!!!!!!!!!!!!!!!!!!!!!
[OK - 9815360 bytes]

Loading c2960-lanbasek9-mz.122-55.SE6.bin from 172.16.10.203 (via Vlan10): !!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[OK - 9815360 bytes]

Could not buffer tarfile...using multiple downloads
examining image...
%Tar checksum error in tftp://172.16.10.203/c2960-lanbasek9-mz.122-55.SE6.bin
%Error opening flash:update/info (No such file or directory)
ERROR: Image is not a valid IOS image archive.

Kindly advise

Could you copy following commands:

boot system c2960-lanbasek9-mz.122-55.SE6.bin

boot system flash:c2960-lanbasek9-mz.122-55.SE6.bin

do wr

end

reload

?

      

You need to instruct the file is on the device flash: Regarding your output it takes c29...... as medium.

Don't forget to rate usefull posts!

  I agree there is no pointer in your boot statement pointing it to flash:  .  As in my previous note add

boot system flash:c2960-lanbasek9-mz.122-55.SE6.bin  .  Then remove the current  "no boot system:c2960-lanbasek9-mz.122-55.SE6.bin  .

Dear Davy,

It worked with below command -

boot system flash:c2960-lanbasek9-mz.122-55.SE6.bin

do wr

end

reload

Ok, can you please post the output to the command "dir" please?

Directory of flash:/

    2  drwx         512   Mar 1 1993 00:02:22 +00:00  c2960-lanbasek9-mz.122-50.
SE5
  557  -rwx         107   Mar 1 1993 00:06:21 +00:00  info
  558  -rwx         676   Mar 1 1993 00:00:58 +00:00  vlan.dat
  559  -rwx     9815360   Mar 1 1993 00:10:31 +00:00  c2960-lanbasek9-mz.122-55.
SE6.bin
  560  -rwx        1919   Mar 1 1993 00:35:28 +00:00  private-config.text
  561  -rwx        3096   Mar 1 1993 00:13:37 +00:00  multiple-fs
  562  -rwx        4296   Mar 1 1993 00:35:28 +00:00  config.text

Can you post the output to the command "dir flash:c2960-lanbasek9-mz.122-50.SE5"?