Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

<lock-configuration/>

 

Usage

Release Information

This is a Junos XML management protocol operation. It is supported in Junos XML protocol sessions, and it is supported as a Juniper Networks proprietary extension in NETCONF sessions on devices running Junos OS that identify the URI http://xml.juniper.net/netconf/junos/1.0 in the capabilities exchange.

Description

Request that the NETCONF or Junos XML protocol server open and lock the candidate configuration, enabling the client application both to read and change it, but preventing any other users or applications from changing it. The application must emit the <unlock-configuration/> tag to unlock the configuration.

If the Junos XML protocol session ends or the application emits the <unlock-configuration/> tag before the candidate configuration is committed, all changes made to the candidate are discarded.