Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

<lock-configuration/>

Usage

Description

Request that the NETCONF or Junos XML protocol server open and lock the candidate configuration. This operation enables the client application to read and change the candidate configuration while preventing 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.

Release Information

This operation 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 Junos devices that identify the URI http://xml.juniper.net/netconf/junos/1.0 in the capabilities exchange.