Adding CLI templates
You can add Pre-Run CLI Templates and CLI templates.
Pre-run CLI templates are intended for model devices and zero-touch provisioning. Pre-run CLI templates are run before provisioning templates. |
To add a CLI template:
- Go to Device Manager > Provisioning Templates > CLI Templates.
- Click Create New , and select either Pre-Run CLI template or CLI Template.
The Create New CLI Template pane is displayed.
- Enter the required information:
Template Name
Type a unique name for the template.
Type
Select the template type from one of the following options:
- CLI Script
- Jinja Script
Comments
Optionally, type a comment for the template.
Script details
Type the script itself, either manually using a keyboard, or by copying and pasting from another editor.
- Click OK.
The CLI template is created and displayed under it's appropriate category. For example, if you created a pre-run CLI template, it displays under the Pre-Run CLI Template category.