cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
251
Views
0
Helpful
2
Replies

c3850 upgrade automate

ronnypetersen
Level 1
Level 1

Hi everyone,


I have a numerous number of C3850 switches to upgrade and I plan to upgrade 8 simultaniously. This is a new platform for me.


I`m using the command "software install file tftp:// ..." , but at the end I got a question "do you want ro reload ...[yes/no].


Does anybody know if there is any smart way to tell the switch to automatically reload...ala the archive command with /force-reload ?


Regards

2 Replies 2

Palani Mohan
Cisco Employee
Cisco Employee

Ronny

This question is prompted when you follow the steps to upgrade IOS in "install mode".

I am presuming that you plan on pushing upgrade through a script? If yes, these scripts may be capable of answering an interactive question. The other option is bundle mode. Here, you are NOT prompted with a question.

As it stands, there are no obvious benefits of going with install mode. No other platform from Cisco is making install made the default, but for the 3850s. It is likely that you know about this part of documentation which explains the two modes.

If you find bundle mode is acceptable and you want to avoid the question, use the following snmpset cmd:

snmpset -v 2c -c YyY 10.122.160.125 .1.3.6.1.4.1.9.9.10.1.2.1.1.2.123 i 2 .1.3.6.1.4.1.9.9.10.1.2.1.1.3.123 i 1 .1.3.6.1.4.1.9.9.10.1.2.1.1.4.123 a "172.18.123.33" .1.3.6.1.4.1.9.9.10.1.2.1.1.5.123 s “cat3k_caa-universalk9.SPA.03.06.05.E.152-2.E5.bin” .1.3.6.1.4.1.9.9.10.1.2.1.1.6.123 s "flash:/cat3k_caa-universalk9.SPA.03.06.05.E.152-2.E5.bin" .1.3.6.1.4.1.9.9.10.1.2.1.1.11.123 i 4

to push the image to the 3850's flash. Once done, use another snmpset to push .1.3.6.1.4.1.9.2.9.9.0 i 2

This will cause the switch to reload without getting into an interactive dialogue.

Let me know if you have any questions or clarifications.

Kind regards ... Palani

Palani

Yeah, I solved it with a script, but I will check out snmpset cmds as well. I learned something new.

Thanks my friend.

/regards

Ronny

Review Cisco Networking for a $25 gift card