Capture and Add Templates
- Last Updated: December 11, 2024
- 2 minute read
- WhatsUp Gold
- Version 2024
The first step in using templates is configuring the template script. After you configure a template, it will then need to be generated and applied to your network devices. For more information, see Generating and applying templates.
To configure a new template:
- From the Template Library
(SETTINGS
> Configuration Management >
Template Library), click 'add' (
). The New Configuration Template dialog
displays. - Enter a Name and Description.
- Click Capture. Select Configuration Archive dialog displays.
- Click Select Device to select a device from which to choose the config file upon which you are basing this template.
If the device you select has archived config files, they are displayed in the Select Config Archive dialog. If there are no archived config files for the device, click Capture to grab a config file with the Select Configuration dialog. After you capture a config, it is displayed in the Select Configuration Archive dialog.
- Select the archive upon which you want to base the template. The config script is added to the Template section of the New Configuration Template dialog.
- Adjust the config file as needed to replace any relevant device-specific information with variables, such as the hostname and the IP address. For information on variables in Configuration Management, see the Custom Script Language Guide.
- Click OK to save the template.
To modify an existing template:
- From the Template Library
(SETTINGS
> Configuration Management >
Template Library), select an existing template, then
click 'edit' (
). The Edit Configuration
Template dialog displays. - Modify the Description as needed.Note: You cannot modify the template Name.
- Modify the Template script as needed. For information on Configuration Management variables you can use to replace device specific information, such as hostname and IP address, see the Custom Script Language Guide.
- Click OK to save the template.