06-15-2017 08:22 AM - edited 03-01-2019 03:52 AM
Hi team,
When I check devices check-sync, one of the devices show the following. Please let me know what is “got” and “expected” ? what does that hash code represent?. Thank you.
Solved! Go to Solution.
06-15-2017 09:04 AM
Hi,
in a Netconf device every change to the configuration will generate a new configuration version. So NSO can check if its sync with a netconf device by comparing version numbers.
For a CLI device and this is an IOS device using the IOS CLI NED, NSO has to emulate that functionality in the NED. There are different mechanisms that can be configured in the NED, for example using the last change timestamp, but the default method in the IOS NED is to simply compute a hash of the config, so depending on the NED settings these numbers could be difffernt things, but most probably what you are seeing here is an MD5 hash of the configuration as returned from 'show run' (after stripping out any items from the show run response that change e.g dates).
06-15-2017 09:04 AM
Hi,
in a Netconf device every change to the configuration will generate a new configuration version. So NSO can check if its sync with a netconf device by comparing version numbers.
For a CLI device and this is an IOS device using the IOS CLI NED, NSO has to emulate that functionality in the NED. There are different mechanisms that can be configured in the NED, for example using the last change timestamp, but the default method in the IOS NED is to simply compute a hash of the config, so depending on the NED settings these numbers could be difffernt things, but most probably what you are seeing here is an MD5 hash of the configuration as returned from 'show run' (after stripping out any items from the show run response that change e.g dates).
06-15-2017 12:59 PM
Hi,
You can always run "compare-config" to check the actual differences:
$devices device X compare-config
Roque
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide