<lock-configuration/>

Usage

<rpc>
<lock-configuration/>
</rpc>

Description

Request that the 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.

Usage Guidelines

See Locking the Candidate Configuration.

Related Topics