Submit a ticketCall us

Training Class Getting Started with SolarWinds Backup - February 28

This course offers customers an introduction to SolarWinds Backup, focusing on configuring the backup technology, taking backups, data restoration and data security. It is a great primer and will get you up to speed quickly on SolarWinds Backup.
Register for class.

Home > Success Center > Kiwi CatTools > 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: 118 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