03-23-2023 07:24 AM
Hello,
I have a C9300-48U stack running software version 17.03.03 and will be adding another switch to the stack in the near future. I want to know if the new switch will automatically upgrade to the running software version (17.03.03) of the stack. I see that there is a command to enable this feature (software auto-upgrade enable). My question is, how do I check to see if this command is already enabled? Also, If I need to enable this, do I enable it on the new switch or on the existing stack?
Thank you in advance!
Solved! Go to Solution.
03-23-2023 07:41 AM
Hi,
According to the link below, the auto-upgrade command is used in a StackWise Virtual setup and not regular stacking.
To add a switch to a regular stack, you would need to install the same license and IOS version to the new switch offline and than add it to the stack.
HTH
03-23-2023 07:41 AM
Hi,
According to the link below, the auto-upgrade command is used in a StackWise Virtual setup and not regular stacking.
To add a switch to a regular stack, you would need to install the same license and IOS version to the new switch offline and than add it to the stack.
HTH
03-23-2023 03:07 PM
@CodyH wrote:
My question is, how do I check to see if this command is already enabled?
sh run | include auto-upgrade
03-24-2023 10:00 AM
That works. Thank you Leo Laohoo and Reza Sharifi
11-27-2024 01:51 PM
It can be used on normal stack, I just did in on three C9300 stacks, here's the real-life guide:
1) connect switch with different SW version to the stack, just make sure you have the same license level (essentials or advantage), new switch with appear in "V-Mismatch" state
SWITCH#show switch
Switch/Stack Mac Address : 7018.a722.2900 - Local Mac Address
Mac persistency wait time: Indefinite
H/W Current
Switch# Role Mac Address Priority Version State
-------------------------------------------------------------------------------------
*1 Active 7018.a722.2900 15 V02 Ready
2 Standby d4ad.7191.4a00 14 V02 Ready
3 Member 7018.a722.2880 13 V02 Ready
4 Member d4ad.7191.d600 12 V02 Ready
5 Member 7018.a71f.0780 11 V02 Ready
6 Member cc79.d75c.8780 10 V05 V-Mismatch
2) issue command software auto-upgrade enable on the existing stack
3) stack will check for the switch with wrong SW and will start the process of upgrading and adding new switch to the stack
Nov 27 21:10:37.562 UTC: %AUTO_UPGRADE-5-AUTO_UPGRADE_START_CHECK: Switch 1 R0/0: auto_upgrade_client_helper: Auto upgrade start checking for incompatible switches.
Nov 27 21:10:41.580 UTC: %AUTO_UPGRADE-5-AUTO_ADVISE_SW_INITIATED: Switch 1 R0/0: auto_upgrade_client_helper: Auto advise initiated for switch 6.
Nov 27 21:10:41.601 UTC: %AUTO_UPGRADE-5-AUTO_ADVISE_SW_SEARCH: Switch 1 R0/0: auto_upgrade_client_helper: Searching stack for software to upgrade switch 6/R0.
Nov 27 21:10:41.605 UTC: %AUTO_UPGRADE-5-AUTO_ADVISE_SW_MSG: Switch 1 R0/0: auto_upgrade_client_helper: switch 6/R0 with incompatible software has been added to the system/stack. all system/stack members were scanned and it has been determined that the 'install autoupgrade' command can be used to install compatible software on switch 6/R0.
Nov 27 21:10:45.451 UTC: %AUTO_UPGRADE-5-AUTO_ADVISE_SW_INITIATED: Switch 1 R0/0: auto_upgrade_client_helper: Auto advise initiated for switch 6.
Nov 27 21:10:45.472 UTC: %AUTO_UPGRADE-5-AUTO_ADVISE_SW_SEARCH: Switch 1 R0/0: auto_upgrade_client_helper: Searching stack for software to upgrade switch 6/R0.
Nov 27 21:10:45.477 UTC: %AUTO_UPGRADE-5-AUTO_ADVISE_SW_MSG: Switch 1 R0/0: auto_upgrade_client_helper: switch 6/R0 with incompatible software has been added to the system/stack. all system/stack members were scanned and it has been determined that the 'install autoupgrade' command can be used to install compatible software on switch 6/R0.
Nov 27 21:14:11.660 UTC: %AUTO_UPGRADE-5-AUTO_UPGRADE_INITIATED: Switch 1 R0/0: auto_upgrade_client_helper: Auto upgrade initiated for switch 6/R0.
Nov 27 21:14:11.681 UTC: %AUTO_UPGRADE-5-AUTO_UPGRADE_SEARCH: Switch 1 R0/0: auto_upgrade_client_helper: Searching stack for software to upgrade switch 6/R0.
Nov 27 21:14:11.685 UTC: %AUTO_UPGRADE-5-AUTO_UPGRADE_FOUND: Switch 1 R0/0: auto_upgrade_client_helper: Found donor switch 1 to auto upgrade switch 6/R0.
Nov 27 21:14:11.688 UTC: %AUTO_UPGRADE-5-AUTO_UPGRADE_START: Switch 1 R0/0: auto_upgrade_client_helper: Upgrading switch 6/R0 with software from switch 1.
Nov 27 21:15:17.859 UTC: %AUTO_UPGRADE-3-AUTO_UPGRADE_ROMMON_NOT_UPDATED: Switch 1 R0/0: auto_upgrade_client_helper: Unable to confirm boot config on switch 6/R0, assuming it is set as flash:packages.conf.
Nov 27 21:15:17.983 UTC: %AUTO_UPGRADE_MODULAR-5-SMU_AUTO_UPGRADE_INITIATING: Switch 1 R0/0: auto_upgrade_client_helper: Initiating SMU autoupgrade for switch 6/R0
Nov 27 21:15:18.632 UTC: %AUTO_UPGRADE-5-AUTO_UPGRADE_FINISH: Switch 1 R0/0: auto_upgrade_client_helper: Finished installing software on switch 6/R0.
Nov 27 21:15:21.939 UTC: %AUTO_UPGRADE-5-AUTO_UPGRADE_RELOAD: Switch 1 R0/0: auto_upgrade_client_helper: Reloading switch 6 to complete the auto upgrade.
4) after several minutes new switch is successfully added to the stack
SWITCH#show switch
Switch/Stack Mac Address : 7018.a722.2900 - Local Mac Address
Mac persistency wait time: Indefinite
H/W Current
Switch# Role Mac Address Priority Version State
-------------------------------------------------------------------------------------
*1 Active 7018.a722.2900 15 V02 Ready
2 Standby d4ad.7191.4a00 14 V02 Ready
3 Member 7018.a722.2880 13 V02 Ready
4 Member d4ad.7191.d600 12 V02 Ready
5 Member 7018.a71f.0780 11 V02 Ready
6 Member cc79.d75c.8780 10 V05 Ready
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