
Moved from Seeking Cisco Wireless Lan Controller 5508 NCM template into the right forum.
Customer opened a ticket with support. After a number of attempts here is what we came up with that seems to work:
<Command Name="DownloadConfig" Value="show run-config"/>
<Command Name="DownloadConfigIndirect" Value="transfer upload mode ${TransferProtocol}${CRLF} transfer upload serverip ${StorageAddress}${CRLF} transfer upload filename ${StorageFilename}${CRLF}transfer upload start"/>
<Command Name="PreCommand" Value="y"/>
You will need to create a new device template and replace the download commands with above.
These commands were based off a doc we found on Cisco's website.
http://www.cisco.com/en/US/docs/wireless/controller/4.0/configuration/guide/c40mfw.html
For my WLC 5508 running 6.0.196.0 code, I needed to set one additional transfer option "transfer upload datatype config"
This is the complete template that works for me:
<Configuration-Management Device="Cisco WLC" SystemOID=" 1.3.6.1.4.1.14179.1.1.4.3">
<Commands>
<Command Name="RESET" Value=""/>
<Command Name="DownloadConfig" Value="show run-config commands"/>
<Command Name="DownloadConfigIndirect" Value="transfer upload mode ${TransferProtocol}${CRLF} transfer upload serverip ${StorageAddress}${CRLF} transfer upload filename ${StorageFilename}${CRLF}transfer upload datatype config${CRLF}transfer upload start"/>
<Command Name="PreCommand" Value="y"/>
</Commands>
</Configuration-Management>
Added a slightly improved version to the Content Exchange
With the last config template in mind; am I suppose to change the bracketed information such as {TransferProtocol}, {StorageAddress}, and {StorageFilename}? I thought I read somewhere else on here that the config was based on it negotiating those parameters with the WLC, but I want to clarify.
Nevermind you cute little Thwack-offs:)
Those are parameters ARE negotiated. The script was not my issue....the WLC has a path max of 62-63 characters, and our path exceeded that. Moved the Dir for the archive, and change it in NCM and imy WLC started downloading configs.