gptp1ClockClass
SONOMA-MIB ·
.1.3.6.1.4.1.13827.12.5.10
Object
scalar Enumeration
This value maps to the PTP Clock Class, one of Locked, Holdover or Unlocked on either the PTP or arbitrary, i.e. UTC time scale.
Context
- MIB
- SONOMA-MIB
- OID
.1.3.6.1.4.1.13827.12.5.10- Type
- scalar
- Access
- readonly
- Status
- current
- Parent
- gptp1
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 'SONOMA-MIB' -M '/opt/observium/mibs/endrun:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SONOMA-MIB::gptp1ClockClass.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'SONOMA-MIB' -M '/opt/observium/mibs/endrun:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'SONOMA-MIB::gptp1ClockClass'
Syntax
Enumeration
Values & Constraints
Enumerated Values
6 | lockedPTP |
7 | holdoverPTP |
13 | lockedARB |
14 | holdoverARB |
52 | unlockedPTP |
58 | unlockedARB |