08-18-2022 08:29 AM - edited 08-18-2022 08:31 AM
Hi
I' m traing to add a switch c9200 48p in stack but i receive error because 2 switches are in INSTALL mode and new is in BUNDLE mode.
Switch Ports Model SW Version SW Image Mode
------ ----- ----- ---------- ---------- ----
1 56 C9200-48T 16.12.3a CAT9K_LITE_IOSXE INSTALL
* 2 56 C9200-48P 16.12.3a CAT9K_LITE_IOSXE INSTALL
Switch Ports Model SW Version SW Image Mode
------ ----- ----- ---------- ---------- ----
* 3 56 C9200-48P 16.12.3a CAT9K_LITE_IOSXE BUNDLE
I would to upgrade the new switch from stack member in this way i have all switches in INSTALL mode and finally i will connect the new switch in stack without mismatch error.
could someone suggest me the procedure to be performed from the master stack in order to also have the last one in the correct mode?
Thanks
Cesare
Solved! Go to Solution.
08-19-2022 02:52 AM - edited 08-19-2022 03:05 AM
Additionally you can follow the below document
Check the boot system
Ciscozine-9200#show boot Switch 1 Current Boot Variables: BOOT variable = flash:packages.conf; Boot Variables on next reload: BOOT variable = flash:packages.conf; Manual Boot = no Enable Break = no Boot Mode = DEVICE iPXE Timeout = 0 Ciscozine-9200#
Use this command to install the target image. You can point to the source image on your TFTP server or in flash if you have it copied to flash. My suggestion is to copy the .bin file to the flash.
Once this operation completes you’ll get prompted to reboot the switch stack.
Ciscozine-9200#install add file flash:cat9k_lite_iosxe.16.12.04.SPA.bin activate commit install_add_activate_commit: START Thu Sep 24 12:15:58 UTC 2020 install_add_activate_commit: Adding PACKAGE --- Starting initial file syncing --- [1]: Copying flash:cat9k_lite_iosxe.16.12.04.SPA.bin from switch 1 to switch 2 [2]: Finished copying to switch 2 Info: Finished copying flash:cat9k_lite_iosxe.16.12.04.SPA.bin to the selected switch(es) Finished initial file syncing --- Starting Add --- Performing Add on all members [1] Add package(s) on switch 1 [1] Finished Add on switch 1 [2] Add package(s) on switch 2 [2] Finished Add on switch 2 Checking status of Add on [1 2] Add: Passed on [1 2] Finished Addinstall_add_activate_commit: Activating PACKAGE […] This operation requires a reload of the system. Do you want to proceed? [y/n][y/n]y --- Starting Activate --- Performing Activate on all members […] Checking status of Activate on [1 2] Activate: Passed on [1 2] Finished Activate --- Starting Commit --- Performing Commit on all members [1] Commit package(s) on switch 1 [1] Finished Commit on switch 1 [2] Commit package(s) on switch 2 [2] Finished Commit on switch 2 Checking status of Commit on [1 2] Commit: Passed on [1 2] Finished Commit Install will reload the system now! SUCCESS: install_add_activate_commit Thu Sep 24 12:29:27 UTC 2020 Ciscozine-9200#
Another approach, it is to copy the new release, activate and commit it:
install add file flash:cat9k_lite_iosxe.16.12.04.SPA.bin
Note: Install add takes the file and copies it to bootflash on all of the switches in the switch stack.
Unnpack the bin files and add them to the boot config:
install activate
Commit the new release:
install commit
Note: You can use the command “show install summary” to display information about the installation status of packages.
https://www.ciscozine.com/catalyst-9000-upgrade/
08-18-2022 04:15 PM
Switch 1 & 2 are in Install Mode while Switch 3 is in Bundle Mode.
Switch 3 will not be able to join the stack because of this. The firmware for Switch 3 will need to be converted to Install Mode using the following command:
install add file bootflash:IOS-XE_filename.bin activate commit
08-19-2022 02:52 AM - edited 08-19-2022 03:05 AM
Additionally you can follow the below document
Check the boot system
Ciscozine-9200#show boot Switch 1 Current Boot Variables: BOOT variable = flash:packages.conf; Boot Variables on next reload: BOOT variable = flash:packages.conf; Manual Boot = no Enable Break = no Boot Mode = DEVICE iPXE Timeout = 0 Ciscozine-9200#
Use this command to install the target image. You can point to the source image on your TFTP server or in flash if you have it copied to flash. My suggestion is to copy the .bin file to the flash.
Once this operation completes you’ll get prompted to reboot the switch stack.
Ciscozine-9200#install add file flash:cat9k_lite_iosxe.16.12.04.SPA.bin activate commit install_add_activate_commit: START Thu Sep 24 12:15:58 UTC 2020 install_add_activate_commit: Adding PACKAGE --- Starting initial file syncing --- [1]: Copying flash:cat9k_lite_iosxe.16.12.04.SPA.bin from switch 1 to switch 2 [2]: Finished copying to switch 2 Info: Finished copying flash:cat9k_lite_iosxe.16.12.04.SPA.bin to the selected switch(es) Finished initial file syncing --- Starting Add --- Performing Add on all members [1] Add package(s) on switch 1 [1] Finished Add on switch 1 [2] Add package(s) on switch 2 [2] Finished Add on switch 2 Checking status of Add on [1 2] Add: Passed on [1 2] Finished Addinstall_add_activate_commit: Activating PACKAGE […] This operation requires a reload of the system. Do you want to proceed? [y/n][y/n]y --- Starting Activate --- Performing Activate on all members […] Checking status of Activate on [1 2] Activate: Passed on [1 2] Finished Activate --- Starting Commit --- Performing Commit on all members [1] Commit package(s) on switch 1 [1] Finished Commit on switch 1 [2] Commit package(s) on switch 2 [2] Finished Commit on switch 2 Checking status of Commit on [1 2] Commit: Passed on [1 2] Finished Commit Install will reload the system now! SUCCESS: install_add_activate_commit Thu Sep 24 12:29:27 UTC 2020 Ciscozine-9200#
Another approach, it is to copy the new release, activate and commit it:
install add file flash:cat9k_lite_iosxe.16.12.04.SPA.bin
Note: Install add takes the file and copies it to bootflash on all of the switches in the switch stack.
Unnpack the bin files and add them to the boot config:
install activate
Commit the new release:
install commit
Note: You can use the command “show install summary” to display information about the installation status of packages.
https://www.ciscozine.com/catalyst-9000-upgrade/
08-19-2022 08:36 AM
Thanks to Jitendra Kumar and Leo Laohoo for reply.
The solution of Leo it is ok but before to give this command "install add file bootflash:IOS-XE_filename.bin activate commit"
i need to correct boot system variable.
So The stack is in operation, to avoid problems in case of errors, I disconnected the third switch, the one to be corrected, I put the PC in the console.
1) correction of the boot variable
if give this command "boot system flash: packages.conf" result of "show boot" is
BOOT variable = flash: cat9k_lite_iosxe.16.12.03a.SPA.bin; flash: packages.conf <---not correct
In this situation the switch always pointed to .bin as the first option and not packages.conf
so I deleted the Boot variable
"no boot system"
And after
"boot system flash: packages.conf"
result of the "show boot"
BOOT variable = flash: packages.conf <-------- CORRECT
After this I entered suggested command:
"install add flash file: flash: cat9k_lite_iosxe.16.12.03a.SPA.bin activate commit"
After installation, commit and reload:
Switch Ports Model SW Version SW Image Mode
------ ----- ----- ---------- ---------- ----
* 3 56 C9200-48P 16.12.3a CAT9K_LITE_IOSXE INSTALL <-------CORRECT
Now I just need to connect the switch to the stack.
Thanks Jitendra Kumar and Leo Laohoo for your help
Cesare
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