7 Replies Latest reply on Mar 25, 2011 11:18 AM by DavidRickard

    How do i add a valid response for "Device.CLI.Send"


      I'm using Device.CLI.Send commands to build a F5 UCS archive and SFTP it off the F5 box. I finally got everything working but I'm getting errors "Did not receive expected response" for when the prompt changes during the SFTP session.  The Device.CLI.Send commands help file states:  4. Enter the specified commands in  sequence and wait for a valid response

      So I'm looking for how to update the list of valid responses so my SFTP session does not give me false errors.  Thanks!

      Device Type = Linux.RedHat.Bash

      rm -f /*.ucs
      bigpipe config save /%ctDeviceName-backup_`date +%m_%d_%y`.ucs
      sftp username@ip-address
      ******** <- pass removed
      put /*.ucs

      I originally tried Device Type = F5.BigIP but my output file wasn't recording the full session and it was reporting errors but not showing me what lines were giving me errors.  Linux.RedHat.Bash is giving me better results.