Submit a ticketCall us

WebinarUpcoming Webinar: How Help Desk and Remote Support Pays for Itself

Learn how help desk software can simplify ticketing management, allow you to track hardware and software assets, and accelerate the speed of IT support and service delivery. Gain insights on how remote support tools allow your IT team to maximize their efficiency and ticket resolution by expediting desktop troubleshooting, ultimately helping keep end-users happy and productive.

Register here.

Home > Success Center > Kiwi CatTools > Kiwi CatTools Documentation > Kiwi CatTools 3.11 Administrator Guide > Activities > Activities list > Device.CLI.Send commands > How to: Save output from multiple devices into a single file

How to: Save output from multiple devices into a single file

Table of contents
No headers
Created by Caroline Juszczak, last modified by Caroline Juszczak on Jun 28, 2016

Views: 140 Votes: 0 Revisions: 1


Normally, the Device.CLI.Send commands activity will save the data from each device into a separate file.


The default capture filename is: ..\Captured Data\%GroupName%\%DeviceName%.DeviceOutput.%DateISO%.txt


To save the output from multiple devices into a single file, set the capture filename to something like: ..\Captured Data\MyActivityData.txt


On the options tab, ensure that you uncheck the Overwrite existing capture file option. This allows the data from each device to be appended to the common capture file.


On the Activity tab, set the Client threads to use a single thread only. This ensures that the output file is written to by only one device at a time.


To have start and finish tags placed between the output from each device, you will need to place some comments into the commands you send to the device.


For example, if the command you are entering is "Show ARP", you could use the following...


! %ctDeviceName - Start

Show ARP

! %ctDeviceName - Finish


When the command is sent to the device, the %ctDeviceName will be replaced with the current device name (SalesRouter-1 for example).


Since the first and last commands start with a !, they are ignored by Cisco routers.


For Catalyst switches (CatOS), use the # character instead.


The captured data file could look something like:


! Cisco2950Switch1 - Start

Protocol         Address         Age (min)         Hardware Addr          Type          Interface

Internet         3                 0008.02b9.1111         ARPA          Vlan1

Internet         1                 000d.9d89.2222        ARPA          Vlan1

! Cisco2950Switch1 - Finish

! Cisco2950Switch2 - Start

Protocol         Address         Age (min)         Hardware Addr         Type         Interface

Internet         6                 0008.a118.3333         ARPA         Vlan1

Internet         0                 0008.02cf.4444         ARPA          Vlan1

! Cisco2950Switch2 - Finish


The data captured from each device is wrapped with a Start and Finish tag.

Last modified