Quantcast
Channel: THWACK: Message List - Network Configuration Manager
Viewing all articles
Browse latest Browse all 8827

Ignoring lines When Comparing files in NCM

$
0
0

Question on ignoring lines when comparing files in NCM.  I have read through several documents and the NCM admin guide and thought I had this understood but apparently I am way off.  I am trying to ignore lines in a Cisco switch configs simply because it is not necessary to evaluate them.  As an example I want to ignore these 2 lines...

 

! Last configuration change

! NVRAM config last

 

I found 2 rules int the NCM Compare Criteria that were not enabled that should do the trick.  These rules were not enabled so I enabled them.  Then when comparing 2 files I see the line that I do not want to compare are still being compared...

 

The criteria I see on these 2 rules is  ^ ! Last    The way I understand that is the  ^ means start at the beginning of the line and it should match ! Last plus anything that follows until the end of the line.  I have tried adding  .*  or even just a  *  but the lines is still not ignored...

 

any help on what I am not understanding would be appreciated or where to find some additional documentation.


Viewing all articles
Browse latest Browse all 8827

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>