How to download Cisco IOS running config to TFTP server
This example demonstrates how to use the Device.CLI.Send commands activity to download the current running configuration of a Cisco IOS device to a TFTP server.
- Open Kiwi CatTools.
- In the Activities panel, click Add.
- Click the Activity tab.
- Select Type
Device.CLI.Send commands - Enter a name and description, for example "Download Cisco IOS config to TFTP".
- Select Type
- Click the Options tab .
- Select List of commands to be entered on device and enter the following code:
copy running tftp
192.168.1.200
%ctGroupName/%ctDeviceName-Config.txt192.168.1.200: the IP address of remote TFTP server.%ctGroupName/%ctDeviceName-Config.txt: the file name to store config to on server.Note the use of a
forward slashin the filename to specify a subfolder within the TFTP Download folder.%ctGroupName: Device Group Name%ctDeviceName: Device Name
- Select
Enter commands in enable mode. - Select
Save device output to file. Specify the log file name. - Select
Overwrite existing capture file. - Select
Answer yes to any confirmation prompts. - Select
Stop on error.
- Select List of commands to be entered on device and enter the following code: