3 Replies Latest reply on Dec 17, 2014 12:45 PM by cs00110

    Backup Cisco WLC 5508 8.0

    cs00110

      i've been looking all morning for a good way to backup my two WLCs using cat tools.  I've never dug into how to use cattools more than just basic devcie config backups on my switches, routers, etc.  on the Cisco WLC5508 i have found a few scripts but have no idea how to access them.  The script i found looks like this,

       

      <!-- edited with Notepad by Jake and Greg for SSH commands and TFTP transfer -->

      <!--SolarWinds Network Management Tools-->

      <!--Copyright 2005 SolarWinds.Net All rights reserved-->

      <Configuration-Management Device="Cisco 5508 WLC" SystemOID=" 1.3.6.1.4.1.9.1.1069">

        <Commands>

        <Command Name="RESET" Value=""/>

        <Command Name="PreCommand" Value=""/>

        <Command Name="Version" Value="config${CRLF}paging disable${CRLF}exit${CRLF}show sysinfo${CRLF}"/>

        <Command Name="DownloadConfig" Value="show run-config commands"/>

        <Command Name="DownloadConfigIndirect" Value="config${CRLF}paging disable${CRLF}exit${CRLF}transfer upload mode ${TransferProtocol}${CRLF}transfer upload serverip ${StorageAddress}${CRLF}transfer upload path /${CRLF}transfer upload filename ${StorageFilename}${CRLF}transfer upload datatype config${CRLF}transfer upload start${CRLF}y"/>

        </Commands>

      </Configuration-Management>

       

      i've walked through the script in the ssh cli and verified it'll work, but i'm confused about how to  run this script via cattools.  or if theres a better way.  i tried the device.backup.tftp using cisco.wireless.lan and that fails. 

       

      Thanks in advance.

        • Re: Backup Cisco WLC 5508 8.0
          darringroah

          Backing up with Device.Backup.TFTP will work. You'll need to enter your login credentials in the AAA parameters to get the TFTP transfer to work. That worked for me!

          • Re: Backup Cisco WLC 5508 8.0
            cs00110

            that's what i tried first and i got a file that made no sense containing this....

                                                         Time

                     File   Line  TaskID    Code      d  h  m  s

            EVENT> bootos.c 1498 14AC8510 AAAAAAAA    0  0  0 46

            EVENT> bootos.c 1498 14AC8510 AAAAAAAA    0  0  0 38

            EVENT> bootos.c 1498 14AC8510 AAAAAAAA    0  0  0 38

            EVENT> nvstore.  168 14AE4F90 0000002A    0  0  6 52

            EVENT> bootos.c 1498 14AC8510 AAAAAAAA    0  0  0 40

            EVENT> bootos.c 1498 14AC8510 AAAAAAAA    0  0  0 40

            EVENT> bootos.c 1542 150CC520 AAAAAAAA    0  0  1 17

            EVENT> nvstore.  300 150F3100 00000058    5  0  0 27

            EVENT> bootos.c 1542 150CC520 AAAAAAAA    0  0  1 17

            EVENT> bootos.c 1542 150CC520 AAAAAAAA    0  0  1 16

            EVENT> bootos.c 1542 150CC520 AAAAAAAA    0  0  1 17

             

            strangely enough having made no configuration changes on teh WLCs themselves one of them is not backing up the configuration using the device.backup.tftp job, and the second unit is styill giving me the above output.  I did get the credentials figured out based on a couple of other posts I found.

            • Re: Backup Cisco WLC 5508 8.0
              cs00110

              after looking closley at the debugs and considering that i walked through the process manually on the working unit i tried to do this manually on the second unit.  It appears that before it will backup correctly the tftp server parameters must be set or you get this event file.  so by setting the commands

               

              transfer upload path /

              transfer upload filename ***

              transfer upload serverip ***

              transfer upload datatype config

               

              then running the device.backup.tftp via cat tools works fine for both units.  For reference i have two 5508 controllers, and the cattools profiles are setup as model=other.  Also as noted above, the method should be set to SSH2-nopty, and the passwords tab should have the SSH username and password entered in both the AAA and SSH fields.