I am trying to build a device template for RuggedCom Switches. I have located a couple of articles on Thwack that I was able to use as a starting point. I am trying to use NCM to backup the configuration files from these devices but have gotten to a point where the scripts seem to run without any errors but I do not see the config files stored anywhere. I have created the following device template.
<Configuration-Management Device="RuggedCom Inc." SystemOID="1.3.6.1.4.1.15004.2.1" AutoDetectType="BySystemOid">
<Commands>
<Command Name="Precommand" Value="${ENTER}" Regex="Press 'Enter' to continue..." delay=""/>
<Command Name="Reset" Value="" />
<Command Name="MenuBased" Value="false" />
<Command Name="VirtualPrompt" Value="Main Menu" />
<Command Name="EnterCLI" Value="${CTRL+S}" />
<Command Name="RuggedCom" Value="type config.csv"/>
<Command Name="DownloadConfig" Value="type config.csv"/>
<Command Name="DownloadConfigIndirect" Value="tftp xxx.xxxx.xxx.xxx put config.csv config.csvpk${CRLF}"/>
<Command Name="Disconnect" Value="logout" />
</Commands>
</Configuration-Management>
I used the session trace to see what the script was actually doing but I am confused what it is telling me. It looks as through it is trying portions of the commands until it finds one that works. Can someone make some sense of what this is doing and what I might need to correct?
Thank you