I've found it to be a very useful application. It can back up all files from the router's flash, back up the configuration, restore erased files, and more. IOSLoaderPro runs for about $40, but you can try it for free for 14 days. This is a very cool 750-KB application from VitalTech Group, which also makes IOSHunter, RouterConfigurator, IPCalculator, and WatchUp (not to be confused with WhatsUp). Remote_conn.However, I've also used IOSLoaderPro in the past. Remote_conn = remote_conn_pre.invoke_shell() Remote_conn_pre.connect(ip, port=22, username=username, Remote_conn_pre.set_missing_host_key_policy(paramiko.AutoAddPolicy()) Ip = raw_input("Please enter your IP address: ") Please, please test and test again before going forward into the production network! I'm all about reducing risk to you and your environment, and therefore the business it supports, however if you intend to go forward with a Python script, Kirk Byers (CCIE #6243) wrote on automating script here.
Sometimes, different existing IOS file may require a pth of different software to be uploaded in order and some may produce different error messages that a script may not have a variable for.Ī bit of information about what model switches and the current IOS level and intended IOS level would be helpful.Ī few other things to clarify, presuming you have a Cisco contract (as you've got a new IOS), why not try Cisco Device Manager? What switches are you doing, different switches have different requirements, for example, with Nexus, you can perform a In Service Software Upgrade (ISSU) that doesn't require a reload, indeed, the Nexus range of switches even checks compatability that the intended new image is actually acceptable.Īlternatively, given the amount of time it would take to create and test a switch that works for you, why not just download Solarwinds NPM and NCM and use that? I would then test the script against the same switch prior to even considering touching the production network. Don't forget you will need to reload each switch for the new IOS to take effect. I would urge a little caution, make sure you manually install at least one upgrade in a test environment, if it goes wrong you're only having to recover one non production switch.