Using Command Templates
  • 05 Dec 2024
  • Dark
    Light
  • PDF

Using Command Templates

  • Dark
    Light
  • PDF

Article summary

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.

  1. Navigate to IAP → Automation Studio → Command Templates.

  2. Click the plus (+) icon in the top menu to create a new template. The Create dialog opens.

    01_open_create_dialog 1

  3. Select Command Template from the dropdown menu. Next, enter a template name.

  4. Click Create. The Command Template form displays.

    11_createTemplate 1

  5. Enter the device name in the search field (upper right) to select a device.

    02_enter_device_name

  6. Add the relevant command variables and rules. For more information, see Defining Command Templates.

    • 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.

    04_add_remove_rules_cmds

  7. Click Test This Command for a single command or Test All Commands to test all the commands at once.

  8. After evaluating the test output, rules will be marked with either a green check mark (passed) 13_greenCheck or red minus sign (failed) 14_redDash. The device response will appear at the bottom of the screen in the Test results.

03_test_cmds


Was this article helpful?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.