12-17-2025 07:33 PM
When installing a new software version on a 9300 switch, a typical command is:
install add file path:file.bin activate commit
However, this requires some interaction (eg responding y/n) and it will be incomplete with out it. After which a reload is undertaken.
Is there a variant of the command which requires no interaction and will not auto-reload? I'd like to apply the update such that it will become active upon the next manual reload.
12-17-2025 08:28 PM
@clive.fulton wrote:
Is there a variant of the command which requires no interaction and will not auto-reload?
12-17-2025 10:15 PM
Unfortunately the syntax of the 'install' command seems to be different for the 9300 compared with 3850
12-18-2025 06:02 AM - edited 12-18-2025 06:07 AM
Hi,
In install mode, if you want to just skip the prompts but the upgrade & reload to happen, you can use the following: "install add file path:file.bin activate commit prompt-level none". If you want to perform the reload at a later point in time, you first perform "install add file path:file.bin", and whenever you feel like reloading for upgrade to happen, you perform "install activate file path:fie.bin prompt-level none" at which point device will reload, and after reload you perform "install commit". Another option would be to use a KRON job to perform the complete process at a specific point in time:
kron policy-list UPGRADE
cli write memory
cli install add file path:file.bin activate commit prompt-level none
exit
kron occurrence UPGRADE at XX:XX oneshot
policy-list UPGRADE
exit
kron policy-list UPGRADE conditional
Otherwise, you can use the classical bundle mode.
In both cases, use this guide for further reference:
Thanks,
Cristian.
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