ptpClockState
SIAE-PTP-MIB ·
.1.3.6.1.4.1.3373.1103.100.3.1.1.3
Object
column ClockStateType
This object shows the current state of the PTP Clock State Machine
Context
- MIB
- SIAE-PTP-MIB
- OID
.1.3.6.1.4.1.3373.1103.100.3.1.1.3- Type
- column
- Access
- readonly
- Status
- current
- Parent
- ptpSpecificDataSetEntry
Net-SNMP examples
How SNMP and these commands workWalk the column to discover its indexed instances, or supply every index to read one instance.
Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'SIAE-PTP-MIB' -M '/opt/observium/mibs/siaemic:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SIAE-PTP-MIB::ptpClockState'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'SIAE-PTP-MIB' -M '/opt/observium/mibs/siaemic:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SIAE-PTP-MIB::ptpClockState.<ptpClockDomainIndex>.<ptpClockTypeIndex>.<ptpClockInstanceIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'SIAE-PTP-MIB' -M '/opt/observium/mibs/siaemic:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'SIAE-PTP-MIB::ptpClockState'
Syntax
- Source
- ClockStateType
- Base type
Enumeration
Values & Constraints
Type Values
1 | freerun |
2 | acquiring |
3 | locked |
4 | holdoverInSpec |
5 | holdoverOutOfSpec |