agnClkSrcPortTimeState
RAD-Clock-MIB ·
.1.3.6.1.4.1.164.6.2.52.1.1.12
Object
column Enumeration
This object indicates the Time Clock State.
freeRun(1) - Clock recovery is not locked to any clock.
acquisition(2) - Adaptive clock recovery is learning the time.
holdover(3) - Clock recovery is in holdover mode.
notApplicable(4) - Clock recovery is not applicable
lock(5) - Clock recovery is in locking mode.
Context
- MIB
- RAD-Clock-MIB
- OID
.1.3.6.1.4.1.164.6.2.52.1.1.12- Type
- column
- Access
- readonly
- Status
- current
- Parent
- agnClkSrcPortEntry
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 'RAD-Clock-MIB' -M '/opt/observium/mibs/rad:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'RAD-Clock-MIB::agnClkSrcPortTimeState'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'RAD-Clock-MIB' -M '/opt/observium/mibs/rad:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'RAD-Clock-MIB::agnClkSrcPortTimeState.<agnClkSrcPortCnfgIdx>.<agnClkSrcPortSrcIdx>.<agnClkSrcPortIdx>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'RAD-Clock-MIB' -M '/opt/observium/mibs/rad:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'RAD-Clock-MIB::agnClkSrcPortTimeState'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | freeRun |
2 | acquisition |
3 | holdover |
4 | notApplicable |
5 | lock |