cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
35552
Views
15
Helpful
8
Replies

Upgrading the IOS with bin file

mahesh18
Level 6
Level 6

Hi Everyone,

Need to confirm if ios has bin file only and no tar image then we can not use the archive command while using FTP to download the new ios.

We can delete the old ios first and then upgrade the ios with copy ftp command right?

Regards

Mahesh

4 Accepted Solutions

Accepted Solutions

Richard Burts
Hall of Fame
Hall of Fame

Mahesh

The correct answer to your question depends on the platform that you are planning the upgrade for. If it is a Catalyst switch running IOS then it is likely that there might be a tar file and the archive command could be used. For for IOS router there is no tar file and only bin files are used. So what platform are you asking about?

HTH

Rick

HTH

Rick

View solution in original post

Sandeep Choudhary
VIP Alumni
VIP Alumni

HI Mahesh,

Only tar files need to be unziped by archive.

If you are uploading a bin file then u can directly use:

copy tftp flash:

Address or name of remote host? xxx.xxx.xxx.xxx

source filename? xyz1.bin

Destination filename? xyz1.bin

Hope it helps.

Regards

View solution in original post

Mahesh

Yes it does look like for this switch only the bin file is available and no tar file. So the upgrade would use copy ftp or copy tftp and not use archive command.

HTH

Rick

HTH

Rick

View solution in original post

I am asking about WS-C4503 with Supervisor II+TS.

For chassis-based systems, all you need is copy the BIN file into the bootflash.

Make sure you compare the MD5 hash value of the BIN file you got against the MD5 hash value found in the Cisco website.

If it doesn't match, don't use it!

Here's one way of checking:

1.  Hover your curser above the filename and under the heading "MD5 Checksum" you get the value of "b6e127f2c74cfcae94e871376771e522" for the version you are going to use.

2.  Copy the BIN file into your bootflash and run this command:  verify /md5 bootflash:cat4500-ipbasek9-mz.122-53.SG.bin b6e127f2c74cfcae94e871376771e522

By the way, 12.2(53)SG?  You sure?  This version is classed as "Deferred" due to some bugs found.  

View solution in original post

8 Replies 8

Richard Burts
Hall of Fame
Hall of Fame

Mahesh

The correct answer to your question depends on the platform that you are planning the upgrade for. If it is a Catalyst switch running IOS then it is likely that there might be a tar file and the archive command could be used. For for IOS router there is no tar file and only bin files are used. So what platform are you asking about?

HTH

Rick

HTH

Rick

Hi Rick,

I am asking about WS-C4503 with Supervisor II+TS.

I checked cisco website IOS supported for this is cat4500-ipbasek9-mz.122-53.SG.bin

Regards

Mahesh

Mahesh

Yes it does look like for this switch only the bin file is available and no tar file. So the upgrade would use copy ftp or copy tftp and not use archive command.

HTH

Rick

HTH

Rick

Many thanks for your advice Rick.

Best regards

Mahesh

I am asking about WS-C4503 with Supervisor II+TS.

For chassis-based systems, all you need is copy the BIN file into the bootflash.

Make sure you compare the MD5 hash value of the BIN file you got against the MD5 hash value found in the Cisco website.

If it doesn't match, don't use it!

Here's one way of checking:

1.  Hover your curser above the filename and under the heading "MD5 Checksum" you get the value of "b6e127f2c74cfcae94e871376771e522" for the version you are going to use.

2.  Copy the BIN file into your bootflash and run this command:  verify /md5 bootflash:cat4500-ipbasek9-mz.122-53.SG.bin b6e127f2c74cfcae94e871376771e522

By the way, 12.2(53)SG?  You sure?  This version is classed as "Deferred" due to some bugs found.  

Hi Leo,

IOS  12.2(53)SG we have tested on another switch and it is stable and no issues in our current environment.

It also depends on application which one use in there environment.

Thanks for additional info you provided in your post.

Best Regards

Mahesh

Sandeep Choudhary
VIP Alumni
VIP Alumni

HI Mahesh,

Only tar files need to be unziped by archive.

If you are uploading a bin file then u can directly use:

copy tftp flash:

Address or name of remote host? xxx.xxx.xxx.xxx

source filename? xyz1.bin

Destination filename? xyz1.bin

Hope it helps.

Regards

Evert0505
Level 1
Level 1

Didn't find it somewhere on the forum, so this is how I did it 

 

 

Firmware update Catalyst 2960 from Version 12.2(55r)SE. Copy file using http: (Setup HFS server)

Show Current firmware

SW01#sh version

Cisco IOS Software, C2960S Software (C2960S-UNIVERSALK9-M), Version 12.2(55)SE3,

SW01#copy http: flash:

Address or name of remote host []? 172.16.4.167

Source filename []? HFSHttpFileServer/c2960s-universalk9-mz.152-2.E9.bin

Destination filename [c2960s-universalk9-mz.152-2.E9.bin]?

Accessing http://172.16.4.167/HFSHttpFileServer/c2960s-universalk9-mz.152-2.E9.bin...

Loading http://172.16.4.167/HFSHttpFileServer/c2960s-universalk9-mz.152-2.E9.bin !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

16800768 bytes copied in 157.832 secs (106447 bytes/sec)

SW01#

Check file:

verify /md5 c2960s-universalk9-mz.152-2.E9.bin ea604d030b378b6c5c3 (MD5 Hash)

Upgrade

SW01#conf t

Enter configuration commands, one per line.  End with CNTL/Z.

SW01(config)#boot flash:/system c2960s-universalk9-mz.152-2.E9.bin

Check Boot

SW01(config)#do sh boot

BOOT path-list      : flash:/c2960s-universalk9-mz.152-2.E9.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:   524288

Timeout for Config

          Download:    0 seconds

Config Download

       via DHCP:       disabled (next boot: disabled)

Write to Memory

SW01(config)#do wr mem

Building configuration...

[OK]

SW01(config)#

Save running config (If you made changes, not shure if this is necessary)

SW01(config)#do copy ru st

Destination filename [startup-config]?

Building configuration...

[OK]

0 bytes copied in 1.232 secs (0 bytes/sec)

SW01(config)#

Reload Config:

SW01(config)#do reload

Proceed with reload? [confirm] "Enter"

Afher reboot  validate the software

SW01>sh version

Cisco IOS Software, C2960S Software (C2960S-UNIVERSALK9-M), Version 15.2(2)E9, RELEASE SOFTWARE (fc4)

Review Cisco Networking for a $25 gift card