Version 1

    I got a template working that will download the configs from Juniper WXC (peribit) WAN accelerators

    Caveat is that I have not yet tested (or plan to) the "erase" or "save" config options - though I'm sure the save one should work - you should test first anything other than the config download option!!

    script below, it was the <Command Name="MORE" Value="Press any key to continue (Q to quit)" /> portion that made it work

    The config that it downloads has a single blank line separating sections of the config where I guess you would "press any key" to display more text if you were doing a show config manually... it should not affect the ability to upload the whole thing though as the blank line should be treated like a carriage return.  Anyway - my configs back up successfully now using this on WXC500, 250, and other WXC series accelerators.


    <!--SolarWinds Network Management Tools-->
    <!--Copyright 2007 SolarWinds.Net All rights reserved-->
    <Configuration-Management Device="Juniper WX" SystemOID="">
            <Command Name="RESET" Value=""/>
            <Command Name="EnterConfigMode" Value=""/>
            <Command Name="ExitConfigMode" Value="exit${CRLF}"/>
            <Command Name="MenuBased" Value="false"/>
                    <Command Name="MORE" Value="Press any key to continue (Q to quit)" />
            <Command Name="VirtualPrompt" Value="%"/>
            <Command Name="EnterCLI" Value=""/>
            <Command Name="Startup" Value=""/>
            <Command Name="Running" Value=""/>
                    <Command Name="DownloadConfig" Value="show configure${CRLF}"/>
            <Command Name="UploadConfig" Value="${ConfigText}${CRLF}$"/>
            <Command Name="DownloadConfigIndirect" Value="copy ${ConfigType} ${TransferProtocol}://${StorageAddress}/${StorageFilename}${CRLF}"/>
            <Command Name="UploadConfigIndirect" Value="copy ${TransferProtocol}://${StorageAddress}/${StorageFilename}  ${ConfigType}${CRLF}"/>
            <Command Name="EraseConfig" Value="write erase${CRLF}Yes"/>
            <Command Name="SaveConfig" Value="commit${CRLF}${CRLF}save-config${CRLF}yes${CRLF}" Delay="300"/>
            <Command Name="Version" Value=""/>