Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

View the Configuration Revision Identifier for Determining Synchronization Status of Devices with NMS

The configuration revision identifier (CRI) is a unique string that is associated with a committed configuration. Network management system (NMS) applications, such as Junos Space, can use the CRI to detect if other systems made out-of-band (OOB) configuration changes to the network device. Out-of-band configuration changes are configuration changes made to a device outside of the NMS. For example, you can perform configuration changes on a device using the CLI, the J-Web interface, or the Junos Space Network Management Platform configuration editor.

The NMS application can cache the CRI for a given commit. At a later date, the NMS can compare the cached value to the CRI of the current configuration on the network device. By comparing the values for differences, the NMS can detect if other systems made OOB configuration changes to the device. Monitoring the CRI might not be necessary if the NMS application is the only utility that modifies the device configuration. However, in a real-world network deployment, OOB configuration commits might occur on a device, such as during a maintenance window for support operations. In such cases, the NMS application might not detect these OOB commits.

After a successful commit, the <commit-results> tag includes a <commit-revision-information> tag. The <commit-revision-information> tag includes the previous revision number and updated revision number. The NMS application can store this revision number locally. At a later time, the NMS application can retrieve the latest revision number from the network device and compare it against the revision number stored locally to validate whether it is out-of-sync with the device.

The following example RPC reply includes the <commit-revision-information> tag containing the commit revision details:

The configuration revision identifier is a string, which has the following format:

The NMS application considers the CRI as an entire string and does not parse individual substrings of this identifier. The Routing Engine name is different from the user-configured hostname of the device. The Routing Engine name identifies the source of the configuration change. Different platforms use different Routing Engine names. The revision number's timestamp uses the Unix epoch format (also known as Unix time or POSIX time). The counter index increments by one for every commit operation on the device.

Starting in Junos OS Release 20.4R1 and Junos OS Evolved Release 20.4R1, an application can also use the CRI associated with a committed configuration to:

  • View the configuration.

  • Compare two configurations.

  • Revert to the configuration.

  • Retrieve the current rollback index associated with that configuration.