Solved

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

  • 1 April 2023
  • 6 replies
  • 144 views

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.

icon

Best answer by Carsten.Schmidt 5 April 2023, 06:40

View original

6 replies

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.

 

Userlevel 4
Badge +1

Hi @craineri 

have you tried this approach yet?
https://community.netbraintech.com/articles/knowledgebase/How-To-Verifying-Device-Compliance-30-10-2020

Carsten

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

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

Userlevel 4
Badge +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.

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

Reply


Community |  Ideas

Facebook |  Instagram |  Youtube |  Twitter |  LinkedIn
Privacy & Security Statement  |  Terms & Conditions |  Impressum  |  UK Modern Slavery Statement