Submit a ticketCall us

Webinar: Web Help Desk for HR, Facilities and Accounting Departments
This webinar will focus on use cases for HR, Facilities and Accounting.

Having a unified ticketing and asset management system for all the departments in your company can provide end-users with a seamless experience and make things easier for your IT team. Yet, with different business tasks and objectives, many departments don’t fully understand the capabilities of Web Help Desk and how the software can be customized for effective use in their departments.
Register Now.

Home > Success Center > Network Configuration Manager (NCM) > Running and Startup config comparisons show a difference where there are none

Running and Startup config comparisons show a difference where there are none

Updated March 11th, 2016

Overview

Startup and running configuration comparisons show there is a difference, but there should not be any. The process is not ignoring hexadecimal data even after enabling 'Ignoring hex data' criteria in NCM Settings > Comparison Criteria. 

Environment

All NCM versions

Cause

The startup config for Cisco devices do not display the hex data but the running config will

Standard hex keys are in blocks of 8 per line:

^[ \t\r\n\v\f]*[A-Fa-f0-9][A-Fa-f0-9][A-Fa-f0-9][A-Fa-f0-9][A-Fa-f0-9][A-Fa-f0-9][A-Fa-f0-9][A-Fa-f0-9]

Config file comparisons may not ignore the hex data, if you use shorter blocks, like the sample given below:

^[ \t\r\n\v\f]*[A-Fa-f0-9][A-Fa-f0-9][A-Fa-f0-9][A-Fa-f0-9][A-Fa-f0-9]

the word quit at the end of the Hex data is not at the beginning of the line in the config. It can be random on the line but generally close.

Resolution

If your hex keys are not in blocks of 8, you need to modify the 'Ignore quit word line' criteria: 

from: ^[ \t\r\n\v\f]*quit[ \t\r\n\v\f]*

to: [ \t\r\n\v\f]*quit[ \t\r\n\v\f]*

  1. Log into the Orion Webconsole 
  2. Click Settings > NCM Settings > Comparison Criteria 
  3. Select 'Ignoring quit word line' and click 'Edit'.
  4. Edit RegEx pattern screen appears as shown in the sample screen below: 
    • kb 5319.jpg
  5. Edit the RegEx pattern as highlighted in the above screen and click 'OK'. 
  6. Verify by comparing two configs being displayed as different previously.
  7. If the above comparison is corrected, Download a new set of configs to NCM regardless if a change is detected or not.  This will update the charts on the web page.  They will not be automatically reconciled by simply correcting the Comparison Criteria



 
 

Last modified
09:28, 23 Aug 2017

Tags

Classifications

Public