Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Configuring and Managing Quick Templates


You can create and manage custom templates for your device configurations that are deployable through Connectivity Services Director. Unlike other features that support implementation of only some of the device configurations, quick templates enables you to set up all the configuration parameters for any supported device because it is Device Management Interface (DMI) schema-driven.

Each device type is described by a unique data model that contains all the configuration data for that device. The Schema window shows the device family that you select while you create a template and the DMI schema that lists all the possible fields and attributes for a type of device. The latest schema describe the new features associated with recent device releases. After you create a quick template, you can add or delete device configuration details to and from quick templates by loading the configuration data from the schema. You need to apply these templates to devices manually.

If you click the More tips link you are guided on the variable and the command syntax usages. It also provides instructions on how to issue sub-commands. When defining your network configuration in quick templates by using a particular command, ensure that you define the sub-commands individually. Stating sub-commands as a single command causes errors. For example, the commands set snmp location xyz and set snmp contact are valid when defined individually. However, if you combine these commands into the single command set snmp location xyz contact schema validation treats the end command, contact, as an extra entry and displays an error.

To avoid any conflicts with the profile configurations while creating the template, a warning message Please don’t create any Profile conflict configuration is displayed to indicate that you must not create a configuration as part of the template if the same configuration is available as part of the profile configuration.

The Templates page in the Quick Templates workspace lists the device templates created, in a tabular view. The Table 1 lists the columns in the table along with a description:

Table 1: Quick Templates



Creation Time

Date and time when the template was created.

Template Name

Name of the quick template.

Device Family

Name of the device family for which the template is created.

Selecting the option Common indicates that the template is applicable for all the device families.

OS Version

Junos OS version of the device family selected.


Description of the quick template.

Last Updated Time

Date and time when the template was last modified.

Last Updated By

User name of the person who created the template.

This topic describes:

Creating a Quick Template

Quick templates enable you create a template to define configurations for your devices. You can create and deploy quick templates from the Wired workspace.

To create a quick template:

  1. Click the Build icon in the Connectivity Services Director banner.
  2. Select Wired > Tasks > Manage Quick Templates in the Tasks pane.

    The Manage Quick Template page appears.

  3. Click Create.

    The Create Quick Template page opens.

  4. Specify the following details:
    • Name—Type a name for the quick template. The quick template name is required. The quick template name must be unique and limited to 63 characters.

    • Description—Type a description for the quick template. The description is optional and limited to 255 characters.

    • Device Family—From the Device Family list, select an appropriate device family. Selecting the option Common in device family creates a generic template, which can be applied to any device family. Therefore, specify only the most common settings such as system, SNMP, or track group settings that are applicable to all the platforms. If you want to define the settings that are specific to a platform select the appropriate platform from the device family instead of the Common option. For the list of device families supported by Connectivity Services Director, see the latest Connectivity Services Director Release Notes.


      ACX Series routers are listed when you select the Common option from the Device Family list on the Create Quick Template page. If you select the option as MX from the Device Family list, only MX Series routers are displayed on the Assign Quick Templates page. To apply quick templates for ACX Series routers, you must select the Common option as the device family type.

    • OS Version—From the OS Version list, select an appropriate DMI Schema version running on that platform. If you are unable to locate the DMI schema for a device family, you can update the DMI schema version on the Junos Space server. For more information about updating the DMI schema on the Junos Space server, see Junos Space documentation.

    The Schema window displays the device family and the OS version selected in this step.

  5. Type or paste the Junos commands in the text area provided in the CLI commands section. Alternatively, you can navigate through the configuration option levels (at the left side) in Schema and double-click the configuration option you want to add to the quick template. The selected configuration option is displayed in the CLI Commands text area. The configuration options available here depend on the device family you selected.
  6. Optionally, you can modify the configuration in the CLI Commands text area by using the tool bar functionalities such as undo, redo, cut, copy, paste, and find.
  7. Click Save.

    The template you created is displayed in the quick templates table.

Applying Templates to Devices

After you create a template, you can define your device configuration to be managed by using the quick templates, and apply these templates to the multiple devices.

To assign a template to a device:

  1. Select the check box against the quick template for which you want to assign the profile.
  2. Click Assign.

    The Assign Quick Template : template names page opens.

  3. Choose at least one device to which the profile needs to be assigned.
  4. Click Next.
  5. Choose a device and specify the quick template variables in Configure attributes page and click Save.

    For example, when you configure a VLAN interface in a quick template, you can specify the variables VLAN and interface names for that template for a selected device.

  6. Optionally, you can apply the settings specified here to all the selected devices of a device family by selecting the check box against the option Apply above settings to all other selected devices.
  7. Click Next and then click Finish.
  8. Review the profile association with the quick template and then click Finish.

Editing a Quick Template

You can edit a quick template to modify configurations for your devices.

To edit a quick template:

  1. Select the check box against the quick template that you want to modify.
  2. Click Edit.

    The Edit Quick Template : template name page opens.

  3. Make the required changes to the quick template and click Save.

Deleting a Quick Template

To delete a quick template:

  1. Select the check box against the quick template that you want to delete.
  2. Click Delete.

    The Delete Quick Templates window opens.

  3. Click Yes to delete the quick template; else click No.

Cloning a Quick Template

A cloned quick template is a copy of an existing quick template. You can use the quick template as a primary copy to create clone of that template. When you clone a quick template, you create a copy of the entire device configuration, including its settings, and other contents. Cloning a quick template saves time if you are deploying device configuration that are similar to the primary copy, rather than creating a template and defining configurations multiple times.

To create a copy of an existing template:

  1. Select the check box against the quick template you want to clone.
  2. Click Clone.

    The cloned template named primary template-clone is shown in the list of templates.

Using the Quick Template Details Window

Use the Quick Template Details window to view the details of the quick template. Table 2 describes the fields in this window.

Table 2: Quick Template Details




Displays the name of the quick template.


Provides a description of the quick template.

Device Family

Displays the device family for which quick template is created.

OS Version

Displays the Junos OS version for the selected device family.

CLI Commands

Displays the CLI commands configured for the device family.

Viewing Deployed Quick Templates

You deploy the device configurations defined in a quick template after you have applied the template to a device. The View Deployed Templates option enables an administrator or an operator to view the list of templates that are deployed to the devices.

You can mouse over the template name to view the date and time when the template was created and last modified.

The View Deployed Templates page lists the deployed templates device in a tabular view. The Table 3 lists the columns in the table along with a description.

Table 3: View Deployed Template



Template Name

Indicates the name of the template whose configuration is deployed to the system.

Creation Time

Indicates the date and time when the template was created.

Last Updated Time

Indicates the date and time when the template was last modified.

User Name

Indicates the user name of the person who created the template.

Depending upon the type of approval mode configured—Manual Approval or Auto Approval mode— you can either deploy the device configurations defined in the template directly or by pursuing an approval from a configuration approver for the device changes.

To view the list of quick templates that are deployed to a device:

  1. Click the Build Mode icon in the Connectivity Services Director banner.
  2. Select a device in the View pane.

    The View Deployed Templates option appears under Wired>Tasks.

  3. Click View Deployed Templates.

    The Deployed Templates For Device: device name page displays listing the templates applied for that device.