Auditing Partial Configurations

A Junos Scope user can audit a part of the configuration running on a router. A user can find differences between a part of the running configuration file and a baseline partial configuration.

Note: This feature is not supported on BXOS devices.

To audit partial configurations, follow these steps:

  1. Click Configuration > Repository > Audit > Audit Partial Configurations. The Select Partial Configuration Dialog Box appears.
    Image s001139.gif
  2. Select the imported configuration file (baseline partial configuration) that you want to compare with a running partial configuration from the Imported Configuration Files drop-down list box.

    Note: The baseline partial configurations that are imported to the Junos Scope server must have their entire context.

  3. Select the imported configuration file revision you want to compare with a running partial configuration by selecting the option button in the corresponding row in the Imported Config Versions table.
  4. Click Next. The Select Devices and Time dialog box appears.
    Image s001140.gif
  5. Select the Group or Select Device(s) option button.

    Note: BXOS devices are not listed in the list of devices as auditing partial configuration is not supported on BXOS devices. However, you can choose a device group that contains BXOS devices among other devices. In such cases, Junos Scope carries out the partial configuration audit for devices other than the BXOS devices, and returns an Unsupported Operation message for the BXOS devices.

  6. Select the group or devices that you want from the Group or Select Device(s) list box. Shift+click to select multiple devices from the Select Device(s) list.
  7. In the Comment text box, type an optional descriptive comment about the audit that you want to perform.
  8. Select the time you want the audit to occur by clicking the appropriate option button:
    • Now—(Default) Performs an audit immediately after you confirm it.
    • Save Operation as—Select to save the audit operation to run at a later time. Click Save Operation as, then type an operation name in the text box.
    • Select Schedule—Performs an audit at the scheduled time interval. Click Select Schedule and select the option button for the schedule you want.
  9. Click Next. The Confirm Selections dialog box appears.
    Image s001141.gif
  10. Confirm that the selections you made are correct and click Finish to audit the configurations. Click Previous to return to the Select Devices and Time dialog box and change your selection.
    • If you selected to perform the audit operation now, auditing occurs immediately and the View Status Records dialog box appears.
      Image s001489.gif

      Note: If you have selected a device group that contains BXOS devices, Junos Scope displays an “Unsupported Operation” message for such devices.

    • If you selected to save the audit operation, you return to the Configuration > Repository > Audit menu. To view the saved operation, click Settings > Saved Operations.
    • If you selected a schedule, you return to the Configuration > Repository > Audit menu and auditing occurs when the operation is scheduled to be run.
  11. Click the “Click to view the audit result” link in the Message column to view differences between a part of the running configuration file and a baseline partial configuration.
  12. Select the compare output format—Colored Diff or Unidiff.
    • Colored Diff Compare Output Type

      If you selected the Colored Diff compare output option to view differences between two configurations in color, the following compare output appears.

      Image s001143.gif

      The Colored Diff highlights lines in the configuration file content that have been removed in the older version, or changed or added in the newer version.

      You can change the compare output type by selecting Unidiff in the View Type drop-down list box.

    • UniDiff Compare Output Type

      If you selected the Unidiff compare output option, the following compare output appears.

      Image s001144.gif

      A minus sign (-) represents a difference in one revision of the configuration file; a plus sign (+) represents a difference in the other.

      You can change the compare output type by selecting Colored Diff in the View Type drop-down list box.