Cisco IOS XE Upgrade Issue
A client of mine has encountered an issue while trying to upgrade the IOS XE firmware of a Cisco Catalyst 3850 series switch.
The error stated the following message - "FAILED: switch local is not booted with provisioning file".
After some research, I found out that this is a typical error you get when trying to upgrade a switch which is in Bundle mode.
I won't be deep diving into the differences between Bundle mode and Install mode as it will be covered in a dedicated post.
Following are the steps to overcome this issue and successfully complete the upgrade process:
- Verify the switch is running in Bundle mode using a simple "show version" command.
- Remove the .pkg files of the current (old) firmware using the following commands:
- delete /force flash:cat*.pkg
- delete /force flash:packages.conf
- Copy the .bin file of the newest firmware to the flash (if not there already - verify by "show flash:" command).
- Remove boot system configuration using "no boot system" command.
- Extract the newly upload .bin file using "request platform software package expand switch all flash:packages.conf".
- Configure packages.conf as the new boot system file using "boot system switch all flash:packages.conf".
- Save configuration using "write".
- Verify the new boot system parameters using "show boot system".
- Reload the switch using "reload".
- Verify the process completed successfully using "show version" and the switch is fully operational.
Important note: if you're upgrading a STACK, please remember to upload the desired .bin file to all of the switches (to the flash drive).
This post was originally posted on my blog: https://lonelypacket.wordpress.com/
Senior Network Engineer
2moThank you so much for your help!!
Networking and Security Consultant - Cisco | Fortinet | PaloAlto | CheckPoint | Watchguard | CCNPx2 Enterprise/Security |
3yVery useful! Thank you!
System Engineer at Conscia, 2xCCIE (RS/SP) #58825, CCDE #20220003
4yDid you use this guide? https://zartmann.dk/how-to/update-ios_xe/