hwOntObjectClkLockState
HUAWEI-CLK-MIB ·
.1.3.6.1.4.1.2011.6.25.2.3.1.5
Object
column Enumeration
Clock lock state. Options: 1.locked(1) - indicates that the clock is locked. 2.unlocked(2) - indicates that the clock is unlocked. 3.invalid(-1) - indicates that it is not be queried.
Context
- MIB
- HUAWEI-CLK-MIB
- OID
.1.3.6.1.4.1.2011.6.25.2.3.1.5- Type
- column
- Access
- readonly
- Status
- current
- Parent
- hwOntClkGlobalInfoEntry
Net-SNMP examples
How SNMP and these commands workWalk the column to discover its indexed instances, or supply every index to read one instance.
Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'HUAWEI-CLK-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-CLK-MIB::hwOntObjectClkLockState'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-CLK-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-CLK-MIB::hwOntObjectClkLockState.<ifIndex>.<hwOntClkObjectIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-CLK-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-CLK-MIB::hwOntObjectClkLockState'
Syntax
Enumeration
Values & Constraints
Enumerated Values
-1 | invalid |
1 | locked |
2 | unlocked |