2 Replies Latest reply on Dec 21, 2011 4:36 AM by tdoepke

    Waiting timer for command responses



      I'm trying to backup the running config of a Cisco WLAN Controller (2504) via TFTP.
      The TFTP Upload works fine but the device needs about 70 sec to collect the config and upload it to the Server.

      Unfortunatly CatTools waits only 60 sec for a response to the command and doesn't finish the complete activity.

      I couldn't find any option to increase this timer.

      I added an excerpt form the info log.

      2011-12-19 09:59:25    4-Debug    1    BNWLC001    Waiting for an echo of transfer upload start command
      2011-12-19 09:59:25    4-Debug    1    BNWLC001    Waiting for a response to: transfer upload start
      2011-12-19 09:59:25    4-Debug    1    BNWLC001    Y/N encountered
      2011-12-19 09:59:25    4-Debug    1    BNWLC001    Sending Y
      2011-12-19 09:59:58    4-Debug    1    BNWLC001    Nudge Device
      2011-12-19 10:00:28    2-Warning    1    BNWLC001    Did not receive expected response to command: transfer upload start
      2011-12-19 10:00:28    1-Error    1    BNWLC001    Aborting command entry due to command error
      2011-12-19 10:00:28    3-Info    1    BNWLC001    Backup via TFTP results: Failed
      2011-12-19 10:00:36    4-Debug    0    CatTools Service    New TFTP session started from host



        • Re: Waiting timer for command responses
          Steve Welsh

          Hi Thomas,

          CatTools provides a utility command to increase the wait time (timeout) for a command response:  %ctUM: Timeout XX

          See the on-line help file at: http://www.kiwisyslog.com/help/cattools/act_metactumcommand.htm.


          In order to use this with your backup TFTP activity, you need to set the activity to use a specified command list.

          You do this as follows:

          1) In the Options tab of your activity, uncheck the File to write to TFTP Server: option.   This will enable to command list box at the top of the Options tab.

          2) In the command list box, enter the following commands on separate lines (the first command %ctUM: Timeout 100 will give you a timeout of 100 seconds for the data to be returned):

          •    %ctUM: Timeout 100
          •    transfer upload mode tftp
          •    transfer upload datatype config
          •    transfer upload serverip [enter here the ip of the CatTools system]
          •    transfer upload path /
          •    transfer upload filename %ctDeviceName.txt
          •    transfer upload start

          3) Ensure you have the Answer [yes] to any confirmation prompts option checked/enabled.


          Give this a go and let me know how you get on.



            • Re: Waiting timer for command responses

              Hi Steve,

              Thanks for the help.

              I tried the command list and didn't get any timeouts. The tftp copy also finished successfully.

              But I'm still getting an error message that the TFTP Backup fails:

              2011-12-21 11:10:08    4-Debug    1    BNWLC001    Y/N encountered
              2011-12-21 11:10:08    4-Debug    1    BNWLC001    Sending Y
              2011-12-21 11:11:19    4-Debug    0    CatTools Service    New TFTP session started from host
              2011-12-21 11:11:21    3-Info    1    BNWLC001    Backup via TFTP results: Failed
              2011-12-21 11:11:26    4-Debug    0    CatTools Service    TFTP session to host has finished
              2011-12-21 11:11:27    4-Debug    1    BNWLC001    Disconnecting from BNWLC000
              2011-12-21 11:11:27    4-Debug    1    BNWLC001    Disconnected from
              2011-12-21 11:11:30    3-Info    0    CatTools Service    All threads have finished. Now processing results...
              2011-12-21 11:11:30    2-Warning    0    CatTools Manager    The Service is unresponsive.
              2011-12-21 11:11:32    3-Info    0    CatTools Manager    The Service is available.
              2011-12-21 11:11:37    3-Info    0    CatTools Service    Run Now activity has completed

              The activity doesn't generate a current running config file from the copied config and also doesn't compare files.

              Do you have any idea what the reason for this error is?