cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
795
Views
1
Helpful
14
Replies

Upgrade of cisco 9200 failing

janelle-provine
Level 1
Level 1

I tftped a firmware file(cat9k_lite_iosxe.17.12.04.SPA.bin) to a cisco 9200 switch and when I run the 

install add file flash:cat9k_lite_iosxe.17.12.04.SPA.bin activate commit

I get the following error

Error: Failed to install_add_activate_commit package flash:cat9k_lite_iosxe.17.12.04.SPA.bin, Error: File flash:cat9k_lite_iosxe.17.12.04.SPA.bin is corrupt or is not a valid package

1 Accepted Solution

Accepted Solutions

@janelle-provine 

 Probably the IOS is corrupted. You can check if

 Remove the file and copy again with verify command

copy /verify tftp://x.x.x.x/cat9k_lite_iosxe.17.12.04.SPA.bin flash:

If the file is corrupted, you might see it.

 

View solution in original post

14 Replies 14

@janelle-provine 

 Probably the IOS is corrupted. You can check if

 Remove the file and copy again with verify command

copy /verify tftp://x.x.x.x/cat9k_lite_iosxe.17.12.04.SPA.bin flash:

If the file is corrupted, you might see it.

 

@Flavio Miranda 

I copied firmware to 54 cisco 3650 the exact same way with tftp and had no issues with them. I copied to 17 different 9200 switches at different locations with the same error when trying to install. is there a way to verify the the firmware I did copy is corrupted and why? If I do this command copy /verify tftp://x.x.x.x/cat9k_lite_iosxe.17.12.04.SPA.bin flash: will it take alot longer? If I use sftp instead of tftp will that help

sftp is safer but the copy method does not change. I am not sure who much time the verify add to the process but I believe this worth try.

====================================================

Morton Community Bank sent you a secure message

====================================================

The first time you access it you’ll be asked to enter your email address and create a password: https://protect-us.mimecast.com/s/6sdQCPNAlRHKpQ4wT1i0HxQDwC

You can view your message at any time afterwards in our Secure Messaging service: https://protect-us.mimecast.com/s/L0nGCNkyjPs04oNWTmfoHyIFCp

–––––––––––––––––––––––––––––––––––––––––––––––––––

Powered by Mimecast

© 2020 Mimecast Services Limited and affiliates. The information contained in this
communication is confidential and may be legally privileged. It is intended solely for use
by the intended recipient. If you are not the intended recipient, or authorized to receive
it, any disclosure, copying, distribution or reliance of the contents of this information
is strictly prohibited. For information about how your personal data is processed through
this service, read the Mimecast Secure Messaging Privacy Statement -
https://www.mimecast.com/lfs-and-sm-privacy-statement.

I did they copy using verify, it looked like it worked but when I checked for the file on the switch it wasn’t there or I couldn’t see it

thanks so much this did the trick

Leo Laohoo
Hall of Fame
Hall of Fame

@janelle-provine wrote:
File flash:cat9k_lite_iosxe.17.12.04.SPA.bin is corrupt

Download the firmware again.

@Leo Laohoo 

Download it to the switch again or from the cisco site, cause I have done both and it didn't fix the issue. What would be corrupting it I used the same firmware on a switch in my lab with no issues

Ok, here's one way to determine if the firmware file is indeed corrupt or you've hit a bug. 

Force the switch to boot into ROMMON.  From ROMMON, force the switch to boot the firmware in Bundle Mode.  Let us see what the results are.

Great idea but I cannot do that on a production switch and a majority of my switches remote to me in other towns

balaji.bandi
Hall of Fame
Hall of Fame

If the switch already running, can you post show version to check some information.

Cat 9200 also have USB, if you like to boot one of the switch to see the firmware ok.

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

isco IOS XE Software, Version 17.06.03
Cisco IOS Software [Bengaluru], Catalyst L3 Switch Software (CAT9K_LITE_IOSXE), Version 17.6.3, RELEASE SOFTWARE (fc4)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2022 by Cisco Systems, Inc.
Compiled Wed 30-Mar-22 21:23 by mcpre

Most of my switches are remote to me and I would have to travel to use a usb. I also tried it on a test switch and had no issue 

 

Most of my switches are remote to me and I would have to travel to use a usb. I also tried it on a test switch and had no issue 

You do need to travel, you can send the image to local person (if any one asists, copy that image to USB and Plug in to switch)

any way something go wrong, some need from remote end to asists (if the standard process upgrade breaks).

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

There is no one to assist