Versions Compared

Key

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

NetMRI provides different ways to compare configuration files. You can open 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.

...

When the Comparing Configuration Files window appears, each of the two panels 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 panel.

The Templates option enables the loading of a Config Template from the NetMRI appliance. 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. For more information on developing config templates, see Working with ConfigurationTemplates.

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.

The side-by-side view provides a scroll bar for each configuration file panel. 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.

...

  • To replace one file with another file, click the icon, and 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 a specific text, type the text in the Find field, and then 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 then click the name of the file you want to export.

...