ptpbaseClockCurrentDSOffsetFromMaster
PTPBASE-MIB ·
.1.3.6.1.2.1.241.1.2.1.1.5
Object
column Time IntervalPtpClockTimeInterval
This object specifies the current clock dataset ClockOffset value. The value of the computation of the offset in time between a slave and a master clock.
Context
- MIB
- PTPBASE-MIB
- OID
.1.3.6.1.2.1.241.1.2.1.1.5- Type
- column
- Access
- readonly
- Status
- current
- Units
- Time Interval
- Parent
- ptpbaseClockCurrentDSEntry
- 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::ptpbaseClockCurrentDSOffsetFromMaster'
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::ptpbaseClockCurrentDSOffsetFromMaster.<ptpbaseClockCurrentDSDomainIndex>.<ptpbaseClockCurrentDSClockTypeIndex>.<ptpbaseClockCurrentDSInstanceIndex>'
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::ptpbaseClockCurrentDSOffsetFromMaster'
Syntax
Time IntervalPtpClockTimeInterval
- Source
- PtpClockTimeInterval
- Base type
OctetString
Values & Constraints
Type Constraints
range: 1..255
Conformance
Member of