cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
210
Views
1
Helpful
3
Replies

IOSXE update method

clive.fulton
Level 1
Level 1

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. 

3 Replies 3

Leo Laohoo
Hall of Fame
Hall of Fame

@clive.fulton wrote:
Is there a variant of the command which requires no interaction and will not auto-reload?

Cisco 3850: IOS-XE/Firmware Upgrade

clive.fulton
Level 1
Level 1

Unfortunately the syntax of the 'install' command seems to be different for the 9300 compared with 3850

Cristian Matei
VIP Alumni
VIP Alumni

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:

https://www.cisco.com/c/en/us/support/docs/switches/catalyst-9300-series-switches/216231-upgrade-guide-for-cisco-catalyst-9000-sw.html#toc-hId--2018280517

Thanks,

Cristian.