Hi,
I've been trying at this for a few hours, trying to do an F5 ucs binary backup. I have moved to the new template provided with 7.5 and whenever I attempt to get a "startup config" which is the ucs binary I get the following error:
Config not downloaded. Check commands or file names and retry.
Protocol is not supported for binary configuration files transfer
When I run through the wizard to check things out, the general device access "test" button is successful. When I download the "Running Config" that is also successful. When I run the scp string in the template manually I am able to create the file and do the SCP copy. It basically only seems to break when run from the template and I don't get any kind of debug output as to why.
Help???
As you can see from the below test output, I do have the "Advanced Shell" working on the service account:
----- Connection Profile: s-cattools -----
Device Template: F5 Big IP - ISC Fixed 7-20-16
Last login: Wed Jul 20 13:43:50 2016 from 10.130.1.11
[s-cattools@ISCDCTRLB110:Active:Changes Pending] ~ #
[s-cattools@ISCDCTRLB110:Active:Changes Pending] ~ #
[s-cattools@ISCDCTRLB110:Active:Changes Pending] ~ #
[s-cattools@ISCDCTRLB110:Active:Changes Pending] ~ #
[s-cattools@ISCDCTRLB110:Active:Changes Pending] ~ #
tmsh show /sys version
tmsh show /sys version
Sys::Version
Main Package
Product BIG-IP
Version 11.6.0
Build 6.0.442
Edition Hotfix HF6
Date Tue Oct 27 16:12:46 PDT 2015
Hotfix List
ID455006-7 ID524004-1 ID507853-1 ID510459-1 ID506349-4 ID477959
ID457934-4 ID509919-2 ID529573 ID496278-2 ID495928-5 ID510224-2
<SNIPPED unnecessary content>
[s-cattools@ISCDCTRLB110:Active:Changes Pending] ~ #
[s-cattools@ISCDCTRLB110:Active:Changes Pending] ~ #
Here is the contents of the template provided with 7.5
<Configuration-Management Device="F5 Big IP" SystemOID=" 1.3.6.1.4.1.9">
<Commands>
<Command Name="RESET" Value=""/>
<Command Name="Reboot" Value=""/>
<Command Name="EnterConfigMode" Value=""/>
<Command Name="ExitConfigMode" Value=""/>
<Command Name="Startup" Value="ucs" IsBinary="true"/>
<Command Name="Running" Value="config file"/>
<Command Name="DownloadConfig" Value="tmsh -q show running-config"/>
<Command Name="UploadConfig" Value=""/>
<Command Name="DownloadConfigIndirect" Value=""/>
<Command Name="UploadConfigIndirect" Value=""/>
<Command Name="DownloadConfigIndirectSCP" Value="tmsh save /sys ${ConfigType} /var/local/NCM.ucs${CRLF}${TransferProtocol} /var/local/NCM.ucs ${SCPServerUserName}@${SCPStorageAddress}:${StorageFilename}${CRLF}yes${CRLF}${SCPServerPassword}"/>
<Command Name="UploadConfigIndirectSCP" Value="${TransferProtocol} ${SCPServerUserName}@${SCPStorageAddress}:${StorageFilename} /var/local/NCM.ucs${CRLF}${SCPServerPassword}${CRLF}tmsh load /sys ${ConfigType} /var/local/NCM.ucs"/>
<Command Name="EraseConfig" Value=""/>
<Command Name="SaveConfig" Value=""/>
<Command Name="Version" Value="tmsh show /sys version"/>
<Command Name="Disconnect" Value=""/>
</Commands>
</Configuration-Management>