I'm trying to pull several files off a Cisco ASA 5500, it seems for smaller files I don't have an issue but for larger files I hit a very odd issue.
Basic format in the Options screen for the "Device.CLI.Send commands" activity:
copy flash: tftp:
dap.xml
192.168.123.4
%ctGroupName/%ctDeviceName/dap.xml
copy flash: tftp:
asa917-12-k8.bin
192.168.123.4
%ctGroupName/%ctDeviceName/asa917-12-k8.bin
Here's the odd bit. The activity will error out because it "Did not receive echo of asa917-12-k8.bin" however once it errors out, the file is actually transferred and completes.
Debug output:
<W-3:16:00 PM>copy flash: tftp:
<R-3:16:01 PM>[13][10][13]ciscoasa5550# copy flash: tftp:
<W-3:16:01 PM>[13]
<W-3:16:01 PM>asa917-12-k8.bin
<R-3:16:01 PM>[13][10][13][13][10]Source filename []? asa917-12-k8.bin
<W-3:16:01 PM>[13]
<W-3:16:01 PM>192.168.123.4
<R-3:16:01 PM>[13][10][13][13][10]Address or name of remote host []? 192.168.123.4
<W-3:16:01 PM>[13]
<W-3:16:01 PM>firewall/nydc-asa5550/asa917-12-k8.bin
<R-3:16:01 PM>[13][10][13][13][10]Destination filename [asa917-12-k8.bin]? firewall/nydc-asa5550/asa917-12-k8.bi[08][08][08][08][08][08][08][08][08][08][08][08][08][08][08][08][08][08][08][08][08][08][08][08][08][08][08][08][08][08][08][08][08][08][08][08][08]$-12-k8.bin [08][08][08][08][08][08][08][08][08][08][08][08][08][08][08][08][08][08][08][08][08][08][08][08][08][08]
================================================================================
WFDRetVal=0. Waiting for: "firewall/nydc-asa5550/asa917-12-k8.bin"
WFDBuffer="destinationfilename[asa917-12-k8.bin]?firewall/nydc-asa5550/asa917-12-k8.bi$-12-k8.bin"
================================================================================
<W-3:18:02 PM>[13]
<R-3:18:02 PM>[08][08][08][08][08][08][08][08][08][08][08]firewall/nydc-asa5550/asa917-12-k8.b$[08][08][08][08][13][10]
<R-3:18:02 PM>[13][10]
<R-3:18:04 PM>Writing file t192.168.123.4/.../asa917-12-k8.bin...[13][10]
<R-3:18:04 PM>!!!!
<R-3:18:04 PM>!!
~~~SNIP~~~
<R-3:19:24 PM>!!!!!!!!
<R-3:19:24 PM>!!!!!!!!
<R-3:19:24 PM>!!
<R-3:19:24 PM>!!!![13][10]27703296 bytes copied in 82.
<R-3:19:24 PM>160 secs (337845 by
<R-3:19:24 PM>tes/sec
<R-3:19:24 PM>)
<R-3:19:25 PM>[13][10][13]ciscoasa5550#
<W-3:19:25 PM>[13]
<R-3:19:25 PM>[13][10][13]ciscoasa5550#
<W-3:19:25 PM>disable
<R-3:19:26 PM>disable
<W-3:19:26 PM>[13]
<R-3:19:26 PM>[13][10][13]ciscoasa5550>
<W-3:19:26 PM>[13]
<R-3:19:26 PM>[13][10][13]ciscoasa5550>
<W-3:19:26 PM>exit[13]
<D 3:19:26 PM>
<SCRIPT VALUES>
<HOSTNAME="ciscoasa5550">
<PROMPT VTY="ciscoasa5550>">
<PROMPT ENABLE="ciscoasa5550#">
<PROMPT CONFIG="ciscoasa5550(">
I've tried adjusting the timeout, all that does is put in a delay before the file is actuall transferred.
Any ideas (besides creating a backup activity for each file)?
Thanks!
--Sam