I did this template which works with our 44xx devices:
<!-- edited with Notepad by Jodros--><!--SolarWinds Network Management Tools--><!--Copyright 2005 SolarWinds.Net All rights reserved--><Configuration-Management Device="Cisco WLC" SystemOID=" 1.3.6.1.4.1.14179.1.1.4.3"> <Commands> <Command Name="RESET" Value=""/> <Command Name="DisablePaging" Value="config paging disable" Delay="300"/> <Command Name="DownloadConfig" Value="show run-config commands"/> <Command Name="Reboot" Value=""/> <Command Name="EnterConfigMode" Value=""/> <Command Name="ExitConfigMode" Value=""/> <Command Name="Startup" Value=""/> <Command Name="Running" Value=""/> <Command Name="UploadConfig" Value=""/> <Command Name="DownloadConfigIndirect" Value=""/> <Command Name="UploadConfigIndirect" Value=""/> <Command Name="EraseConfig" Value=""/> <Command Name="SaveConfig" Value=""/> <Command Name="Version" Value=""/> <Command Name="PreCommand" Value="${CRLF}" Delay="1"/> <Command Name="More" Value="(q)uit" Delay="1"/> <Command Name="MenuBased" Value="false"/> <Command Name="VirtualPrompt" Value="(Cisco Controller) >"/> </Commands></Configuration-Management>
They have posted a template for Cisco's WLC that you can download and install for Cirrus. It doesn't seem to work with SSH, but it works great with telnet.
Has anyone gotten it to work with SSH?
-Peter
I still cant get it to work even with the template. First off the command on my WLC is sh run-config, and the template has running-config which errors out. Changing the template to run-config fixes that, but now I have to go through a series of press enter to continue prompts. These range depending on the device to around 30 times I have to press enter before I get a full config. The template doesnt issue any enter commands so the script fails every time.
Adding &CRLF commands dont work either for this template.
What version of code are you running? We're running 4.1.185.0 and I've been able to back them up without a problem. I used the template that was provided in the sharing zone.
I am running code version: 4.0.179.11
Thanks
Anyone find an answer for this? We are just in the process of implementing a pair of WISM's and WCS. I'd like OrionNCM to be able to go into the WISM (just a pair of WLC's) and pull down the config file. The "show run-config" CLI command doesn't actually give you to commands to configure the WLC -- just output on how the system is setup. ie: You can't copy/paste the output from "show run-config" into a corrupt WLC to get your config back. The only way I can see to do this is to do a TFTP transfer of the config file with these CLI commands on the WLC:transfer upload datatype configtransfer upload serverip <TFTPSERVER_ADDRESS>transfer upload path <TFTP_PATH>transfer upload filename <TFTP_FILENAME>transfer upload startBut, then the problem is it prompts you and asks if you want to start the transfer. Here's the example of the WLC Controller Guide documentation:Mode............................................. TFTP
TFTP Server IP................................... 10.10.10.4
TFTP Path........................................ Config/
TFTP Filename.................................... AS_4402_4_2_55_8_Config.xml
Data Type........................................ Config File
Encryption....................................... Disabled
**************************************************
*** WARNING: Config File Encryption Disabled ***
Are you sure you want to start? (y/N) y
I just uploaded a device configuration that works on our 3750 WLC. Cisco Wireless LAN Controller - Telnet/TFTP Download
I tested it on 5.2.178.0.
smasher953--
If you have WCS you can always use that to back up the configs.
Thank you kahmeelyon!!! Your template works like a champ. I have a WLC 5.x controller that is not a member of our WCS and I haven't been able to get NCM to grab the config. I created my own template with the abbreviated "show run-config" command and couldn't get it to work. Copied and pasted your posted commands in my WLC 5.x template and now we're good to go.
I did this template which works with our 44xx devices:<!-- edited with Notepad by Jodros-->......
<!-- edited with Notepad by Jodros-->...
...
Can someone explain the basics to novice? Problem: WLC 4402 config backup doesn't work. I've tried to search the answer from these forums, but without success. Here's what I've tried:
I have copied template (as the matter of fact, many different kind of them) to Program Files\SolarWinds\Configuration Management\DeviceTypes-folder in orion server, and then just pressed "download configs..."-button from NCM and hoped for the best. It ends to something like this:Error Downloading Config to TFTP Host: yyy.yyy.yyy.yyy. Device IP: xxx.xxx.xxx.xxxSometimes when I do some "random" changes I get this: Unable to locate or error loading device template: e:\Program Files\SolarWinds\Configuration Management\DeviceTypes\Cisco WLC. Device IP: xxx.xxx.xxx.xxx
Login works ok, I've tested it. And same time all the other Cisco switches backups in same LAN and same ftfp-server works fine.
I'm not really the "script wizard", I don't know anything about them, but somehow I know that something is missing in those templates "code". You guys just CAN'T success at backup with that script, even when many of you are telling something like "thanks, this worked perfectly". It just doesn't work! But question is, HOW I should change it? I've tried to add there some values that are empty now, for example :<Command Name="DownloadConfigIndirect" Value="transfer upload start"/>but it doesn't work. When I try to validate that template in web browser view, I get errors from " characters. When I remove them all, then I begin to get errors from < characters.So it feels that the whole language is totally wrong. We have 4402 WLC version 6.0.182.0 and Orion version 10.
I think I have something wrong with very basics of using this software, but I just don't know what and how.
If I make a command script like this:
transferupload starty
it works ok, and backups a config. So tftp itself seem to work ok.
Does this work with version 7 WLC?
It keeps telling me "it's not a Cisco device"
It did worked for me fine for the 44xx WLC
Here are the guts of a template for the Cisco WLC 4400, Cisco WLC 5500 series and the Cisco WISM.
TFTP is the preferred method as it will give you the true configuration and not an output of the current state of the device.... Connected devices and so on.
<Commands>
<Command Name="Reset" Value=""/>
<Command Name="PreCommand" Value="y"/>
<Command Name="MenuBased" Value="false"/>
<Command Name="DownloadConfig" Value="show run-config"/>
<Command Name="DownloadConfigIndirect" Value="transfer upload datatype config${CRLF} transfer upload filename ${StorageFilename}${CRLF} transfer upload serverip ${StorageAddress}${CRLF} transfer upload start${CRLF}y"/>
<Command Name="More" Value=" or "/>
<Command Name="Version" Value="show sysinfo"/>
</Commands>
</Configuration-Management>
bcorgey,
I tried your template using TFTP as my transfer option on a 5508 running v 6.x software and no joy. Any suggestions?
fast,
Hard to say without a session trace. Is the transfer protocol set up to be TFTP on the 5508 itself or is it set to FTP? since the command line does not stipulate the protocol to use, it is going to try to use the preconfigured protocol.
Verify you can tftp directly from the device to the TFTP server on the NCM Server:
transfer upload datatype config [enter]
transer upload filename 12345.config [enter]
transfer upload serverip <NCM SERVER IP ADDRESS> [enter]
transfer upload start [enter]
y [enter]
Please also confirm NCM settings for the TFTP server match the TFTP server setting. TFTP_ROOT and IP address.
What version of NCM?
Yes I can TFTP from the 5508 to the NCM server using the commands you showed. File showed up in C:\TFTP_Root on the server which is running NCM v6.1
I attached the trace for you to peek at if you have a chance.
Thanks again!
Bump!
Ok, so i'm trying to get a bunch of 5508 WLCs backed up through NCM. It looks like it's working, but i'm unclear of the differences in how i'm doing it and what the restore process would be if I ever had to do it.
1) I found a template on the context exchange for a 5508. I assign the WLC in NCM to that template and run the backup. It succeeds. It looks like it's running "show run-config commands".
2) I setup TFTP on my local machine and made the WLC do a TFTP transfer of the config to my machine.
When I compare the 2, they look different. Which is actually a true config? Which one could I use for a restore?
Crutcha, can you share (even over PM or something) what the TFTP configuration looks like or explain how it looks different? Doing some quick reading it sounds like CLI show run-config commands gives you the raw commands and the TFTP would give you some XML formatted one... I also see chatter about import/exporting certificates over TFTP so I'm not sure if that would also be part of it or not.