Is there a way to upgrade a Cisco Catalyst 9300 switch to a new software version without the switch automatically reloading as part of the initial install process? With other switches (eg Cisco Catalyst 3850) I could do the software install and then it would prompt you with something like 'Software install complete. Do you want to reload now?'. You could hit 'n' and reload the switch at a later time eg out of hours. But when I recently did a software upgrade for our newer Catalyst 9300 switches from 16.12.04 to 17.03.04 the switch reloaded automatically straight away (luckily it was not a live switch!).
During the install there is a warning that comes up saying
This operation may require a reload of the system. Do you want to proceed? [y/n]
If you hit 'y' then it completes the install and reboots immediately afterwards. There is no further prompt to reload, below is the end of the process.
16128+0 records in
16128+0 records out
8257536 bytes (8.3 MB, 7.9 MiB) copied, 8.50053 s, 971 kB/s
SUCCESS: Upgrade_Service finished
Install will reload the system now!
SUCCESS: install_add_activate_commit Fri Dec 10 11:08:36 GMT 2021
The first time I tried installing I hit 'n' but that just seemed to cancel the install.
Looking at the Cisco doc for 9300 software upgrades I thought I had found the answer with the command
install add file bootflash:cat9k_iosxe.x.x.x.SPA.bin activate commit prompt-level none
I thought there would be an option to choose a value other than none, but there isnt.
Is there a way around this?