show cml config-datastore lock status

Use this command to display the configuration datastore lock state and its holder. The identifier of the process holding the lock is shown in parenthesis.

Command Syntax

Copy
show cml config-datastore lock status

Parameters

None

Default

None

Command Mode

Privileged execution mode

Applicability

This command was introduced in OcNOS version 6.0.0.

Example

Copy
OcNOS#cml lock config-datastore candidate 
OcNOS#show cml config-datastore lock status
 
 Running datastore is unlocked
 Candidate datastore is locked by client cmlsh(2831)
 Startup datastore is unlocked