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.
...
- Navigate to Config Management –> > Config Archive.
- Select a Device Group, and then select a device in the table beneath. The right panel of the Archive page displays the library of configuration files discovered in the device.
- Select two files by enabling their check boxes.
- Click the Compare button. A Comparing Configuration Files window appears, listing the chosen configuration files side-by-side.
...
- Navigate to Config Management –> > Config Archive.
- Choose a Device Group, and then choose a device in the table beneath. The right panel of the Archive page displays the library of configuration files discovered in the device.
- Click the Compare Second Device button. The Config Archive page splits horizontally to show a second Device Group drop-down, device table, and Config Archive panel.
- In the second Device Group dropdown, choose the group and choose the device. Then, on the right-hand panel, select the checkbox for the config file. For example, compare the Current Running config files for each chosen device.
- Click the Compare button. A Comparing Configuration Files window appears, listing the chosen configuration files side-by-side.
...
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, perform the following:
- Navigate to Device Viewer –> > Configuration Management –> > Config Explorer for a particular device. In the table, select two files by enabling their check boxes.
- Click the Compare button. The Comparing Configuration Files window opens, where you can compare the files.
...
- 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.
...