03-26-2019 12:05 AM
Hi All,
Need some help on an issue I encountered when I tried to upgrade the IOS of a Cisco 3850-48P-S. I realized that the way the I did it was wrong. Idid it on this sequence.
1. Downloaded the IOS to flash.
2. Upgrade the IOS using the command:
request platform software package install switch all file ftp:cat3k_caa-universalk9.16.03.07.SPA.bin new auto-copy
3. Clean-up the flash using the command:
request platform software package clean switch all file flash:
After doing step 3, I realized that all the packages and .bin file for the 16.3.7 were gone.
Switch#dir flash:*.pkg
Directory of flash:/*.pkg
Directory of flash:/
88883 -rw- 15950464 Nov 12 2018 00:10:09 +00:00 cat3k_caa-guestshell.16.03.06.SPA.pkg
88884 -rw- 22302593 Nov 12 2018 00:10:09 +00:00 cat3k_caa-rpbase.16.03.06.SPA.pkg
88885 -rw- 265124472 Nov 12 2018 00:10:10 +00:00 cat3k_caa-rpcore.16.03.06.SPA.pkg
24242 -rw- 9095808 Nov 12 2018 00:10:10 +00:00 cat3k_caa-srdriver.16.03.06.SPA.pkg
24243 -rw- 211675764 Nov 12 2018 00:10:33 +00:00 cat3k_caa-wcm.16.03.06.SPA.pkg
24244 -rw- 13423228 Nov 12 2018 00:10:33 +00:00 cat3k_caa-webui.16.03.06.SPA.pkg
1562509312 bytes total (432070656 bytes free)
Now, my upgrade could no longer rollback to because for some reason, the files that got deleted is still occupying the flash space. But is not appearing when you issue the "dir" command. And I am worried that the device would go to rommon if I reboot it.
Kindly advise how I could successfully upgrade the IOS to 16.3.7 from its current state.
Solved! Go to Solution.
03-26-2019 10:48 PM
Hi,
Here is the complete guide from the Cisco. Choose an option as INSTALL Mode:
Regards,
Deepak Kumar
03-26-2019 12:14 AM - edited 03-26-2019 12:42 AM
Hi there,
I have done it before just like what you say
As the .bin file was gone ,Do not boot flash:packages.conf
You need to boot the flash file like flash:cat3k_caa-universalk9.16.03.07.SPA.conf
You can use command "more flash:packages.conf and more flash:cat3k_caa-universalk9.16.03.07.SPA.conf" comparing what difference between them
Thanks
03-26-2019 01:57 AM
@tianwen.zhao wrote:Hi there,
I have done it before just like what you say
As the .bin file was gone ,Do not boot flash:packages.conf
You need to boot the flash file like flash:cat3k_caa-universalk9.16.03.07.SPA.confYou can use command "more flash:packages.conf and more flash:cat3k_caa-universalk9.16.03.07.SPA.conf" comparing what difference between them
Thanks
Hi,
There is no "cat3k_caa-universalk9.16.03.07.SPA.conf". They all files pertaining to 16.3.7 were already deleted.
03-26-2019 01:36 AM
Hi,
Have you modified the Boot system? Also share the "Show flash: or Dir flash:: output.
Regards,
Deepak Kumar
03-26-2019 01:59 AM
03-26-2019 02:51 AM
Hi,
"40413 -rw- 4737 Mar 25 2019 19:40:04 +00:00 packages.conf"
This file is overwritten today and you may face issue after reboot the switch. I suggested to perform step 1 and Step 2 again. After setting the boot system again and restart the switch. The switch will boot with the latest version and after you can run step 3 command.
Regards,
Deepak Kumar
03-26-2019 06:35 PM
@Deepak Kumar wrote:Hi,
"40413 -rw- 4737 Mar 25 2019 19:40:04 +00:00 packages.conf"
This file is overwritten today and you may face issue after reboot the switch. I suggested to perform step 1 and Step 2 again. After setting the boot system again and restart the switch. The switch will boot with the latest version and after you can run step 3 command.
Regards,
Deepak Kumar
Hi Deepak,
Since I do not have enough space on my flash, can I do the upgrade directly from a USB? and may ask what the syntax is?
03-26-2019 10:48 PM
Hi,
Here is the complete guide from the Cisco. Choose an option as INSTALL Mode:
Regards,
Deepak Kumar
05-19-2020 05:11 AM
Hello,
Can you please help me with a IOS upgrade procedure for the Catalyst switches (WS-C3650-24TD-E) which are stacked .
Upgrading from 16.3.6 to 16.3.10, also mention if any prerequisite for the up gradation work ?
Thank you.
Regards,
Somnath
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