hmNetPTPClockMode
HMPRIV-MGMT-SNMP-MIB ·
.1.3.6.1.4.1.248.14.2.3.40.1.3
Object
scalar r/w
Enumeration
This members value shall indicate which clock mode is used. The ptp-mode-boundary-clock mode specifies the mode as described in the IEEE1588 standard. In the 'ptp-mode-simple-ptp' mode the device only accepts PTP sync messages, sets the time directly and no BMC algorithm will run. If the clock mode is changed, PTP will be initialized.
Context
- MIB
- HMPRIV-MGMT-SNMP-MIB
- OID
.1.3.6.1.4.1.248.14.2.3.40.1.3- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- hmNetPTPConfiguration
Net-SNMP examples
How SNMP and these commands workScalars 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::hmNetPTPClockMode.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::hmNetPTPClockMode'
Syntax
Enumeration
Values & Constraints
No enumerated values or constraints recorded.