ostPtpInstanceCfgClockType
OMNITRON-PTP-MIB ·
.1.3.6.1.4.1.7342.14.3.1.8
Object
column r/w
Enumeration
This object selects the PTP clock type for the specific PTP instance.
typ1Step(1) One step clock type
typ2Step(2) Two step clock type
Context
- MIB
- OMNITRON-PTP-MIB
- OID
.1.3.6.1.4.1.7342.14.3.1.8- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- ostPtpInstanceCfgEntry
- Groups
- 1
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 'OMNITRON-PTP-MIB' -M '/opt/observium/mibs/omnitron:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'OMNITRON-PTP-MIB::ostPtpInstanceCfgClockType'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'OMNITRON-PTP-MIB' -M '/opt/observium/mibs/omnitron:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'OMNITRON-PTP-MIB::ostPtpInstanceCfgClockType.<ostPtpInstanceCfgIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'OMNITRON-PTP-MIB' -M '/opt/observium/mibs/omnitron:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'OMNITRON-PTP-MIB::ostPtpInstanceCfgClockType'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | typ1Step |
2 | typ2Step |
Conformance
Member of