Palo_Alto_TFTP-1.3.6.1.4.1.25461.2.ConfigMgmt-Commands

Version 1

    This device template is specially configured to allow Palo Alto devices to transfer configs using TFTP protocol.  Because of the command structure on these devices, we have first save the config file to a random 5-6 digit filename on the device temporarily, then we can have NCM gather that file from the device.  Once this is complete, the download process will delete this temp saved config from the device.

     

     

     

    <!-- This config creates a temp file, after NCM has downloaded it, it is deleted from the device -->

    <!--SolarWinds Network Management Tools-->

    <!--Copyright 2005 SolarWinds.Net All rights reserved-->

    <Configuration-Management Device="Palo Alto" SystemOID=" 1.3.6.1.4.1.25461.2">

        <Commands>

            <Command Name="RESET" Value="set cli pager off${CRLF}set cli configuration-output-format xml"/>

            <Command Name="Reboot" Value="reload${CRLF}Yes"/>

            <Command Name="RebootAt" Value="reload at ${HH}:${NN}${CRLF}Yes"/>

            <Command Name="EnterConfigMode" Value="configure"/>

            <Command Name="ExitConfigMode" Value="exit"/>

            <Command Name="Startup" Value="running"/>

            <Command Name="Running" Value="candidate"/>

            <Command Name="DownloadConfig" Value="show config ${ConfigType}"/>

            <Command Name="UploadConfig" Value="${EnterConfigMode}${CRLF}${ConfigText}${CRLF}${ExitConfigMode}"/>

            <Command Name="DownloadConfigIndirect" Value="configure${CRLF}save config to ${StorageFilename}${CRLF}exit${CRLF}tftp export configuration from ${StorageFilename} to ${StorageAddress}${CRLF}${CRLF}${DelSavCon}${CRLF}"/>

            <Command Name="UploadConfigIndirect" Value=""/>

            <Command Name="DelSavCon" Value="delete config saved ${StorageFilename}${CRLF}" Delay="300"/>

            <Command Name="EraseConfig" Value="write erase${CRLF}Yes"/>

            <Command Name="SaveConfig" Value="write memory"/>

            <Command Name="Version" Value="show version"/>

        </Commands>

    </Configuration-Management>