Using Command Templates
- 18 Oct 2024
-
DarkLight
-
PDF
Using Command Templates
- Updated on 18 Oct 2024
-
DarkLight
-
PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Command Templates are run-time templates that actively pass commands to a list of specified devices during their runtime. After all responses are collected, the output set is evaluated against a set of defined rules. These executed templates are referred to as Pre and Post steps, which are typically separated by a procedure (router upgrade, service migration, etc.).
Prerequisites
At this time, no prerequisites are required.
Using Command Templates
With the Command Template designer, you can execute commands on physical devices to see the actual response and rules evaluation.
- Navigate to IAP → Automation Studio → Command Templates.
- Click the plus (+) icon in the top menu to create a new template. The Create dialog opens.
- Select Command Template from the dropdown menu. Next, enter a template name.
- Click Create. The Command Template form displays.
- Enter the device name in the search field (upper right) to select a device.
-
Add the relevant command variables and rules. For more information, see the sections on Command Template Variables and Defining Command Template Rules on the following pages.
- Click Add Command to add a new command.
- Click Add Rule to add a new rule to a command.
- Click the trashcan icon next to either a rule or command to delete.
- Click Test This Command for a single command or Test All Commands to test all the commands at once. After evaluating the test output, rules will be marked with either a green check mark (passed) or red minus sign (failed) . The device response will appear at the bottom of the screen in the Test results.
Was this article helpful?