3560 Switch IOS upgrade problem

Unanswered Question
Oct 5th, 2007
User Badges:


In 3560 switch i have uploaded one IOS. After uploading i have checked in sh flash & dir flash, it shown me the new IOS that i uploaded. In sh boot also i have found my new IOS.

But after reloading i am getting the following erro


cesk9-tar.122-40.SE.tar: magic number mismatch: bad mzip file

Its a .tar file

I am in



Here in switch: set


i can find the new IOS that i uploaded.

I have done the

flash_init; load_helper Y boot.

But the result is same.

Everytime it says magic number mismatch.

Can someone please help me out in this???

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (2 ratings)
ankbhasi Fri, 10/05/2007 - 04:21
User Badges:
  • Cisco Employee,

Hi Acharya,

Your boot path is wrong and it is pointing to .tar extension and in fact when you upgrade your switch your switch should xtract the file and your flash should have xtracted file in .bin format.

Also can you check dir flash: displays you what output? What command did you tried to upgrade?



glen.grant Fri, 10/05/2007 - 04:26
User Badges:
  • Purple, 4500 points or more

The .tar file is not the ios file , it is a compressed file that holds the .bin file and all the GUI interface stuff . To extract the .bin into its directory you must use the "archive" command , this will extract the file and put it into its own directory or you can delete the .tar file and just download the plain .bin file and use that and point your boot statement at that .


This Discussion