hmNetPTPSlavePort

HMPRIV-MGMT-SNMP-MIB · .1.3.6.1.4.1.248.14.2.3.40.1.4

Object

scalar r/w SNMPv2-SMIInteger32
This members value shall indicate the slave port where this clock is synchronized 
in the ptp-mode-static-boundary-clock mode.
The default value is 0 (i.e. clock is grandmaster).

Context

MIB
HMPRIV-MGMT-SNMP-MIB
OID
.1.3.6.1.4.1.248.14.2.3.40.1.4
Type
scalar
Access
readwrite
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::hmNetPTPSlavePort.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::hmNetPTPSlavePort'

Syntax

Source
SNMPv2-SMIInteger32
Base type
Integer32

Values & Constraints

Type Constraints
range: -2147483648..2147483647