Version 9

    Author's Note: This is valid for NCM 6.1-7.5. Customers with NCM 7.6 should use the Firmware Update feature.


    This is a Template I have created to be able to upload a IOS file, or any file really, to be uploaded to a Cisco Device via TFTP, SCP, or FTP.


    Pre-Execution Note: This script does not set the boot, nor does it write to the memory and reboot the device, but these steps are provided below. NCM does not have file verification, but a script can be ran for that output, so it is best to take multiple steps to ensure that the file is uploaded correctly.


    Cisco IOS upgrade Steps


    Note: Network Configuration Manager includes TFTP and SCP as default options.

    1. Connect to Solarwinds Server
    2. Make sure TFTP/SCP is running and file is in their locations.
      1.   TFTP     C:\TFTP-Root
      2.   SCP       C:\SFTP_Root
    3. On the Web Console, go to Configs> Config Change Templates> Check-box next to Upgrade Cisco IOS.
    4. Select Cisco IOS> Define Variables & Run
    5. Select Device and select Next.
      1. When you run the template, select a Cisco Device. If any other Vendor is selected, it will not generate a script for the device.
    6. Enter in the details for the script


    In the entry area of the Script, select TFTP, SCP, or FTP from the drop-down.

    • Enter in the IP address of the TFTP, SCP, or FTP Server. If local, enter *
    • Enter in the Username of the account to authenticate. If User, enter *
    • Enter the Password of the account. If no Password, enter *
      • I have built in logic in case you have a SCP or FTP server that does not use a password to still have this script execute correctly.
    • Enter in the Directory file is located. Ex: Directory/Folder. No spaces allowed. If no sub-directory enter *
    • Enter in the File Name only. If there is a space in the Directory or File Name, the script will automatically abort on the device.


    Ensuring the script ran properly

    Once the Script has uploaded the file, it will then send a Dir and file name. Verify the output under Transfer Status, select Show Script Results.

    If the results are showing the file with a byte size, proceed to File Verification and Boot change.



    To run the post scripts, go into the Config Management Tab, or Configs> Configuration Management.

    Select the check-box next to the device, select Execute Script.


    File Verification:

         Warning: If the file is incorrect, setting boot and rebooting will cause boot failure.


         To Mitigate possible Error, please identify the MD5 hash verification for the IOS image you downloaded, and run the following command:

    verify /md5 flash:<ImageName.bin> <MD5 Hash>


    Boot Change Steps. Once these steps are executed, the boot will be changed and reboot will occur.



    boot system <image.bin>


    At the bottom, Select Execute in Config Mode, and Reboot the Device, then select Execute or Schedule


    If the above option does not change the boot (Catalyst):

    boot system flash:<Image.bin>


    At the bottom, Select Execute in Config Mode, and Reboot the Device, then select Execute or Schedule


    Reloading process can take 5-10 or more minutes for the reboot to occur. Reload time depends upon each model.