hm2Ptp2V1Compatibility
HM2-TIMESYNC-MIB ·
.1.3.6.1.4.1.248.11.50.1.4.2.2.1.12
Object
column r/w
Enumeration
If set to on all PTPv2 messages will be padded to the length of a PTPv1 frame. This is required by some hardware.
Context
- MIB
- HM2-TIMESYNC-MIB
- OID
.1.3.6.1.4.1.248.11.50.1.4.2.2.1.12- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hm2Ptp2PortEntry
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 'HM2-TIMESYNC-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HM2-TIMESYNC-MIB::hm2Ptp2V1Compatibility'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HM2-TIMESYNC-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HM2-TIMESYNC-MIB::hm2Ptp2V1Compatibility.<ifIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HM2-TIMESYNC-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HM2-TIMESYNC-MIB::hm2Ptp2V1Compatibility'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | on |
2 | off |
3 | auto |