How to: Download Cisco IOS running config to TFTP server
Previous  Top  Next

Use the Device.CLI.Send commands activity to enter the following commands at the enable prompt.

Activity Option settings:

[X] List of commands to be entered on device:

copy running tftp
192.168.1.200                (IP address of remote TFTP server)
%ctGroupName/%ctDeviceName-Config.txt    (filename to store config to on server)
                     (blank line - Answers the confirm dialog)

[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

Note the use of the variables:

%ctGroupName = Device Group Name
%ctDeviceName = Device Name

Note - some older versions of the Cisco IOS may require a blank line after the copy running tftp command to answer the confirm query for the source filename, which is the running config.

Note - the use of the forward slash in the filename to specify a subfolder within the TFTP Download folder