hwConfigLockOperate

HUAWEI-DEVICE-MIB · .1.3.6.1.4.1.2011.6.3.24.6

Object

scalar r/w Enumeration
The operation to lock or unlock config.
Options:
1. lock(1)   -before data configuration, use lock(1) to lock the configuration platform,
              preventing other users from modifying or deleting the configuration data just completed
2. unlock(2) -when the data configuration is complete, use unlock(2) to unlock the configuration platform.
              After that, other users can configure the system data
If a user performs lock(1) and does not perform unlock(2) after data configuration,
the system automatically unlocks after a certain period.
For the interval for automatic unlock, refer to hwConfigUnlockInterval.

Context

MIB
HUAWEI-DEVICE-MIB
OID
.1.3.6.1.4.1.2011.6.3.24.6
Type
scalar
Access
readwrite
Status
current
Parent
hwConfigLock

Scalars have one instance, identified by the .0 suffix.

Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-DEVICE-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-DEVICE-MIB::hwConfigLockOperate.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-DEVICE-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-DEVICE-MIB::hwConfigLockOperate'

Syntax

Enumeration

Values & Constraints

No enumerated values or constraints recorded.