hmNetPTPEpochNumber

HMPRIV-MGMT-SNMP-MIB · .1.3.6.1.4.1.248.14.2.3.40.1.26

Object

The PTP epoch began at 0 hours on 1 January 1970. Times measured
since this epoch are designated in this standard as PTP Seconds.
When the epoch is the PTP epoch, the value of the epoch number
shall be the current number of times the 32-bit seconds clock
has rolled over since the PTP epoch.

Context

MIB
HMPRIV-MGMT-SNMP-MIB
OID
.1.3.6.1.4.1.248.14.2.3.40.1.26
Type
scalar
Access
readonly
Status
current
Parent
hmNetPTPConfiguration

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

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

Syntax

Source
SNMPv2-SMIInteger32
Base type
Integer32

Values & Constraints

Object Constraints
range: -1-4042
Type Constraints
range: -2147483648..2147483647