Submit a ticketCall us

Webinar: Web Help Desk for HR, Facilities and Accounting Departments
This webinar will focus on use cases for HR, Facilities and Accounting.

Having a unified ticketing and asset management system for all the departments in your company can provide end-users with a seamless experience and make things easier for your IT team. Yet, with different business tasks and objectives, many departments don’t fully understand the capabilities of Web Help Desk and how the software can be customized for effective use in their departments.
Register Now.

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: 17 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