agnClkSrcPort
RAD-Clock-MIB ·
.1.3.6.1.4.1.164.6.2.52.1.1.4
Object
column r/w
Integer32
This object indicates the Port/Interface/Recovered ID # that is
to be used as Clock Source.
In case of agnClkSrcPortSrcIdx = recovered(3):
- When agnClkSrcPortType = adaptive(2) - it indicates the PW number.
- When agnClkSrcPortType = ieee1588v2(3) - it indicates the Peer ID.
When agnClkSrcPortSrcIdx = master(1) or fallback(2),
this list may include both External Ports and Recovered IDs (mixed).
Therefore, in order to know which type of instance is indicated,
agnClkSrcPortSrcType will be used:
- When agnClkSrcPortSrcType = rxClock(3) - this object indicates a Port index.
- When agnClkSrcPortSrcType = recovered(12) - this object indicates a Recovered ID.
The value of 255 mean not-applicable.
Context
- MIB
- RAD-Clock-MIB
- OID
.1.3.6.1.4.1.164.6.2.52.1.1.4- Type
- column
- Access
- readwrite
- 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::agnClkSrcPort'
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::agnClkSrcPort.<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::agnClkSrcPort'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 1-2147483647