admin state

This command locks and unlocks the device.

Syntax

Locks the device:
# admin state lock {graceful <timeout>|no-graceful} [disconnect-client-connections]
Unlocks the device:
# admin state unlock

Command

Description

lock graceful <timeout>|forever

Gracefully locks the device after a user-defined interval (seconds), during which new calls are rejected and existing calls continue. If the existing calls do not end on their own accord during the interval, the device terminates (disconnects) them when the timeout expires.

To wait until all calls end on their own before locking the device (no timeout), use the forever option. During this time, no new calls are accepted.

lock no-graceful

Immediately ends (disconnects) all active calls (if any exist) and locks the device.

disconnect-client-connections

Closes existing TLS/TCP client connections and rejects incoming TLS/TCP client connections when the device is in locked state.

unlock

Unlocks the device.

Command Mode

Privileged User

Related Commands

show admin state – displays the current administrative state

Example

This example locks the device after 50 seconds and closes existing TLS/TCP connections:

# admin state lock graceful 50 disconnect-client-connections