Changing the Order of the Configuration File Associations

When Junos Scope receives a request from a device, it starts comparing the device attributes with the criteria from the first configuration association in the list to the last configuration association, that is, the comparison is done from top to bottom. By reordering the list of configuration file associations, you can change the order in which the criteria are checked.

Note: The default configuration association is not displayed in the Reorder Config Associations page. The default configuration association is always the last configuration association listed in the server and this position cannot be changed. This is because Junos Scope returns the default configuration file only if the device attributes does not match the criteria specified in any of the configuration associations. Because the comparison is done from top to bottom, the default configuration file is always last on the list.

To change the order of the configuration file associations, follow these steps:

  1. In the Junos Scope main window, click Configuration > Repository > Config Associations > Reorder Config Associations. The Reorder Config Associations page is displayed. This page contains the list of the configuration associations and enables you to change the order of the configuration file associations.

    Figure 8: Reorder Config Associations page

    Image s001439.gif
  2. Click the configuration association you want to move. The selected association will be highlighted in grey. The entire row gets highlighted in blue whenever you move the mouse over any part of the row.
  3. To move the selected row, click one of these buttons:
    • Move Up — Moves the selected row to one row above its current position.
    • Move Down — Moves the selected row to one row below its current position.
    • Move First — Moves the selected row to the top of the list of configuration associations.
    • Move Last — Moves the selected row to the bottom of the list of configuration associations.
  4. Click Save to save the order of the configuration associations. After saving the order, the List of Configuration Associations page is displayed.
    Click Reset to restore the original order of configuration associations.
    Click Cancel to go back to the List of Configuration Associations page without saving the changes to the order of configuration associations.

Note: You can archive configurations for a device in Junos Scope using the Archive feature. (See Archiving and Manipulating Device Configurations) Every modification to the configuration file is saved as a new version and is archived in the server.

Select the Return Latest Archived Config checkbox if you want Junos Scope to return the latest configuration file that was archived in the server for that device. This option is selected by default. When the device sends a request, Junos Scope returns the latest configuration file that is archived in the server for that device. If Junos Scope doesn’t have a configuration file archived for that device, then it starts comparing the device attributes with the criteria.

If the Return Latest Archived Config checkbox is not selected, Junos Scope will directly start its comparison of the device attributes with the criteria in the configuration associations.