Pathfinder Applications
Note: † Internal applications are hidden from customers and partners. This is visible to you because you have logged into HPEs internal network.
Navigation
Table of Contents
Guide That Contains This Content
[+] Expand All
[-] Collapse All
Rolling Back a Configuration Using NETCONF
In a NETCONF session with a device running Junos OS, you 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.
<rpc>
<discard-changes/>
</rpc>
]]>]]>
After you issue the </discard-changes> tag, the NETCONF server indicates that it successfully discarded the changes by returning the <ok/> tag.