Documentation forKiwi CatTools

How to upload Cisco IOS config from TFTP to device

This example demonstrates how to upload an IOS to a device using the Device.CLI.Send commands activity.

  1. Open Kiwi CatTools.
  2. In the Activities panel, click Add.
  3. Click the Activity tab.
    1. Select Type Device.CLI.Send commands
    2. Enter a name and description, for example "Upload Cisco IOS config".
  4. Click the Options tab.
  5. Select List of commands to be entered on device and enter the following code:
    copy tftp running
    192.168.1.200
    %ctGroupName\%ctDeviceName-Config.txt (Filename to store config to on server)
    %ctCR (Required to start device TFTP)
    • %ctGroupName\%ctDeviceName-Config.txt: the filename to store config to on server.

      Note the use of a backward slash in the filename to specify a subfolder within the TFTP Upload folder.

      • %ctGroupName: device group name

      • %ctDeviceName: device name

    • %ctCR: carriage return. Required to start the device TFTP. The %ctCR variable to send a <CR> to the device to activate the TFTP session.
  6. Select Enter commands in enable mode.
  7. Select Save device output to file. Specify the log file name.
  8. Select Overwrite existing capture file.
  9. Select Answer yes to any confirmation prompts.
  10. Select Stop on error.

The Device.TFTP.Upload Config activity could also be used to upload an IOS to a device.