hh3cNTPPeerRefTime
HH3C-NTP-MIB ·
.1.3.6.1.4.1.25506.8.22.2.1.1.1.17
Object
column OctetString
This is the local time at the peer, in timestamp format, when the local clock was last updated. If the local clock has never been synchronized, the value is zero.
Context
- MIB
- HH3C-NTP-MIB
- OID
.1.3.6.1.4.1.25506.8.22.2.1.1.1.17- Type
- column
- Access
- readonly
- Status
- current
- Parent
- hh3cNTPPeerEntry
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 'HH3C-NTP-MIB' -M '/opt/observium/mibs/hh3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HH3C-NTP-MIB::hh3cNTPPeerRefTime'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HH3C-NTP-MIB' -M '/opt/observium/mibs/hh3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HH3C-NTP-MIB::hh3cNTPPeerRefTime.<hh3cNTPPeerRemAdr>.<hh3cNTPPeerHMode>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HH3C-NTP-MIB' -M '/opt/observium/mibs/hh3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HH3C-NTP-MIB::hh3cNTPPeerRefTime'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 1-128