Skip to main content
Solved

How do I validate configurations in our environment to ensure consistency.


craineri

Can anyone advise if there is a way to validate a base configuration to other like devices to ensure compliance and our standards are being followed.

For example, I have a device or model that I would like to ensure all other devices are identical such as

  • Logging
  • AAA/TACACS
  • ACL’s
  • NTP

My approach, which doesn’t seem to be working was Create a Parser to capture Configuration for text fields that I would like to ensure are consistent. Create a NI for prior fields that need to match. Created a specific test group for selected devices.

However, when I run the NI, it only compares the fields that I selected to the previous baseline for the device, not the device I want it to model.

Any advise or direction appreciated. Thanks.

Best answer by Carsten.Schmidt

take a look at the bottom of the article, it refers to a Python code change due to the switch from v2 to v3.

View original

craineri
  • Frequent Participant
  • April 1, 2023

Maybe this will help?

As advised I’d like to compare other like devices in our organization to a Golden/Base Configuration, but when I setup NI, it is only comparing it’s configuration to a previous baseline. I want to compare a device against this Golden/Base Configuration to ensure that all devices in our environment are consistent.

 


Forum|alt.badge.img+1

craineri
  • Frequent Participant
  • April 4, 2023

Thank you for the response, I’m going to try this approach and will let you know if it works :) 


craineri
  • Frequent Participant
  • April 4, 2023

Getting errors and doesn’t appear to be working. Will keep researching.


Forum|alt.badge.img+1

take a look at the bottom of the article, it refers to a Python code change due to the switch from v2 to v3.


craineri
  • Frequent Participant
  • April 5, 2023

This resolved my issues and exactly what I was looking for, Thank you.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings