ostPtpInstanceCfgClockMode
OMNITRON-PTP-MIB ·
.1.3.6.1.4.1.7342.14.3.1.7
Object
column r/w
Enumeration
This object selects the PTP clock mode for the specific PTP instance.
transparent(1) PTP transparent clock mode
master(2) PTP master clock
slave(3) PTP slave clock
boundary(4) PTP boundary clock
Context
- MIB
- OMNITRON-PTP-MIB
- OID
.1.3.6.1.4.1.7342.14.3.1.7- 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::ostPtpInstanceCfgClockMode'
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::ostPtpInstanceCfgClockMode.<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::ostPtpInstanceCfgClockMode'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | transparent |
2 | master |
3 | slave |
4 | boundary |
Conformance
Member of