Manage device and network configuration templates
Save device and network configurations once and reuse them for pre-onboard configurations and onboarded devices.
On this page: |
Overview
Starting with Rock Cortex 3.7.0, Account Administrators can save a collection of settings once as a configuration template and reuse it for many devices. There are two types:
|
Template type |
Contains |
How it's applied |
|---|---|---|
|
Device configuration template |
Device settings, such as device mode, communication protocol, mount mode, and advanced parameters |
Required when you pre-onboard a device, and applicable to onboarded devices. The pre-onboard configuration or device stays linked to the template and receives later template changes unless you manually change its device configuration settings. For onboarded devices, changing the device name or its ONVIF or SIP settings does not break the link. |
|
Network configuration template |
Connectivity settings, such as the server endpoint, IP addressing, and NTP |
Optional for pre-onboard configurations. Rock Cortex copies the settings into the pre-onboard QR code. The template is never linked. |
To learn how to use templates for device pre-onboarding, see Pre-onboard devices.
Before you begin
Device and network configuration templates are available for all Rock Cortex deployment types: on-premises, single-tenant cloud, and multi-tenant cloud.
To use them, you need:
- The Account Administrator role.
- Rock Cortex 3.7.0 or later.
About the Templates page
The templates in your Alcatraz account are under Device Management > Templates, which only Account Administrators can see. The page has a tab for each template type.
Here's an example of the Device Configuration Templates tab:

- Template: the template name.
- Assigned Devices: the number of devices linked to the template.
- Assigned Pre-onboards: the number of pending pre-onboard configurations linked to the template.
- Updated: the date and time of the last change.
- Created: the date and time the template was created.
Here's an example of the Network Configuration Templates tab:

This tab has the same columns as the Device Configuration Templates tab, except Assigned Devices and Assigned Pre-onboards, because network configuration templates aren't linked to devices or pre-onboard configurations.
On both tabs, you can:
-
Sort by Template, Updated, or Created
-
Use a template's ellipsis menu (…) to edit or delete it.
-
Use the Actions button to create or delete templates.
Create a device configuration template
Save device settings that you want to apply to pre-onboard configurations and to onboarded devices.
- Log in to Rock Cortex as an Account Administrator.
- In the left navigation menu, select Device Management > Templates.
- On the Device Configuration Templates tab, click Actions > New Template.
The Device Configuration Template page opens.
- In Template Name, enter a name that describes where or how you'll use the template, for example Lobby doors.
- Expand the sections you need, such as Device Mode or Communication with ACS, and set the device settings. To show more settings, turn on the Advanced toggle.
For details about each setting, see Device Management.Important: Device configuration templates don't include SIP and ONVIF settings. Configure those separately on each device. - Click Save.
The device configuration template appears in the list. You can now use it in a pre-onboard configuration, or apply it to an onboarded device.
Create a network configuration template
Save network settings that you want to use in pre-onboard configurations. You need the network details of the installation site, such as the subnet, available IP addresses, gateway, and NTP server.
- Log in to Rock Cortex as an Account Administrator.
- In the left navigation menu, select Device Management > Templates.
- On the Network Configuration Templates tab, click Actions > New Template.
The Network Configuration Templates page opens.
- In Template Name, enter a unique name that describes the site or network, for example HQ Building A.
- Configure the Network Settings, IP Network Addressing, NTP Server, and Device Type settings.
For details, see Configure the Rock's Network Settings (QR code). - Click Save.
The network configuration template appears in the list, and you can use it in pre-onboard configurations.
Update a configuration template
Update a configuration template to change the settings it contains. Consider what the change affects when updating a device configuration template.
|
Template type |
Affected |
Not affected |
|---|---|---|
|
Device configuration template |
|
Devices and pending pre-onboard configurations that were unlinked from the template by manual changes to their device configuration settings. |
|
Network configuration template |
New pre-onboard configurations. |
Existing pre-onboard configurations and onboarded devices. |
- Log in to Rock Cortex as an Account Administrator.
- In the left navigation menu, select Device Management > Templates.
- Select the Device Configuration Templates or Network Configuration Templates tab.
- In the template's row, click the ellipsis menu (…) > Edit.

- Review the confirmation message, then click Continue to edit.
- Change the settings, then click Save.
Delete a configuration template
You can delete a device configuration template only when no onboarded devices or pending pre-onboard configurations are linked to it, meaning its Assigned Devices and Assigned Pre-onboards counts are both 0. Otherwise, Delete is unavailable.
You can delete any network configuration template. Nothing that used it is affected, because its settings were copied, not linked.
- Log in to Rock Cortex as an Account Administrator.
- In the left navigation menu, select Device Management > Templates.
- On the relevant tab, do one of the following:
- One template: in its row, click the ellipsis menu (…) > Delete.
- Several templates: select their checkboxes, then click Actions > Delete Selected.
- Review the confirmation message, then click Yes, delete.
The selected templates are removed from the list.
Link an onboarded device to a device configuration template
You can link an onboarded device to a device configuration template, or change its linked template to another one. The device gets the template's settings, and any later changes to the template.
| Important: Applying a device configuration template replaces the device settings covered by the template, including any values you changed manually. ONVIF and SIP settings are preserved. |
- Log in to Rock Cortex as an Account Administrator.
- In the left navigation menu, select Device Management > Devices.
- Click the device name to open its details page.
- In the top-right corner, click Settings > Configure.
The Configure Device Parameters page opens. - Under Device configuration, in the Template drop-down, select the template, for example Meeting rooms.

- In the Apply Device Configuration Template dialog, review the message, then click Apply.
The device is now linked to the template, and online devices get the settings almost immediately. If you later change any of the settings of the device, except its name and its ONVIF and SIP settings, the device is unlinked from the template.
| Note: Network configuration templates don't apply to onboarded devices. To change an onboarded device's network configuration, you onboard it again with a new pre-onboard configuration. See Pre-onboard devices. |
Audit log
Rock Cortex records these template actions in the Audit Log, with the user who performed them:
- Creating, editing, and deleting device configuration templates.
- Creating, editing, and deleting network configuration templates.
- Applying a device configuration template to a device.
Exporting and importing account data with templates
Templates are included when you export and import Devices data. For details, see Import/Export Accounts Data.