- Introduction
- Getting Started with Cisco Virtual Topology System
- Managing Local Users and Groups
- Managing Inventory
- Managing Resources
- Creating and Managing Admin Domains
- Managing Templates
- Managing Tenants
- Provisioning Overlay Networks
- Viewing Overlay Details
- Administering Cisco VTS
- Service Extension Templates-Supported Configuration
- Supported Underlay Configuration
- OpenStack Configuration for SR-IOV Support
Managing
Templates
A template is a container of configurations, which can be applied to a target such as a device or a router.
- Overlay Templates—The
following types of overlay templates are supported.
-
Route templates—A route template is a template that lets you configure static routes and route targets. This template can be applied to a tenant or a router. When it is applied to a tenant, all the routers within that tenant inherit the static route and route target configuration. When it is applied to a router, it overrides the route template that was inherited from the tenant. It is supported in a set up that has only Cisco ASR 9000 Series Aggregation Services Routers as DCI.
Only integrated DCI mode is supported. VRF-peering mode is not supported.
-
L3 Service Extension templates—An L3 Service Extension template allows you to extend Cisco VTS Layer 3 service configuration on routers or tenants.
The configuration you define in the service extension template, along with the out-of-the-box Cisco VTS L3 configuration, will be pushed to the device to get the combined configuration on the device. Service extension templates do not allow you to configure any parameter that Cisco VTS configures out-of-the-box.
One device can have multiple templates. One template can be attached to multiple devices. The admin has to ensure that the templates do not have conflicting configuration.
Currently, L3 Service Extension templates are supported for the following platforms: You can modify any L3 service related configuration that is pushed on Cisco ASR 9000 series devices in integrated mode (DC gateway and DCI is the same physical box) or VRF peering mode. In VRF peering mode, Cisco Nexus 9000 series device has to be configured as te border leaf. You must have an external network, and the External network should be set as the Router gateway. If you do not have the external gateway set, the template will be attached to the router, but configuration will not be pushed. After you have your external network as the router gateway, it will push the configuration.
- L2 Service Extension
templates—An L2 Service Extension template allows you to extend Cisco VTS Layer
2 service configuration.
The creation of L2 SE templates is done by authoring configuration that are specific to a device type. You can modify the L2 configuration that is attached to the network. The configuration is for the L2 construct which can be applied to the virtual interface. Following L2 service configuration templates are supported: -
L2 QoS—Supported on Cisco Nexus 9000 series. See Important Notes—L2 QoS Template.
-
VPLS—Supported on Cisco ASR 9000 series. The L2 Extension templates for Cisco ASR 9000 series devices include the VPLS configuration under the L2VPN and EVPN containers. See Important Notes—VPLS Template.
-
-
- Underlay
template—Underlay templates enables you to configure the Day zero
configuration on underlay devices via the VTS UI.

