raisecomPtpClockMode
RAISECOM-PTP-MIB ·
.1.3.6.1.4.1.8886.1.26.1.2
Object
scalar r/w
Enumeration
This object indicates the device clock mode. The default mode is disable which means that the device pass through PTP packet with nothing to do.
Context
- MIB
- RAISECOM-PTP-MIB
- OID
.1.3.6.1.4.1.8886.1.26.1.2- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- raisecomPtpGlobal
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::raisecomPtpClockMode.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::raisecomPtpClockMode'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | ordinary |
2 | boundary |
3 | e2e-transparent |
4 | p2p-transparent |