You can add pre-run and post-run CLI templates.
Pre-run CLI templates are intended for model devices and zero-touch provisioning. Pre-run CLI templates are run before provisioning templates.
- Go to Device Manager > Provisioning Templates > CLI Templates.
- Click Create New , and select either Pre-Run CLI template or Post-Run CLI Template.
The Create New CLI Template pane is displayed.
- Enter the required information:
Type a unique name for the template.
Select the template type from one of the following options:
- CLI Script
- Jinja Script
Optionally, type a comment for the template.
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.