raisecomPtpTimeProTimeSource
RAISECOM-PTP-MIB ·
.1.3.6.1.4.1.8886.1.26.5.6
Object
scalar r/w
Integer32
Indicates the administrative time source of the system clock, reference Table-7 in PTP v2 Protocol. atomic clock(0x10) gps(0x20) terrestrial radio(0x30) ptp(0x40) ntp(0x50) handset(0x60) internal oscillator(0xa0)
Context
- MIB
- RAISECOM-PTP-MIB
- OID
.1.3.6.1.4.1.8886.1.26.5.6- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- raisecomPtpTimeProperty
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 'RAISECOM-PTP-MIB' -M '/opt/observium/mibs/raisecom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'RAISECOM-PTP-MIB::raisecomPtpTimeProTimeSource.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'RAISECOM-PTP-MIB' -M '/opt/observium/mibs/raisecom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'RAISECOM-PTP-MIB::raisecomPtpTimeProTimeSource'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 0-255