[Contents] [Prev] [Next] [Index] [Report an Error]

Comparing Archives

To compare revisions of archived configuration files, follow these steps:

  1. In the JUNOScope main window, click Configuration > Repository > Compare. The Compare—Select Options dialog box appears.Image g015564.gif
  2. Do one of the following:
  3. In the Device drop-down list box, select a device for which you want to compare two configuration files.
  4. Click Next. The Compare—Select configurations dialog box appears with the available configuration files listed by the date on which they were stored in the CVS repository, and a revision level.

    Configuration file revisions are displayed in the Compare Archived Configurations dialog box when you have archived or imported a configuration file. There must be at least two configuration file revisions to compare. If no archived configuration revisions are displayed, you have not archived a configuration file yet.

    To archive a configuration file, see Archiving and Manipulating Device Configurations. To import a configuration file, see Importing and Deleting Configuration Files.

  5. Select the check boxes for the two configuration file revisions to compare.
  6. To compare the older file version to the new version, click the Swap revisions (Compare older revision to newer) check box.

    By default, the JUNOScope software compares the newer revision of a configuration file to the older revision.

  7. Select the compare output format—Colored Diff or Unidiff.

    For more information about Colored Diff, see Colored Diff Compare Output Type. For more information about Unidiff, see Unidiff Output Compare Type.

  8. Click Finish. The configuration file difference(s) display in the View Differences dialog box.

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 compare-coloureddiff.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 Compare Output Type drop-down list box.

Click OK to return to the Compare—Select Configurations dialog box.

Unidiff Output Compare Type

Image compare-unidiff.gif

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

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 Compare Output Type drop-down list box.

Click OK to return to the Compare—Select Configurations dialog box.

 


[Contents] [Prev] [Next] [Index] [Report an Error]