cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1314
Views
1
Helpful
7
Replies

IOS Upgrade Query

Madhu
Level 1
Level 1

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 ?  

2 Accepted Solutions

Accepted Solutions

M02@rt37
VIP
VIP

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.

 

Best regards
.ı|ı.ı|ı. If This Helps, Please Rate .ı|ı.ı|ı.

View solution in original post

Rich R
VIP
VIP

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

 

View solution in original post

7 Replies 7

marce1000
Hall of Fame
Hall of Fame

 

          - 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! '

Hi, Pls find the logs.

you can clean old OS using below command and reload the device and check.

#

install remove inactive

 do it on maintenance window. 

Please rate this and mark as solution/answer, if this resolved your issue
Good luck
KB

M02@rt37
VIP
VIP

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.

 

Best regards
.ı|ı.ı|ı. If This Helps, Please Rate .ı|ı.ı|ı.

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:

FlavioMiranda_0-1684587185608.png

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.

 

Rich R
VIP
VIP

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

 

Pushparaj Sinha
Level 1
Level 1

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.