How to exclude certain Device Configuration Content from configuration comparisons

Document ID : KB000043218
Last Modified Date : 14/02/2018
Show Technical Document Details

Introduction: 

When we Compare the Startup and Running configurations for any changes, we want to ensure confidential information is not compared and displayed. How can we achieve this in Network Configuration Manager.

 

Question: 

How to exclude Device Configuration Content from configuration comparisons

 

Environment:  

All versions of Spectrum

 

Answer: 

We can use the Device family masks to exclude device Configuration content from configuration comparisons or to hide sensitive information from unauthorized users. You can configure Masks by expanding the Configuration Manager in One click and select any Device Family as per the screenshot below:

configuration Mask.jpg

 

The Comparison Mask is a list of regular expressions that conceal device configuration content during a comparison with a historical configuration. Any line in the device configuration file that matches a regular expression in the Comparison Mask is ignored during comparisons of configuration files.  You can add or remove masks.

 

Additional Information:

The mask setting can be overridden at the local device level. For more information, check the Network Configuration Manager guide for more details on how to configure the Masks.