Submit a ticketCall us

Don’t fall victim to a ransomware attack
Backups are helpful, but sometimes that’s not enough to protect your business against ransomware. At our live webcast we will discuss how to protect against ransomware attacks with SolarWinds® Patch Manager and how to leverage log data to detect ransomware. Register now for our live webcast.

Home > Success Center > Kiwi CatTools > Kiwi CatTools 3.11 Administrator Guide > Activities > Activities list > Device.CLI.Send commands > How to: Enter different commands onto each device

How to: Enter different commands onto each device

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

Views: 6 Votes: 0 Revisions: 1

 

If you want to configure each of the selected devices in a different way, there are two ways to achieve this.

 

1. Create a separate Device.CLI.Send commands activity for each device and set the commands to be entered in the options tab.

 

This method involves having a separate scheduled activity for each device you want to modify.

 

2. Create a single Device.CLI.Send commands activity and select all the devices you want to modify. Then use the Or, read commands from file option and specify the %BaseFile% value as part of the file name. Then create a separate text file for each device that contains the commands you want to have entered into the config.

 

For example:

 

Specify a filename of C:\CatTools\%BaseFile%.txt

 

The list of devices:

 

Device name

Base filename

Config commands filename

CiscoRouter1

CiscoRouter1

C:\CatTools\CiscoRouter1.txt

CiscoRouter2

CiscoRouter2

C:\CatTools\CiscoRouter1.txt

Sales Switch

Sales_Switch

C:\CatTools\Sales_Switch.txt

Note: Any spaces and invalid characters are replaced by and underscore (_) in the base filename.

 

In each of the text files, enter a list of commands that you want to enter.

 

For example, in the file: C:\CatTools\CiscoRouter1.txt, enter the commands...

 

Interface s 0/0

Description New WAN link to head office

No shutdown

 

Enter different commands in each text file and then run the activity. CatTools will automatically match the correct text file with the device based on the %BaseFile% value.

Last modified
07:19, 28 Jun 2016

Tags

Classifications

Public