tnPtpClockRealtimeTimeOffset1
TROPIC-PTP-MIB ·
.1.3.6.1.4.1.7483.2.2.4.9.1.2.7.1.3
Object
column OctetString
The PTP Clock Realtime Time Offset part 1.
Every Time Offset value is an Integer32(4-byte).
The maximum size of
tnPtpClockRealtimeTimeOffset1,
tnPtpClockRealtimeTimeOffset2, and
tnPtpClockRealtimeTimeOffset3 is 1200-byte,
which is 300 Time Offset values.
The number of Time Offset is decided by
Duration(tnPtpClockRealtimeTimeOffsetDuration) and
Interval(tnPtpClockRealtimeTimeOffsetInterval).
For example:
Duration = 12(minutes), equals to 720 seconds;
Interval = 2(seconds).
Then the number of Time Offset = Duration / Interval
= 720 / 2 = 360
There will be totally 360 Time Offset values in
tnPtpClockRealtimeTimeOffset1,
tnPtpClockRealtimeTimeOffset2, and
tnPtpClockRealtimeTimeOffset3.
tnPtpClockRealtimeTimeOffset1 contains
the Time Offset value 1 to 300, size will be
300*4=1200 bytes, 300 Integer32 values.
tnPtpClockRealtimeTimeOffset2 contains
the Time Offset value 301 to 360, size will be
60*4=240 bytes, 60 Integer32 values.
tnPtpClockRealtimeTimeOffset3 contains
NO Time Offset values, size will be 0 empty.
The range of the Time Offset value is
0x80000001(-2147483647) to 0x7FFFFFFF(2147483647).
Special Time Offset value 0x80000000 represents
that the Realtime Time Offset is Not Available(NA).
Context
- MIB
- TROPIC-PTP-MIB
- OID
.1.3.6.1.4.1.7483.2.2.4.9.1.2.7.1.3- Type
- column
- Access
- readonly
- Status
- current
- Parent
- tnPtpClockSyncOamEntry
- 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 'TROPIC-PTP-MIB' -M '/opt/observium/mibs/nokia:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'TROPIC-PTP-MIB::tnPtpClockRealtimeTimeOffset1'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'TROPIC-PTP-MIB' -M '/opt/observium/mibs/nokia:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'TROPIC-PTP-MIB::tnPtpClockRealtimeTimeOffset1.<tnPtpClockIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'TROPIC-PTP-MIB' -M '/opt/observium/mibs/nokia:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'TROPIC-PTP-MIB::tnPtpClockRealtimeTimeOffset1'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 0-1200
Conformance
Member of