PTPBASE-MIB
The MIB module for PTP version 2
Copyright (c) 2017 IETF Trust and the persons identified as authors of the code. All rights reserved.
Redistribution and use in source and binary forms, with or without modification, is permitted pursuant to, and subject to the license terms contained in, the Simplified BSD License set forth in Section 4.c of the IETF Trust's Legal Provisions Relating to IETF Documents (http://trustee.ietf.org/license-info).
Overview of PTP version 2 (IEEE Std. 1588-2008)
[IEEE-1588-2008] defines a protocol enabling precise synchronization of clocks in measurement and control systems implemented with packet-based networks, the Precision Time Protocol version 2 (PTPv2). This MIB module does not address PTPv1, the earlier version defined in IEEE Std. 1588-2002. The protocol is applicable to network elements communicating using IP. The protocol enables heterogeneous systems that include clocks of various inherent precision, resolution, and stability to synchronize to a grandmaster clock.
The protocol supports system-wide synchronization accuracy in the sub-microsecond range with minimal network and local clock computing resources. [IEEE-1588-2008] uses UDP/IP or Ethernet and can be adapted to other mappings. It includes formal mechanisms for message extensions, higher sampling rates, correction for asymmetry, a clock type to reduce error accumulation in large topologies, and specifications on how to incorporate the resulting additional data into the synchronization protocol. [IEEE-1588-2008] also defines conformance and management capability.
MIB description
This MIB module supports the Precision Time Protocol version 2 (PTPv2, hereafter designated as PTP) features of network element system devices, when using the default PTP profile described in [IEEE-1588-2008] when running over the IP network layer.
It is envisioned that this MIB module will complement other managed objects to be defined to monitor and measure the performance of the PTP devices and telecom clocks supporting specific PTP profiles.
Some other PTP profiles have their own MIB modules defined as part of the profile, and this MIB module is not intended to replace those MIB modules.
Technical terms used in this module are defined in [IEEE-1588-2008].
The MIB module refers to sections of [IEEE-1588-2008].
Abbreviations:
E2E End-to-End
EUI Extended Unique Identifier
GPS Global Positioning System
IANA Internet Assigned Numbers Authority
IP Internet Protocol
NTP Network Time Protocol (see [RFC5905])
P2P Peer-to-Peer
PTP Precision Time Protocol
TAI International Atomic Time
UDP User Datagram Protocol
UTC Coordinated Universal TimeReferences:
[IEEE-1588-2008] IEEE Standard for A Precision Clock Synchronization Protocol for Networked Measurement and Control Systems, IEEE Std. 1588-2008, July 2008.
The below table specifies the object formats of the various textual conventions used.
Data type mapping Textual Convention SYNTAX
------------------- --------------------- ------------------
5.3.2 TimeInterval PtpClockTimeInterval OCTET
STRING(SIZE(1..255))
5.3.3 Timestamp PtpClockTimestamp OCTET STRING(SIZE(6))
5.3.4 ClockIdentity PtpClockIdentity OCTET STRING(SIZE(8))
5.3.5 PortIdentity PtpClockPortNumber INTEGER(1..65535)
5.3.7 ClockQuality PtpClockQualityClassType- Source file
PTPBASE-MIB- Last revised
- Identity
ptpbaseMIB- Base OID
1.3.6.1.2.1.241- Objects
- 1 scalars · 115 columns
- Tables
- 13 tables
Net-SNMP examples using the rfc MIB directory
These commands use the standard Observium installation path and load the selected MIB variant before the RFC and Net-SNMP directories.
/usr/bin/snmptranslate -Pud -Ir -On -m 'PTPBASE-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'PTPBASE-MIB::ptpbaseMIB'
/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::ptpbaseMIB'
Imported Objects
| IF-MIB | InterfaceIndexOrZero |
| SNMPv2-CONF | MODULE-COMPLIANCE (no object page) OBJECT-GROUP (no object page) |
| SNMPv2-SMI | Counter32 Counter64 Gauge32 Integer32 mib-2 MODULE-IDENTITY (no object page) OBJECT-IDENTITY (no object page) OBJECT-TYPE (no object page) Unsigned32 |
| SNMPv2-TC | AutonomousType DisplayString TEXTUAL-CONVENTION (no object page) TruthValue |
.1.3.6.1.2.1.241.1.1.1
· 3 columns
Table of count information about the PTP system for all domains.
.1.3.6.1.2.1.241.1.1.1.1
| Column | Syntax | OID |
|---|---|---|
| ptpDomainIndex | PtpClockDomainType | .1.3.6.1.2.1.241.1.1.1.1.1 |
| ptpInstanceIndex | PtpClockInstanceType | .1.3.6.1.2.1.241.1.1.1.1.2 |
| ptpDomainClockPortsTotal | ptp portsSNMPv2-SMIGauge32 | .1.3.6.1.2.1.241.1.1.1.1.3 |
.1.3.6.1.2.1.241.1.1.2
· 2 columns
Table of information about the PTP system for all clock modes -- ordinary, boundary, or transparent.
.1.3.6.1.2.1.241.1.1.2.1
| Column | Syntax | OID |
|---|---|---|
| ptpbaseSystemDomainClockTypeIndex | PtpClockType | .1.3.6.1.2.1.241.1.1.2.1.1 |
| ptpbaseSystemDomainTotals | domainsSNMPv2-SMIUnsigned32 | .1.3.6.1.2.1.241.1.1.2.1.2 |
ptpbaseMIBSystemInfo
.1.3.6.1.2.1.241.1.1
| Object | Syntax | OID |
|---|---|---|
| ptpbaseSystemProfile | PtpClockProfileType | .1.3.6.1.2.1.241.1.1.3 |
.1.3.6.1.2.1.241.1.2.1
· 6 columns
Table of information about the PTP clock currentDS for all domains.
.1.3.6.1.2.1.241.1.2.1.1
| Column | Syntax | OID |
|---|---|---|
| ptpbaseClockCurrentDSDomainIndex | PtpClockDomainType | .1.3.6.1.2.1.241.1.2.1.1.1 |
| ptpbaseClockCurrentDSClockTypeIndex | PtpClockType | .1.3.6.1.2.1.241.1.2.1.1.2 |
| ptpbaseClockCurrentDSInstanceIndex | PtpClockInstanceType | .1.3.6.1.2.1.241.1.2.1.1.3 |
| ptpbaseClockCurrentDSStepsRemoved | StepsSNMPv2-SMIUnsigned32 | .1.3.6.1.2.1.241.1.2.1.1.4 |
| ptpbaseClockCurrentDSOffsetFromMaster | Time IntervalPtpClockTimeInterval | .1.3.6.1.2.1.241.1.2.1.1.5 |
| ptpbaseClockCurrentDSMeanPathDelay | Time IntervalPtpClockTimeInterval | .1.3.6.1.2.1.241.1.2.1.1.6 |
.1.3.6.1.2.1.241.1.2.2
· 13 columns
Table of information about the PTP clock parentDS for all domains.
.1.3.6.1.2.1.241.1.2.2.1
.1.3.6.1.2.1.241.1.2.3
· 11 columns
Table of information about the PTP clock defaultDS for all domains.
.1.3.6.1.2.1.241.1.2.3.1
| Column | Syntax | OID |
|---|---|---|
| ptpbaseClockDefaultDSDomainIndex | PtpClockDomainType | .1.3.6.1.2.1.241.1.2.3.1.1 |
| ptpbaseClockDefaultDSClockTypeIndex | PtpClockType | .1.3.6.1.2.1.241.1.2.3.1.2 |
| ptpbaseClockDefaultDSInstanceIndex | PtpClockInstanceType | .1.3.6.1.2.1.241.1.2.3.1.3 |
| ptpbaseClockDefaultDSTwoStepFlag | SNMPv2-TCTruthValue | .1.3.6.1.2.1.241.1.2.3.1.4 |
| ptpbaseClockDefaultDSClockIdentity | PtpClockIdentity | .1.3.6.1.2.1.241.1.2.3.1.5 |
| ptpbaseClockDefaultDSPriority1 | SNMPv2-SMIUnsigned32 | .1.3.6.1.2.1.241.1.2.3.1.6 |
| ptpbaseClockDefaultDSPriority2 | SNMPv2-SMIUnsigned32 | .1.3.6.1.2.1.241.1.2.3.1.7 |
| ptpbaseClockDefaultDSSlaveOnly | SNMPv2-TCTruthValue | .1.3.6.1.2.1.241.1.2.3.1.8 |
| ptpbaseClockDefaultDSQualityClass | PtpClockQualityClassType | .1.3.6.1.2.1.241.1.2.3.1.9 |
| ptpbaseClockDefaultDSQualityAccuracy | PtpClockQualityAccuracyType | .1.3.6.1.2.1.241.1.2.3.1.10 |
| ptpbaseClockDefaultDSQualityOffset | SNMPv2-SMIInteger32 | .1.3.6.1.2.1.241.1.2.3.1.11 |
.1.3.6.1.2.1.241.1.2.4
· 6 columns
Table of information about the PTP clock running datasets for all domains.
.1.3.6.1.2.1.241.1.2.4.1
| Column | Syntax | OID |
|---|---|---|
| ptpbaseClockRunningDomainIndex | PtpClockDomainType | .1.3.6.1.2.1.241.1.2.4.1.1 |
| ptpbaseClockRunningClockTypeIndex | PtpClockType | .1.3.6.1.2.1.241.1.2.4.1.2 |
| ptpbaseClockRunningInstanceIndex | PtpClockInstanceType | .1.3.6.1.2.1.241.1.2.4.1.3 |
| ptpbaseClockRunningState | PtpClockStateType | .1.3.6.1.2.1.241.1.2.4.1.4 |
| ptpbaseClockRunningPacketsSent | SNMPv2-SMICounter64 | .1.3.6.1.2.1.241.1.2.4.1.5 |
| ptpbaseClockRunningPacketsReceived | SNMPv2-SMICounter64 | .1.3.6.1.2.1.241.1.2.4.1.6 |
.1.3.6.1.2.1.241.1.2.5
· 11 columns
Table of information about the PTP clock timePropertiesDS for all domains.
.1.3.6.1.2.1.241.1.2.5.1
| Column | Syntax | OID |
|---|---|---|
| ptpbaseClockTimePropertiesDSDomainIndex | PtpClockDomainType | .1.3.6.1.2.1.241.1.2.5.1.1 |
| ptpbaseClockTimePropertiesDSClockTypeIndex | PtpClockType | .1.3.6.1.2.1.241.1.2.5.1.2 |
| ptpbaseClockTimePropertiesDSInstanceIndex | PtpClockInstanceType | .1.3.6.1.2.1.241.1.2.5.1.3 |
| ptpbaseClockTimePropertiesDSCurrentUTCOffsetValid | SNMPv2-TCTruthValue | .1.3.6.1.2.1.241.1.2.5.1.4 |
| ptpbaseClockTimePropertiesDSCurrentUTCOffset | SNMPv2-SMIInteger32 | .1.3.6.1.2.1.241.1.2.5.1.5 |
| ptpbaseClockTimePropertiesDSLeap59 | SNMPv2-TCTruthValue | .1.3.6.1.2.1.241.1.2.5.1.6 |
| ptpbaseClockTimePropertiesDSLeap61 | SNMPv2-TCTruthValue | .1.3.6.1.2.1.241.1.2.5.1.7 |
| ptpbaseClockTimePropertiesDSTimeTraceable | SNMPv2-TCTruthValue | .1.3.6.1.2.1.241.1.2.5.1.8 |
| ptpbaseClockTimePropertiesDSFreqTraceable | SNMPv2-TCTruthValue | .1.3.6.1.2.1.241.1.2.5.1.9 |
| ptpbaseClockTimePropertiesDSPTPTimescale | SNMPv2-TCTruthValue | .1.3.6.1.2.1.241.1.2.5.1.10 |
| ptpbaseClockTimePropertiesDSSource | PtpClockTimeSourceType | .1.3.6.1.2.1.241.1.2.5.1.11 |
.1.3.6.1.2.1.241.1.2.6
· 6 columns
Table of information about the PTP transparentClockDefaultDS for all domains.
.1.3.6.1.2.1.241.1.2.6.1
| Column | Syntax | OID |
|---|---|---|
| ptpbaseClockTransDefaultDSDomainIndex | PtpClockDomainType | .1.3.6.1.2.1.241.1.2.6.1.1 |
| ptpbaseClockTransDefaultDSInstanceIndex | PtpClockInstanceType | .1.3.6.1.2.1.241.1.2.6.1.2 |
| ptpbaseClockTransDefaultDSClockIdentity | PtpClockIdentity | .1.3.6.1.2.1.241.1.2.6.1.3 |
| ptpbaseClockTransDefaultDSNumOfPorts | SNMPv2-SMICounter32 | .1.3.6.1.2.1.241.1.2.6.1.4 |
| ptpbaseClockTransDefaultDSDelay | PtpClockMechanismType | .1.3.6.1.2.1.241.1.2.6.1.5 |
| ptpbaseClockTransDefaultDSPrimaryDomain | PtpClockDomainType | .1.3.6.1.2.1.241.1.2.6.1.6 |
.1.3.6.1.2.1.241.1.2.7
· 10 columns
Table of information about the clock ports for a particular domain.
.1.3.6.1.2.1.241.1.2.7.1
| Column | Syntax | OID |
|---|---|---|
| ptpbaseClockPortDomainIndex | PtpClockDomainType | .1.3.6.1.2.1.241.1.2.7.1.1 |
| ptpbaseClockPortClockTypeIndex | PtpClockType | .1.3.6.1.2.1.241.1.2.7.1.2 |
| ptpbaseClockPortClockInstanceIndex | PtpClockInstanceType | .1.3.6.1.2.1.241.1.2.7.1.3 |
| ptpbaseClockPortTablePortNumberIndex | PtpClockPortNumber | .1.3.6.1.2.1.241.1.2.7.1.4 |
| ptpbaseClockPortName | OctetString | .1.3.6.1.2.1.241.1.2.7.1.5 |
| ptpbaseClockPortRole | PtpClockRoleType | .1.3.6.1.2.1.241.1.2.7.1.6 |
| ptpbaseClockPortSyncTwoStep | SNMPv2-TCTruthValue | .1.3.6.1.2.1.241.1.2.7.1.7 |
| ptpbaseClockPortCurrentPeerAddressType | SNMPv2-TCAutonomousType | .1.3.6.1.2.1.241.1.2.7.1.8 |
| ptpbaseClockPortCurrentPeerAddress | PtpClockPortTransportTypeAddress | .1.3.6.1.2.1.241.1.2.7.1.9 |
| ptpbaseClockPortNumOfAssociatedPorts | SNMPv2-SMIGauge32 | .1.3.6.1.2.1.241.1.2.7.1.10 |
.1.3.6.1.2.1.241.1.2.8
· 15 columns
Table of information about the clock's portDS for a particular domain.
.1.3.6.1.2.1.241.1.2.8.1
.1.3.6.1.2.1.241.1.2.9
· 14 columns
Table of information about the clock ports running datasets for a particular domain.
.1.3.6.1.2.1.241.1.2.9.1
.1.3.6.1.2.1.241.1.2.10
· 7 columns
Table of information about the transparentClockPortDS for a particular domain.
.1.3.6.1.2.1.241.1.2.10.1
| Column | Syntax | OID |
|---|---|---|
| ptpbaseClockPortTransDSDomainIndex | PtpClockDomainType | .1.3.6.1.2.1.241.1.2.10.1.1 |
| ptpbaseClockPortTransDSInstanceIndex | PtpClockInstanceType | .1.3.6.1.2.1.241.1.2.10.1.2 |
| ptpbaseClockPortTransDSPortNumberIndex | PtpClockPortNumber | .1.3.6.1.2.1.241.1.2.10.1.3 |
| ptpbaseClockPortTransDSPortIdentity | PtpClockIdentity | .1.3.6.1.2.1.241.1.2.10.1.4 |
| ptpbaseClockPortTransDSlogMinPdelayReqInt | PtpClockIntervalBase2 | .1.3.6.1.2.1.241.1.2.10.1.5 |
| ptpbaseClockPortTransDSFaultyFlag | SNMPv2-TCTruthValue | .1.3.6.1.2.1.241.1.2.10.1.6 |
| ptpbaseClockPortTransDSPeerMeanPathDelay | Time IntervalPtpClockTimeInterval | .1.3.6.1.2.1.241.1.2.10.1.7 |
.1.3.6.1.2.1.241.1.2.11
· 11 columns
Table of information about a given port's associated ports.
…
.1.3.6.1.2.1.241.1.2.11.1
| Column | Syntax | OID |
|---|---|---|
| ptpClockPortCurrentDomainIndex | PtpClockDomainType | .1.3.6.1.2.1.241.1.2.11.1.1 |
| ptpClockPortCurrentClockTypeIndex | PtpClockType | .1.3.6.1.2.1.241.1.2.11.1.2 |
| ptpClockPortCurrentClockInstanceIndex | PtpClockInstanceType | .1.3.6.1.2.1.241.1.2.11.1.3 |
| ptpClockPortCurrentPortNumberIndex | PtpClockPortNumber | .1.3.6.1.2.1.241.1.2.11.1.4 |
| ptpbaseClockPortAssociatePortIndex | Unsigned32 | .1.3.6.1.2.1.241.1.2.11.1.5 |
| ptpbaseClockPortAssociateAddressType | SNMPv2-TCAutonomousType | .1.3.6.1.2.1.241.1.2.11.1.6 |
| ptpbaseClockPortAssociateAddress | PtpClockPortTransportTypeAddress | .1.3.6.1.2.1.241.1.2.11.1.7 |
| ptpbaseClockPortAssociatePacketsSent | packetsSNMPv2-SMICounter64 | .1.3.6.1.2.1.241.1.2.11.1.8 |
| ptpbaseClockPortAssociatePacketsReceived | packetsSNMPv2-SMICounter64 | .1.3.6.1.2.1.241.1.2.11.1.9 |
| ptpbaseClockPortAssociateInErrors | packetsSNMPv2-SMICounter64 | .1.3.6.1.2.1.241.1.2.11.1.10 |
| ptpbaseClockPortAssociateOutErrors | packetsSNMPv2-SMICounter64 | .1.3.6.1.2.1.241.1.2.11.1.11 |
Type Definitions (17)
| Type | Syntax | Constraints |
|---|---|---|
| PtpClockDomainType | Unsigned32 | 1 constraints |
| PtpClockIdentity | OctetString | 1 constraints |
| PtpClockInstanceType | Unsigned32 | 1 constraints |
| PtpClockIntervalBase2 | Integer32 | 1 constraints |
| PtpClockMechanismType | Enumeration | 3 values |
| PtpClockPortNumber | Unsigned32 | 1 constraints |
| PtpClockPortState | Enumeration | 9 values |
| PtpClockPortTransportTypeAddress | OctetString | 1 constraints |
| PtpClockProfileType | Enumeration | 3 values |
| PtpClockQualityAccuracyType | Enumeration | 19 values |
| PtpClockQualityClassType | Enumeration | 6 values |
| PtpClockRoleType | Enumeration | 2 values |
| PtpClockStateType | Enumeration | 5 values |
| PtpClockTimeInterval | OctetString | 1 constraints |
| PtpClockTimeSourceType | Enumeration | 8 values |
| PtpClockTxModeType | Enumeration | 3 values |
| PtpClockType | Enumeration | 4 values |
Conformance Groups (12)
ptpbaseMIBSystemInfoGroup .1.3.6.1.2.1.241.2.2.1
Members (3)
ptpbaseMIBClockCurrentDSGroup .1.3.6.1.2.1.241.2.2.2
Members (3)
ptpbaseMIBClockParentDSGroup .1.3.6.1.2.1.241.2.2.3
Members (10)
ptpbaseMIBClockDefaultDSGroup .1.3.6.1.2.1.241.2.2.4
Members (8)
ptpbaseMIBClockRunningGroup .1.3.6.1.2.1.241.2.2.5
Members (3)
ptpbaseMIBClockTimepropertiesGroup .1.3.6.1.2.1.241.2.2.6
Members (8)
ptpbaseMIBClockTranparentDSGroup .1.3.6.1.2.1.241.2.2.7
Members (4)
ptpbaseMIBClockPortGroup .1.3.6.1.2.1.241.2.2.8
Members (6)
ptpbaseMIBClockPortDSGroup .1.3.6.1.2.1.241.2.2.9
Members (11)
ptpbaseMIBClockPortRunningGroup .1.3.6.1.2.1.241.2.2.10
Members (10)
ptpbaseMIBClockPortTransDSGroup .1.3.6.1.2.1.241.2.2.11
Members (4)
ptpbaseMIBClockPortAssociateGroup .1.3.6.1.2.1.241.2.2.12
Members (6)
Compliance Statements (4)
ptpbaseMIBCompliancesSystemInfo .1.3.6.1.2.1.241.2.1.1
ptpbaseMIBCompliancesClockInfo .1.3.6.1.2.1.241.2.1.2
ptpbaseMIBCompliancesClockPortInfo .1.3.6.1.2.1.241.2.1.3
ptpbaseMIBCompliancesTransparentClockInfo .1.3.6.1.2.1.241.2.1.4
Dependencies (6) 4 direct · 2 transitive Show tree and compile order Hide dependency details
Each imported module is resolved in the importing module's source directory first, then through the normal default-variant rules.
Dependency tree
Dependency-first compile order
- SNMPv2-SMIrfc
- SNMPv2-TCrfc
- IANAifType-MIBrfc
- SNMPv2-CONFrfc
- SNMPv2-MIBrfc
- IF-MIBrfc
- PTPBASE-MIBrfcselected