To illustrate how to upload an IOS to a device using the Device.CLI.Send commands Activity please refer to the following example:
Activity Options tab settings:
[X] List of commands to be entered on device:
copy tftp running
192.168.1.200 (IP address of remote TFTP server)
%ctGroupName\%ctDeviceName-Config.txt (Filename to store config to on server)
%ctCR (Required to start device TFTP)
[X] Enter commands in enable mode
[X] Save device output to file [Specify the log file name here]
[X] Overwrite existing capture file
[X] Answer yes to any confirmation prompts
[X] Stop on error
Please Note :
1) The use of Meta Variables.
%ctGroupName = Device Group Name
%ctDeviceName = Device Name
%ctCR = Carrage Return
2) The use of the backward slash in the filename to specify a subfolder within the TFTP Upload folder.
3) The use of the %ctCR variable to send a <CR> to the device to activate the TFTP session.
4) The Device.TFTP.Upload Config Activity could also be used to upload an IOS to a device.