Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

NetMRI provides different ways to compare configuration files: opening the device's config files from within the Config Management –> Config Archive page, or directly from the Device Viewer. We describe both methods in this section.

Anchor
Using the Configuration Manager to Compa
Using the Configuration Manager to Compa
Anchor
bookmark548
bookmark548
Using the Configuration Manager to Compare Config Files

...

Note: See the Using the Config Explorer topic for related information about using the Device Viewer to compare config files in a device.

...

The Device Viewer also offers its own Config Explorer page (Device Viewer –> Configuration Management –> Config Explorer) which allows comparison of any stored revisions of a single device's running or archived configuration files.
To compare two configuration files in the Device Viewer, do the following:

...

When the Comparing Configuration Files window appears, each of the two panes provides a drop-down config file menu. The menu allows you to load any other configuration file from the chosen networked system, from all four categories: Running, Saved, Baseline or Templates. Each of the menu options provides a submenu that lists each of the configuration files, based on their respective category. The Saved option, for example, shows all Current Saved and Archived Saved configuration files present in the device. Choosing one of these loads that file into the current pane.
The Templates option enables loading of a Config Template from the NetMRI appliance (see Working with Configuration Templates for information on developing config templates). This can help yo

Anchor
bookmark551
bookmark551
u determine if and how a given configuration on a device deviates from the mandated template for the organization.
By default, config files are shown side-by-side in the Comparing Configuration Files window. You can change the appearance of the current window by using the View menu. Display configuration files in Side-by-Side, Inline or Over/Under.
While many users will likely stay with the default, inline is a useful option that directly matches the changes per line against the same line for both configuration files. The top line for each change comparison is from the left-side config while the lower line is from the right-side config.
Side-by-Side view provides a scroll bar for each configuration file pane. You can display the entire file, or Changes Only which shows only the changes to each file in the Viewer. You can choose the number of surrounding lines of file text for the changes in each file.
Finally, choosing Swap Files switches the two files' visual position in the window.

Difference Highlighting and File Exporting

...

Gray shows where unchanged lines have been removed from the files to shorten them for easier viewing.
Actions in the Comparing Configuration Files window consist of Exporting either of the open files. Choosing this option uses the standard Web browser to save the text file into the default download directory on the local machine.

  • To replace one file with another file: Click the icon, then select the new file in the drop-down list. (The current file is indicated by a dot to the left of its name.)
  • To find specific text: Type the text in the Find field and press Enter. Bold highlighting is applied to instances of the search string in both files.
  • To change file orientation: choose View –> Side-by-Side, Inline or Over/Under.
  • To switch between viewing changes only and entire files: choose View –> Entire file or Changes Only.
  • To change the number of lines visible around changes: choose View –> Number of lines to show around changes.
  • To swap file locations within the window: choose View –> Swap Files.
  • To export a configuration file: Open the Action menu and click the name of the file you want to export.