Auditing a Device Template Configuration
You audit the configuration in the template that is already deployed to the devices. You perform an audit to verify the extent to which the configuration in the template and that on the deployed devices match. You can use this workflow to audit both Configuration templates and Quick templates.
To audit a template configuration:
- On the Junos Space Network Management Platform user interface,
select Device Templates > Templates.
The Templates page is displayed.
- Select the template whose deployment you want to audit
and select Audit Template Configuration from the Actions
menu.
The Audit Template Configuration page is displayed. You can view the name of the template, current selected version of the template, Junos OS version of the template, and devices that belong to the same device family. The Include All Managed Devices check box ix selected by default. Clear this selection to list only those devices that are UP and INSYNC states if you select All in the Selected Template Version drop-down list. If you select a specific template version, all devices that have the specified version of the template deployed and are in UP or INSYNC states are listed.
- (Optional) From the Selected Template Version drop-down list, select the version of the template.
The list of devices displayed is filtered according to the version of the template you select in this field. The list is filtered to display only those devices on which the template is currently deployed.
- You can select devices manually, by filtering devices
by device properties, by using tags, or by providing a CSV file with
filter criteria:
To search for devices manually, enter the search criteria in the Search field and click the Search icon.
The list of devices are filtered by the search criteria.
To filter devices by device properties, select the check box next to the appropriate device on the Column Filter drop-down list.
To select devices by using tags, select an appropriate tag from the Tag Filter drop-down list.
From Junos Space Platform Release 17.2R1 onward, when you select devices by CSV, you can choose to select all managed devices. Select the Include All Managed Devices check box to list all managed devices for selection.
To provide filter criteria through a CSV file, click the CSV Filter icon and upload the CSV file with the filter criteria by using the Upload a CSV pop-up window.
- Click Next.
The devices you selected are listed on the left of the page.
- Select whether to audit the template configuration against
the configuration in devices now or later:
To audit the template configuration against the configuration in devices now, click Finish.
To schedule this task for a later time:
Select the Schedule at a later time option button.
Enter the date in the Date field in DD/MM/YYYY format.
Enter the time in the Time field in hh:mm format.
- (Optional) Click the Recurrence check box and specify the frequency at which to audit the device template configuration against the configuration in the devices.
- Click Finish.
The Audit Template Job Information page is displayed.
- Click OK to close the page.
You are redirected to the Templates page.
To view the results of the job triggered for this auditing, click the job ID on the Audit Template Job Information page. You are redirected to the Job Management page with a filtered view of the job. Double-click the row corresponding to the job to view the detailed status of the job on the Compare Config Job Status page. For devices that are OUTOFSYNC or DOWN, the summary of the job displays a warning message.
To export the report of auditing the template configuration, click the Export button. You are prompted to save the file. Click OK on the File Save page to save the file.
The details of the auditing job, along with the warning message, are listed in the exported report.
After you save the file, to return to the Job Management page, click the [X] icon on the Compare Config Job Status page.
Note:Each audit is performed as a job. It might take some time to finish auditing if a large number of devices was selected for auditing.
The possible statuses for a template audit are:
INSYNC— The configurations in the template and on the device are the same.
OUTOFSYNC— The configuration in the template is different from that on the device.
NOTAVAIL— The configuration in the template is not available on the device. This status is displayed when no audit is performed on a device for a particular template.
You can view these statuses in the Summary column on the Job Management page.