gptp0ClockClass
SONOMAMG-MIB ·
.1.3.6.1.4.1.13827.12.4.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
- SONOMAMG-MIB
- OID
.1.3.6.1.4.1.13827.12.4.10- Type
- scalar
- Access
- readonly
- Status
- current
- Parent
- gptp0
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 'SONOMAMG-MIB' -M '/opt/observium/mibs/endrun:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SONOMAMG-MIB::gptp0ClockClass.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'SONOMAMG-MIB' -M '/opt/observium/mibs/endrun:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'SONOMAMG-MIB::gptp0ClockClass'
Syntax
Enumeration
Values & Constraints
Enumerated Values
6 | lockedPTP |
7 | holdoverPTP |
13 | lockedARB |
14 | holdoverARB |
52 | unlockedPTP |
58 | unlockedARB |