About Template Hub
Cisco DNA Center provides an interactive template hub to author CLI templates. You can design templates easily with a predefined configuration by using parameterized elements or variables. After creating a template, you can use the template to deploy your devices in one or more sites that are configured anywhere in your network.
With Template Hub, you can:
-
View the list of available templates.
-
Create, edit, clone, import, export, and delete a template.
-
Filter the template based on the Project Name, template Type, Template Language, Category, Device Family, Device Series, Commit State and Provision Status.
-
View the following template attributes on the Templates Hub window in the Templates table:
-
Name: Name of the CLI template.
-
Project: Project under which the CLI template is created.
-
Type: Type of CLI template (regular or composite).
-
Version: Number of versions of the CLI template.
-
Commit State: Shows if the latest version of the template is committed. You can view the following information under the Commit State column:
-
The timestamp of the last committed date.
-
A warning icon means the template is modified but not committed.
-
A check icon means the latest version of the template is committed.
Note
The last template version must be committed to provision the template on the devices.
-
-
Provision Status: You can view the following information under the Provision Status column:
-
The number of devices on which the template is provisioned.
-
A check icon displays the number of devices for which the CLI template was provisioned without any failures.
-
A warning icon displays the number of devices for which the latest version of the CLI template is not yet provisioned.
-
A cross icon displays the number of devices for which the CLI template deployment failed.
-
-
Potential Design Conflicts: Displays potential conflicts in the CLI template.
-
Network Profiles: Displays the number of network profiles attached to a CLI template. In the Network Profiles column, click Attach to attach a CLI template to network profiles.
-
Actions: In the Actions column, hover your cursor over the ellipsis icon
to clone, commit, delete, or edit a template; edit a project; or attach a template to a network profile.
-
-
Add interactive commands.
-
Autosave the CLI commands.
-
Version control the templates for tracking purposes.
You can view the versions of a CLI template. On the Template Hub window, click the template name and click the Template History tab to view the template version.
-
Detect errors in templates.
-
Simulate templates.
-
Define variables.
-
Detect run-time conflict.
![]() Note |
Ensure that your template does not overwrite a network-intent configuration pushed by Cisco DNA Center. |