ptpClockAccuracy

FIBERSTORE-MIB · .1.3.6.1.4.1.52642.1.85.1.31

Object

scalar r/w Enumeration
The clock accuracy characterizes a clock for the purpose of the best master clock(BMC) algorithm.
Value:
0x20(32): The time is accurate to within 25 ns.
0x21(33): The time is accurate to within 100 ns.
0x22(34): The time is accurate to within 250 ns
0x23(35): The time is accurate to within 1 us.
0x24(36): The time is accurate to within 2.5 us.
0x25(37): The time is accurate to within 10 us.
0x26(38): The time is accurate to within 25 us.
0x27(39): The time is accurate to within 100 us.
0x28(40): The time is accurate to within 250 us.
0x29(41): The time is accurate to within 1 ms.
0x2a(42): The time is accurate to within 2.5 ms.
0x2b(43): The time is accurate to within 10 ms.
0x2c(44): The time is accurate to within 25 ms.
0x2d(45): The time is accurate to within 100 ms.
0x2e(46): The time is accurate to within 250 ms.
0x2f(47): The time is accurate to within 1 s.
0x30(48): The time is accurate to within 10 s.
0x31(49): The time is accurate to > 10 s.
0xfe(254): The time is accurate to unknown.

Context

MIB
FIBERSTORE-MIB
OID
.1.3.6.1.4.1.52642.1.85.1.31
Type
scalar
Access
readwrite
Status
current
Default
accuracy0xfe
Parent
ptpGlobalInfo

Scalars have one instance, identified by the .0 suffix.

Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'FIBERSTORE-MIB' -M '/opt/observium/mibs/fscom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'FIBERSTORE-MIB::ptpClockAccuracy.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'FIBERSTORE-MIB' -M '/opt/observium/mibs/fscom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'FIBERSTORE-MIB::ptpClockAccuracy'

Syntax

Enumeration

Values & Constraints

Enumerated Values
32accuracy0x20
33accuracy0x21
34accuracy0x22
35accuracy0x23
36accuracy0x24
37accuracy0x25
38accuracy0x26
39accuracy0x27
40accuracy0x28
41accuracy0x29
42accuracy0x2a
43accuracy0x2b
44accuracy0x2c
45accuracy0x2d
46accuracy0x2e
47accuracy0x2f
48accuracy0x30
49accuracy0x31
254accuracy0xfe