02-22-2023 11:06 PM
i have cat9000 doing upgrade but i'm also testing downgrade procedure.
lets say upgrade from 16.6.6 to 17.6.4.
so without "install remove inactive" so i have both old and new versions of pkg files in bootflash.
i noticed there are conf files in the flash:
> cat9k_iosxe.17.06.04.SPA.1.conf
> cat9k_iosxe_npe.16.06.06.SPA.conf
if i want to downgrade, can i safely copy the cat9k_iosxe_npe.16.06.06.SPA.conf to packages.conf then reload?
02-22-2023 11:30 PM
i would suggest to follow downgrade procedures, (your idea good, but some time things may go wrong)
You do not need to remove inactive packages of OLD IOS XE until its fully upgraded and tested.
Hope this helps you.
Note: I have tried the packages.conf replacing, some worked as expected, and some gone into ROMMON.
02-23-2023 02:59 PM
yea, the downgrade process will need to do "install remove inactive", which will remove all bin files and older inactive pkg, and would have to redownload the bin file again. I'm trying to find a way to reuse older pkg files already in the system.
doesn't sound like replacing packages.conf is that safe from your test.
02-24-2023 06:26 PM
if this is LAB you can try any possible way to learn and see the best to fix it,
if this is Live I do not like to take the risk of replacing the switch for simple mistakes we do to prove something is working.
i follow standard advice on the procedure to rollback. One should take a call on what works. if both the .pkg files are available in the device and you have both packages. conf-available and verified the content of the packages.conf, you can try booting from old packages.conf file.
02-23-2023 02:33 AM
Post the complete output to the command "dir flash:packages.*"
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide