cml unlock config-datastore
Use this command to release a configuration lock previously obtained with the cml lock config-datastore command.
An unlock operation will not succeed if either of the following conditions is true:
- The specified lock is not currently active.
- The session calling tis command is not the same session that obtained the lock.
Command Syntax
Copy
cml unlock config-datastore (running|startup|candidate)
Parameters
running
Release the lock on the running datastore.
startup
Release the lock on the startup datastore.
candidate
Release the lock on the candidate datastore.
Default
None
Command Mode
Execution mode
Applicability
This command was introduced in OcNOS version 5.1.
Example
Copy
#cml unlock config-datastore running
#
#show users
Current user : (*). Lock acquired by user : (#).
CLI user : [C]. Netconf users : [N].
Location : Applicable to CLI users.
Session : Applicable to NETCONF users.
Line User Idle Location/Session PID TYPE Role
(*) 130 vty 0 [C]ocnos 0d00h00m pts/0 10732 Local network-admin
#