Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


Verifying the Checksum of Scripts on Devices

When you stage a script on a device using Junos Space Network Management Platform, it is possible that the script might not be completely transferred to the device. Verifying the checksum helps validate that the script has been staged properly. Junos Space Platform enables you to verify the checksum of multiple scripts that are staged on the devices.

When you verify scripts that have multiple versions, the latest versions of selected scripts are verified with the versions of the scripts that are available on the device. If the version of the script present on the device does not match the version that it is compared with, Junos Space Platform displays an error message.

To verify the checksum of a script:

  1. On the Junos Space Platform UI, select Images and Scripts > Scripts.

    The Scripts page displays the scripts that you imported into Junos Space Platform.

  2. Select the script or scripts whose checksum you want to verify.

  3. From the Actions menu, select Verify Scripts on Devices.

    The Verify Checksum of Scripts on Device(s) dialog box appears.

  4. Select the devices that have the script staged on them, by using one of the following selection modes—manually, on the basis of tags, or by using the comma-separated values (CSV) file. These options are mutually exclusive. If you select one, the others are disabled.


    By default, the Select by Device option is selected and the list of devices that can be selected is displayed.

    • To select devices manually:

      • Click the Select by Device option and select the devices that have the script staged on them. The Select Devices status bar shows the total number of devices that you selected; the status bar is dynamically updated as you select the devices.

      • To select all the devices, select the check box in the column header next to Host Name.

    • To select devices on the basis of tags:

      1. Click the Select by Tags option. The Select by tags list is activated.

      2. Click the arrow on the Select by Tags list. A list of tags defined on devices in the Junos Space system appears, displaying two categories of tags—Public and Private.

      3. To select tags, perform one of the following actions :

        • Select the check boxes next to the tag names to select the desired tags and click OK.

        • To search for a specific tag, enter the first few letters of the tag name in the Select by Tags field to the left of the OK button. If a match is found, a suggestion is made. Select the suggested match and click OK.

        As you select the tags, the total number of devices associated with the selected tags appears just above the device display table. For example, if there are six devices associated with the selected tags, then 6 items selected is displayed.

        The selected tags appear next to the Tags Selected label. An [X] icon appears after each tag name. You can click the [X] icon to clear any tag from the list. The device count decrements accordingly.

        The device display table displays the devices associated with the selected tags.

    • To select devices by using a CSV file:

      1. Select the Select by CSV option.

      2. Click Browse to navigate to the file location on your computer and select the CSV file containing the list of devices on which you want to verify the script.


        For a sample CSV file, click the Sample CSV link. You are prompted to save the file. Save the file to your computer and open it by using an application such as Microsoft Excel.

      3. Click Upload to upload the CSV file.

        From Release 16.1R2 onward, when you upload a CSV file to select devices from, Junos Space Platform verifies the devices in the CSV file. If the CSV file contains devices to which the changes do not apply, a warning message appears which says "Few devices are not selected due to precondition failure. Please click "View inapplicable devices" for more details.” You can click the View inapplicable devices link to review the list of devices that are excluded from the update.

  5. (Optional) To schedule a time for verification, select the Schedule at a later time check box and use the calendar icon and drop-down list respectively to specify the date and time when you want the script to be verified.

  6. Click Verify Checksum.

    The Verify Scripts Information dialog box appears displaying the message that the verification of the script is successfully scheduled and a job ID link.

  7. Perform one of the following actions:

    • Click the job ID link to view the status of the verification operation on the Job Management page.

    • Click OK to return to the Scripts page.

For more information about viewing the checksum verification results, see Viewing Verification Results.