Note
If devices templates overwrite any VTS service configurations, these configurations would stay even after the device templates are detached/removed. To reinstate the service configurations, you will need to redeploy the services.
The overlay template can be used with multiple routers or tenants You can either associate the template while you create the router or tenant, or associate a template to a tenant or router you have already created, while you edit the tenant or router.
When you detach the overlay template from the tenant, it cleans up the configuration on the device.
![]() Note | For route templates, you can have only one instance of a template type per tenant/router. For example, let the template types be Temp A and Temp B, and the instance of Temp A be Ins A and that of Temp B be Ins B. Now, Ins A and Ins B can be applied to a tenant/router. However, Ins A and Ins A’, where Ins A’ is a second instance of Temp A, cannot be applied at the same time on the tenant/router. |
The following sections provide more details about working with templates:
- Creating Route Templates
- Creating L3 Extension Templates
- Editing Templates
- Copying a Template
- Deleting Templates
- Attaching Templates to Tenants
- Attaching Templates to Routers
- Creating L2 Extension Templates
- Creating Underlay Templates
Creating Route Templates
To create templates:
| Step 1 | Go to Templates > Overlay Template Management. The Templates / Overlay Template Management page appears. |
| Step 2 | Click +. The Create Template page appears. |
| Step 3 | Enter a name for the template in the Template Name field. Only alphabets, numbers, and special characters ., _ and - are allowed. The maximum character limit is 128. |
| Step 4 | Enter a description for the template, in the Description field. This is optional. |
| Step 5 | Select the template type from the Template Type. For route templates, select Route. |
| Step 6 | Click Add Configuration. The New Template page appears. |
| Step 7 | Enter a route target seed. This can be an integer value in the range of 1-16777215. Route Target with seed is pushed to DCI, and Leaf if eBGP is enabled. |
| Step 8 | Enable or Disable the Auto Route Target option. By default, it is enabled. See Disabling Auto Route Target Configuration for details. |
| Step 9 | Add Static Routes. See Adding Static Routes for details. |
| Step 10 | Add Route Targets. See Adding Route Targets for details. |
| Step 11 | Click Save. The template is saved and listed in the Template Management page. |
Adding Static Routes
You can add static routes to a template while you create the template.
Adding Route Targets
Adding Fabric Internal Route Targets
Adding Fabric External Route Targets
To add Fabric Eternal route targets to import /export route targets to the DCI:
| Step 1 | Click Fabric External RT tab. | ||
| Step 2 | If you want to use system defined RT, choose Auto RT- System Defined from the dropdown. Else, choose Auto RT - Custom. You must add at least two custom route targets. | ||
| Step 3 | Click
+. The Add Route Target(s) pop-up appears.
Enter the route targets to be shared across the different VRFs. The valid route target formats are: Where: | ||
| Step 4 | Specify
whether route targets are to be imported or exported. To do this, select the
desired value from the Direction drop-down.
The type will be Fabric External, by default | ||
| Step 5 | Click Add. |
Disabling Auto Route Target Configuration
This is to make sure that when auto RT is disabled, the static route targets defined in the template (which will then be pushed to the DCI) are sufficient to enable the DCI to communicate with the TORs properly.
Whenever you enable Auto Route Target again the route targets created using the route target seed (if provided) or ASN# will be pushed to devices. In addition, the RT seed textbox will be enabled again.
Creating L3 Extension Templates
To create L3 Extension templates:
| Step 1 | Go to Templates > Overlay Template Management. The Templates / Overlay Template Management page appears. | ||
| Step 2 | Click +. The Create Template page appears. | ||
| Step 3 | Enter a name for the template in the Template Name field. Only alphabets, numbers, and special characters ., _ and - are allowed. The maximum character limit is 128. | ||
| Step 4 | Enter a description for the template, in the Description field. This is optional. | ||
| Step 5 | Choose L3 Extension as the template type. | ||
| Step 6 | Choose the Device Platform. Currently, the following platforms are supported: | ||
| Step 7 | Click Add Configuration to add configuration to the template. The Author Template window appears. | ||
| Step 8 | Click
Configuration icon to get the Add Configuration menu. The flyout menu displays
all the configuration options that are available at the root level. You can
search for the desired configuration in the Search field.
| ||
| Step 9 | Choose the
desired configuration. The configuration you chose gets added as a child node
in the Config tree, on the left pane.
You may add further configuration to the node that you have added by clicking the Configuration icon. If you want to delete the configuration, click the delete (X) icon. For configuration items which can take multiple instances, the Add Instance button appears in the authoring pane. You can add an instance by clicking Add Instance. Click Add after you add the configuration for the instance.
| ||
| Step 10 | Click
Save
Template.
The template gets added to the Template Management screen. You can click on the template to get a summary of the template, in the Template Summary page. You can expand the Config node to view the template configuration. You can edit the template from the Summary screen, by clicking Edit Template Config. |
Supported System Variables
For certain configurations, some of the options that are available for selection have the %v suffix. The %v suffix denotes that it is a system variable. When the Cisco VTS comes across such a variable in the template, it translates that into the value that it had configured for that device.
Supported variables in Cisco Nexus 5000, Cisco Nexus 7000, and Cisco Nexus 9000 Series for L3 Service Extension
Supported variables in Cisco Nexus 9000 Series for L2 Service Extension
Supported variables in Cisco ASR 9000 Series for L3 Service Extension
Supported variables in Cisco ASR 9000 Series for L2 Service Extension
Editing Templates
You can modify a template that you have created.
| Step 1 | Go to Templates > Template Management. The Templates / Template Management page lists all the templates you have created. | ||
| Step 2 | Select the check
box corresponding to the template you need to edit, and click the edit icon.
| ||
| Step 3 | Make the desired changes, then click Save. |
Copying a Template
You can copy a template and save it with a different name. You can also modify the parameters while you copy.
Deleting Templates
![]() Note | You can delete a template only if it is not attached to either a tenant or router. If it is attached to a tenant or router, an error is displayed when you try to delete. You need to detach the template from tenant or router before deleting the template. |
Attaching Templates to Tenants
You can attach template to tenants when you create or edit tenants.
- Attaching Template while Adding Tenants
- Attaching Template while Editing a Tenant
- Detaching Template from Tenants
Attaching Template while Adding Tenants
You can attach templates to a Tenant while you add a tenant.
| Step 1 | When you are adding a new tenant, click the find icon in the Template field. The Select Template pop-up appears. |
| Step 2 | Select the template type, then select the desired template. If you want to create a new template and attach that, click Create New Template. |
| Step 3 | Click Select Devices(s) to select the devices. |
| Step 4 | Click Apply Template(s). |
| Step 5 | Click Save. |
Attaching Template while Editing a Tenant
| Step 1 | Go to Tenants > Tenant Management. The Tenants / Tenant Management page lists all the tenants you have created. | ||
| Step 2 | Select the check box corresponding to the tenant you need to modify, then click the edit icon. | ||
| Step 3 | Click the find icon in the Template field. The Select Template pop-up appears. | ||
| Step 4 | Select the
template type from the Template Type drop down list.
| ||
| Step 5 | Select the desired template. Then click Select Device(s), to select the devices. | ||
| Step 6 | From the Select Device(s) popup window, select the devices, then click Apply Template(s).. | ||
| Step 7 | Click Save in the Edit Tenant page. |
Detaching Template from Tenants
You can detach a template that you had attached to a Tenant. When you detach a template from a tenant, all the template configuration is removed from the routers that inherited the template.
To detach the template:
| Step 1 | Go to Tenants > Tenant Management. The Tenants / Tenant Management page lists all tenants. |
| Step 2 | Select the tenant from which you want to detach the template, then click the Edit icon. |
| Step 3 | Click the Find icon in the Templates field. The Select Template popup is displayed. |
| Step 4 | Check the check box. |
| Step 5 | Click Save. |
Attaching Templates to Routers
You can attach templates to routers while adding a router or while modifying an existing router. By default, router inherits the template from the tenant. You can override an inherited template while you create or modify a router, by selecting a different template, or creating a new template and attaching to the router.
![]() Note | The configuration is pushed to the device only when Port Attach is done. If a router is created and template is applied to the tenant or router, but port is not attached, then the template configuration is not pushed. See Creating a Network using Cisco VTS GUI for details about attaching port. |
Attaching Templates while Adding Routers
While you add the router, by default, the router inherits the template from the tenant. The template field displays <template name> (Inherited). You may inherit the template from the tenant or may chose to select a template of your choice.
| Step 1 | Click the Find icon in the Template selection box. The Select Template popup is displayed. |
| Step 2 | Uncheck the Inherit from Tenant check box. The popup lists all the available templates. |
| Step 3 | Select the
desired template, then click
Apply. The template gets applied to the router.
If you want to create a new template, click Create New Template. You will be redirected to the Templates > Template Management > New Template page. After you create the new template, you must select the new template from the Select Template pop up, as described in Step 2 and 3. |
| Step 4 | Click Save after you complete the router creation procedure. |
Attaching Template while Editing a Router
You can attach a template to a router while you edit a router.
| Step 1 | Go to Overlay > Router. The Overlay / Router page lists all the routers. | ||
| Step 2 | Select the Router that you need to modify, then click the edit icon. The template field lists the template that the router has inherited from the tenant. | ||
| Step 3 | Click the Find icon in the Template selection box. The Select Template popup is displayed. | ||
| Step 4 | Uncheck the Inherit from Tenant check box. The popup lists all the available templates. | ||
| Step 5 | Select the template type from the Template Type drop down list. | ||
| Step 6 | Select the
desired template, then click
Select
Device(s)
If you want to create a new template, click Create New Template. You will be redirected to the Templates > Template Management > New Template page. After you create the new template, you must select the new template from the Select Template pop up, as described in Step 2 and 3. | ||
| Step 7 | From the Select
Devices popup window, select the device(s) on which you want to apply the
template, click
Apply
Template(s)..
| ||
| Step 8 | Click Save. |
Creating L2 Extension Templates
To create L2 Extension templates:
| Step 1 | Go to Templates > Overlay Template Management. The Templates / Overlay Template Management page appears. | ||
| Step 2 | Click +. The Create Template page appears. | ||
| Step 3 | Enter a name for the template in the Template Name field. Only alphabets, numbers, and special characters., _ and - are allowed. The maximum character limit is 128. | ||
| Step 4 | Enter a description for the template, in the Description field. This is optional. | ||
| Step 5 | Choose L2 Extension as the template type. | ||
| Step 6 | Choose the Device Platform. | ||
| Step 7 | Click Add Configuration to add configuration to the template. The Author Template window appears. | ||
| Step 8 | Click
Configuration icon to get the Add Configuration menu. The flyout menu displays
all the configuration options that are available at the root level. You can
search for the desired configuration in the Search field or configuration items
which can take multiple instances, the Add Configurations pane appears in the
authoring pane.
| ||
| Step 9 | Choose the desired configuration. The configuration you chose gets added as a child node in the Config tree, on the left pane. | ||
| Step 10 | Click
Add Instance
to add an instance. New Instance gets added on the left pane.
For configuration items which can take multiple instances, the Add Instance button appears in the authoring pane. Click Add after you add the configuration for the instance.
| ||
| Step 11 | Click Save Template, after you finish adding the desired configuration. |
Important Notes—L2 QoS Template
Review the section below before you create QoS template:
- Policy map has to be created on the devices as part of Day Zero configuration or configured using underlay templates. Only those devices with the service policy map configured will be displayed in the template association UI.
-
Under the vlan configuration Cisco Nexus 9000 supports only service policy with type qos. Both input and output service policies may be configured in the same template.
-
While applying L2 QoS templates, only those devices with the service policy map configured will be shown. The policy map has to be configured on the device for the device to be displayed here.
Important Notes—VPLS Template
Review the section below before you create a VPLS template:
- Ensure that the necessary Day Zero configuration is complete on the DCI. See Cisco VTS Day Zero Configuration Examples document for details.
- Create the Admin Domain. Make sure you link the L2GW and DCGW, which is required for L2VNI. See Creating an Admin Domain for details.
- Create the DCI Interconnect profile with the specific details. See Creating DCI Interconnect Profiles for details.
- Associate the DCI Interconnect profile to the DCI in the Admin Domain under DCI Interconnect profile tab.
- Create the L2 Extended Network with an EVI ID assigned to the Network under L2VPN tab. See Creating a Network using Cisco VTS GUI for details.
- Make sure the subnets and port attach is done for the Network.
- You can create a template with just PW (pseudo wire) configuration, or just Access VFI configuration, or can have both configurations in one template. Make sure that you enter correct PW and Acess VFI under l2vpn, in the DC that is not managed by VTS.
-
The following are supported as system variables in VPLS templates:
Associating L2 Extension Templates
You can attach an L2 Extension template while you create a network, or to an existing network. To attach an L2 Extension template:
| Step 1 | Click Overlay > Network. The Overlay > Network page is displayed. | ||
| Step 2 | Select the network for which you want to attach the L2 extension template, then click Edit icon. | ||
| Step 3 | Click the Template selection search box. The Select Templates pop up displays a list of all L2 extension templates you have created. | ||
| Step 4 | Select the
desired template(s). Click
Next. You
may also create a new template, using the
Create New
Template button.
The Select Devices popup appear. You may choose to apply the selected templates to all of the devices, or choose specific devices on which you may want to apply the template.
| ||
| Step 5 | Select the device(s), then click Apply Template(s). | ||
| Step 6 | Perform a port attach to get the template pushed to the device. |
Creating Underlay Templates
To create Underlay templates:
| Step 1 | Go to
Templates > Device Template Management.
The Templates / Device Template Management page appears. | ||
| Step 2 | Click +. The Create Template page appears. | ||
| Step 3 | Enter a name for the template in the Template Name field. Only alphabets, numbers, and special characters., _ and - are allowed. The template name requires at least one alphabet or number. The maximum character limit is 128. | ||
| Step 4 | Enter a description for the template, in the Description field. This is optional. | ||
| Step 5 | Choose the Device Platform. Currently, the following platforms are supported: | ||
| Step 6 | Click
Add
Configuration to add configuration to the template.
The Author Template window appears. | ||
| Step 7 | Click Configuration icon to get the Add Configuration menu. The flyout menu displays all the configuration options that are available at the root level. You can search for the desired configuration in the Search field. | ||
| Step 8 | Choose the
desired configuration. The configuration you chose gets added as a child node
in the Config tree, on the left pane.
You may add further configuration to the node that you have added by clicking the Configuration icon. If you want to delete the configuration, click the delete (X) icon. For configuration items which can take multiple instances, the Add Instance button appears in the authoring pane. You can add an instance by clicking Add Instance. Click Add after you add the configuration for the instance.
| ||
| Step 9 | Click
Save
Template.
The template gets added to the Template Management screen. You can click on the template to get a summary of the template, in the Template Summary page. You can expand the Config node to view the template configuration. You can edit the template from the Summary screen, by clicking Edit icon. |
Associating Devices to Underlay Template
To attach or detach an Underlay template from a device:
| Step 1 | Go to Inventory > Network Inventory. The Inventory / Network Inventory page appears. | ||
| Step 2 | Click
Device
Template.
| ||
| Step 3 | Click the
Edit
adjacent to template name you want to edit.
The Associate Devices for <template> page appears where you can see the devices attached or detached from the underlay template. | ||
| Step 4 | Check or uncheck Devices(s) to attach or detach the devices as per your requirement. | ||
| Step 5 | Click
Done.
The devices are successfully added or removed from the underlay template.
|
Feedback