Reply

How to upgrade Cisco using Archive Command

Adviser
Posts: 470
4900     2


Script:
IOS Upgrade Archive CMD

Script-Description:
IOS Upgrade Script for Cisco devices supporting the archive method to upgrade devices.


Script-Filter:

$Vendor eq "Cisco"


Script-Variables:


$tftp_server string "Enter the tftp Server IP"

$image_filename string "Enter the Complete Image Filename"

$no_version_check boolean

$reload_now boolean

$reload_in string "enter the reload in text here"

 

Action:

Archive Download

 

Action-Description:

This executes the Archive Download command which downloads and installs an IOS image.

 

Action-Timeout:

5400

 

Action-Commands: {$no_version_check eq "off"}

archive download-sw /overwrite tftp\x3A//$tftp_server/$image_filename

 

Action-Commands: {$no_version_check eq "on"}

archive download-sw /overwrite /no-ver tftp\x3A//$tftp_server/$image_filename

 

##############

Action:

Reload Device

 

Action-Description:

Reload the device only if one of the reload options have been selected.

 

Action-Commands:{$reload_now eq "on"}

reload in 1\r

 

Action-Commands:{$reload_in not like /enter the reload in text here/}

$reload_in\r

 

 

 

 

 

Some other examples Smiley Happy

https://community.infoblox.com/t5/Network-Change-Configuration/Upgrade-IOS-Image-on-Cisco-2960/m-p/2...

 

 

Follow me on LinkedIn: https://www.linkedin.com/in/sifbaksh
Twitter: https://twitter.com/sifbaksh

https://sifbaksh.com

Re: How to upgrade Cisco using Archive Command

Adviser
Posts: 136
4901     2

Thanks for sharing this. 

-Srinivas

--------------------------------------
Check out our new Tech docs website for latest documentation on Infoblox products.
Showing results for 
Search instead for 
Did you mean: 

Recommended for You