How to: Enter different commands onto each device
|Top Previous Next|
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.Modify Config 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.Modify Config 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.
Specify a filename of C:\CatTools\%BaseFile%.txt
The list of devices might be...
* Note that 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
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.