hwNTPPeerPrecision
HUAWEI-NTP-MIB ·
h3c variant
·
.1.3.6.1.4.1.2011.5.25.22.2.1.1.1.13
Object
column Integer32
This is a signed integer indicating the precision of the peer clock, in seconds to the nearest power of two. The value must be rounded to the next larger power of two; for instance, a 50-Hz (20 ms) or 60-Hz (16.67 ms) power-frequency clock would be assigned the value -5 (31.25 ms), while a 1000-Hz (1 ms) crystal-controlled clock would be assigned the value -9 (1.95 ms).
Context
- MIB
- HUAWEI-NTP-MIB
- OID
.1.3.6.1.4.1.2011.5.25.22.2.1.1.1.13- Type
- column
- Access
- readonly
- Status
- current
- Parent
- hwNTPPeerEntry
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-NTP-MIB' -M '/opt/observium/mibs/h3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-NTP-MIB::hwNTPPeerPrecision'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-NTP-MIB' -M '/opt/observium/mibs/h3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-NTP-MIB::hwNTPPeerPrecision.<hwNTPPeerRemAdr>.<hwNTPPeerHMode>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-NTP-MIB' -M '/opt/observium/mibs/h3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-NTP-MIB::hwNTPPeerPrecision'
Syntax
Integer32
Values & Constraints
Object Constraints
range: -20-20