Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

Rolling Back Uncommitted Changes in the Candidate Configuration Using NETCONF

 

In a NETCONF session with a device running Junos OS, the client application can roll back the candidate configuration to the current running configuration, which removes any uncommitted changes from the candidate configuration. This operation is equivalent to the CLI configuration mode rollback 0 command.

To roll back the candidate configuration to the current running configuration, enclose the <discard-changes> tag within the <rpc> element.

After you issue the </discard-changes> tag, the NETCONF server indicates that it successfully discarded the changes by returning the <ok/> tag.