- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2023 10:59 PM
Hello Team,
I have done the IOS upgrade by using the below command in the Cisco WS-C3650-24PS platform.
#request platform software package install switch all file flash:cat3k_caa-universalk9.16.12.07.SPA.bin
The switch come up with the expected IOS version of 16.12.08
OLD : 16.12.05b
New : 16.12.08
Question: Post validation, I found the IOS still present on the flash and the new IOS reflecting on the down.
If any reload in the future,, which IOS will take ?
Solved! Go to Solution.
- Labels:
-
LAN Switching
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2023 05:53 AM - edited 05-20-2023 06:25 AM
Hello @Madhu ,
Please verify the current boot configuration with show boot command.
This command will display the boot variables and the order in which the IOS images are loaded. Look for the "boot system" lines in the output.
If the boot configuration is not explicitly set, the switch will automatically boot from the highest numbered IOS image in the flash. In your case, if the boot configuration is not modified, the switch will boot from the new IOS version 16.12.08 after a reload.
However, if you want to ensure that the switch always boots from the new IOS version, you can modify the boot configuration to explicitly specify the desired IOS image. Here's an example of how to do that:
#boot system switch all flash:<IMAGE.bin>
Modify<IMAGE.bin> with the actual filename of the new IOS image.
.ı|ı.ı|ı. If This Helps, Please Rate .ı|ı.ı|ı.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2023 06:09 AM
There's something very inconsistent about all the info you have provided!
- You say you wanted to upgrade to 16.12.8 but the command you say you used was using a 16.12.7 image!
- That "show ver" shows the switch running 16.12.8 but referring to a 16.12.5b conf file - there are some well know bugs with conf files not getting correctly updated with upgrade and this is already covered in the upgrade procedures - sometimes you need to copy and set the correct conf file manually. But at that point the switch appears to be running 16.12.8 - one way or another!
-The latest "sh ver" you provided actually shows the switch running 16.12.5b so there have clearly between changes between the first and second one!
I think start from scratch and follow the instructions carefully. Make sure you have the correct file(s). Refer to
https://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst3650/software/release/16-12/configuration_guide/sys_mgmt/b_1612_sys_mgmt_3650_cg/upgrading_the_switch_software.html
https://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst3650/software/release/16-12/release_notes/ol-16-12-3650.html#id_67613
Please click Helpful if this post helped you and Select as Solution (drop down menu at top right of this reply) if this answered your query.
------------------------------
TAC recommended codes for AireOS WLC's and TAC recommended codes for 9800 WLC's
Best Practices for AireOS WLC's, Best Practices for 9800 WLC's and Cisco Wireless compatibility matrix
Check your 9800 WLC config with Wireless Config Analyzer using "show tech wireless" output or "config paging disable" then "show run-config" output on AireOS and use Wireless Debug Analyzer to analyze your WLC client debugs
Field Notice: FN63942 APs and WLCs Fail to Create CAPWAP Connections Due to Certificate Expiration
Field Notice: FN72424 Later Versions of WiFi 6 APs Fail to Join WLC - Software Upgrade Required
Field Notice: FN72524 IOS APs stuck in downloading state after 4 Dec 2022 due to Certificate Expired
- Fixed in 8.10.196.0, latest 9800 releases, 8.5.182.12 (8.5.182.13 for 3504) and 8.5.182.109 (IRCM, 8.5.182.111 for 3504)
Field Notice: FN70479 AP Fails to Join or Joins with 1 Radio due to Country Mismatch, RMA needed
How to avoid boot loop due to corrupted image on Wave 2 and Catalyst 11ax Access Points (CSCvx32806)
Field Notice: FN74035 - Wave2 APs DFS May Not Detect Radar After Channel Availability Check Time
Leo's list of bugs affecting 2800/3800/4800/1560 APs
Default AP console baud rate from 17.12.x is 115200 - introduced by CSCwe88390
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2023 11:12 PM
- Check with command : # show boot
M.
-- Each morning when I wake up and look into the mirror I always say ' Why am I so brilliant ? '
When the mirror will then always repond to me with ' The only thing that exceeds your brilliance is your beauty! '
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2023 11:23 PM
Hi, Pls find the logs.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2023 11:59 PM
you can clean old OS using below command and reload the device and check.
#
install remove inactive
do it on maintenance window.
Good luck
KB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2023 05:53 AM - edited 05-20-2023 06:25 AM
Hello @Madhu ,
Please verify the current boot configuration with show boot command.
This command will display the boot variables and the order in which the IOS images are loaded. Look for the "boot system" lines in the output.
If the boot configuration is not explicitly set, the switch will automatically boot from the highest numbered IOS image in the flash. In your case, if the boot configuration is not modified, the switch will boot from the new IOS version 16.12.08 after a reload.
However, if you want to ensure that the switch always boots from the new IOS version, you can modify the boot configuration to explicitly specify the desired IOS image. Here's an example of how to do that:
#boot system switch all flash:<IMAGE.bin>
Modify<IMAGE.bin> with the actual filename of the new IOS image.
.ı|ı.ı|ı. If This Helps, Please Rate .ı|ı.ı|ı.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2023 05:58 AM
Hi
This is confuse. You ran the command:
#request platform software package install switch all file flash:cat3k_caa-universalk9.16.12.07.SPA.bin
then, on the show version you see:
Then you attached another log with
Switch Ports Model SW Version SW Image Mode
------ ----- ----- ---------- ---------- ----
* 1 28 WS-C3650-24PS 16.12.05b CAT3K_CAA-UNIVERSALK9 INSTALL
But the uptime is "MNL.T.F7.W.NTC2.AS.5 uptime is 1 year, 41 weeks, 5 days, 23 hours, 1 minute"
The TXT log you attached is pre-upgrade?
This switch is in Install mode so, you dont need to worry about the boot command. If you install using the request platform command and you got everything right on the logs, no error then you should boot with the right image.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2023 06:09 AM
There's something very inconsistent about all the info you have provided!
- You say you wanted to upgrade to 16.12.8 but the command you say you used was using a 16.12.7 image!
- That "show ver" shows the switch running 16.12.8 but referring to a 16.12.5b conf file - there are some well know bugs with conf files not getting correctly updated with upgrade and this is already covered in the upgrade procedures - sometimes you need to copy and set the correct conf file manually. But at that point the switch appears to be running 16.12.8 - one way or another!
-The latest "sh ver" you provided actually shows the switch running 16.12.5b so there have clearly between changes between the first and second one!
I think start from scratch and follow the instructions carefully. Make sure you have the correct file(s). Refer to
https://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst3650/software/release/16-12/configuration_guide/sys_mgmt/b_1612_sys_mgmt_3650_cg/upgrading_the_switch_software.html
https://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst3650/software/release/16-12/release_notes/ol-16-12-3650.html#id_67613
Please click Helpful if this post helped you and Select as Solution (drop down menu at top right of this reply) if this answered your query.
------------------------------
TAC recommended codes for AireOS WLC's and TAC recommended codes for 9800 WLC's
Best Practices for AireOS WLC's, Best Practices for 9800 WLC's and Cisco Wireless compatibility matrix
Check your 9800 WLC config with Wireless Config Analyzer using "show tech wireless" output or "config paging disable" then "show run-config" output on AireOS and use Wireless Debug Analyzer to analyze your WLC client debugs
Field Notice: FN63942 APs and WLCs Fail to Create CAPWAP Connections Due to Certificate Expiration
Field Notice: FN72424 Later Versions of WiFi 6 APs Fail to Join WLC - Software Upgrade Required
Field Notice: FN72524 IOS APs stuck in downloading state after 4 Dec 2022 due to Certificate Expired
- Fixed in 8.10.196.0, latest 9800 releases, 8.5.182.12 (8.5.182.13 for 3504) and 8.5.182.109 (IRCM, 8.5.182.111 for 3504)
Field Notice: FN70479 AP Fails to Join or Joins with 1 Radio due to Country Mismatch, RMA needed
How to avoid boot loop due to corrupted image on Wave 2 and Catalyst 11ax Access Points (CSCvx32806)
Field Notice: FN74035 - Wave2 APs DFS May Not Detect Radar After Channel Availability Check Time
Leo's list of bugs affecting 2800/3800/4800/1560 APs
Default AP console baud rate from 17.12.x is 115200 - introduced by CSCwe88390
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2023 06:43 AM
Based on your statement, image upgrade is done and the problem is you can see both the images (old and existing) in the flash.
The recommended way is to configure the new/upgraded image for the next boot and you can verify this with "show boot" command.
