hwOntObjectPtpLockState

HUAWEI-CLK-MIB · .1.3.6.1.4.1.2011.6.25.2.3.1.8

Object

column Enumeration
PTP lock state.
Options:
1.locked(1)   - indicates that the PTP is locked.
2.unlocked(2) - indicates that the PTP 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.8
Type
column
Access
readonly
Status
current
Parent
hwOntClkGlobalInfoEntry

Walk 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::hwOntObjectPtpLockState'
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::hwOntObjectPtpLockState.<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::hwOntObjectPtpLockState'

Syntax

Enumeration

Values & Constraints

Enumerated Values
-1invalid
1locked
2unlocked