Comparing a Device Template Configuration with a Device Configuration
You compare the configuration in a device template with the configuration in a device to view the differences between the configurations. To compare the device template configuration with the device configuration, the configurations must belong to the same device family.
To compare a device template configuration with a device configuration:
- On the Junos Space Network Management Platform user interface,
select Device Templates > Templates.
The Templates page that appears displays all the templates that currently exist in the Junos Space Platform database.
- Select the device template that you want to compare with
and select Compare Template Against Device from the Actions
The Compare Template Against Device page is displayed. You can view the name of the template, current selected version of the template, Junos OS version of the template, and a list of all managed devices that belong to the same device family. The Include All Managed Devices check box is selected by default. Clear this selection to list only those devices that are UP and in INSYNC states.
- (Optional) From the Selected Template Version drop-down list, select the version of the template.
- You can search for devices to compare with manually by
using columns that represent the status of the device, 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 is 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 that you selected are listed on the left of the page.
- Select whether to compare the template configuration against
the configuration in the devices immediately or later:
To compare the template configuration against the configuration in the 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 compare the device template configuration against the device configuration.
- Click Finish.
The Compare Config Job Information page is displayed. To view details of the comparison job, click the job ID. 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 comparison, click Export button. You are prompted to save the file. Click OK on the File Save page to save the file.
The details of the comparison job, along with the warning message, is listed in the exported report.
Click OK to close the page.