ptpbaseClockRunningState
PTPBASE-MIB ·
.1.3.6.1.2.1.241.1.2.4.1.4
Object
column PtpClockStateType
This object specifies the clock state returned by a PTP engine.
Context
- MIB
- PTPBASE-MIB
- OID
.1.3.6.1.2.1.241.1.2.4.1.4- Type
- column
- Access
- readonly
- Status
- current
- Parent
- ptpbaseClockRunningEntry
- Groups
- 1
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 'PTPBASE-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'PTPBASE-MIB::ptpbaseClockRunningState'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'PTPBASE-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'PTPBASE-MIB::ptpbaseClockRunningState.<ptpbaseClockRunningDomainIndex>.<ptpbaseClockRunningClockTypeIndex>.<ptpbaseClockRunningInstanceIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'PTPBASE-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'PTPBASE-MIB::ptpbaseClockRunningState'
Syntax
- Source
- PtpClockStateType
- Base type
Enumeration
Values & Constraints
Type Values
1 | freerun |
2 | holdover |
3 | acquiring |
4 | frequencyLocked |
5 | phaseAligned |
Conformance
Member of