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 Time

References:

[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.

Translate the module identity
/usr/bin/snmptranslate -Pud -Ir -On -m 'PTPBASE-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'PTPBASE-MIB::ptpbaseMIB'
Walk the MIB subtree
/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'
Command help
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
OID Tree

Table of count information about the PTP system for all domains.

ptpbaseSystemEntry .1.3.6.1.2.1.241.1.1.1.1
Column Syntax OID
ptpDomainIndexPtpClockDomainType.1.3.6.1.2.1.241.1.1.1.1.1
ptpInstanceIndexPtpClockInstanceType.1.3.6.1.2.1.241.1.1.1.1.2
ptpDomainClockPortsTotalptp 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
OID Tree

Table of information about the PTP system for all clock modes -- ordinary, boundary, or transparent.

Column Syntax OID
ptpbaseSystemDomainClockTypeIndexPtpClockType.1.3.6.1.2.1.241.1.1.2.1.1
ptpbaseSystemDomainTotalsdomainsSNMPv2-SMIUnsigned32.1.3.6.1.2.1.241.1.1.2.1.2

ScalarsptpbaseMIBSystemInfo

ptpbaseMIBObjects · .1.3.6.1.2.1.241.1.1
Object Syntax OID
ptpbaseSystemProfilePtpClockProfileType.1.3.6.1.2.1.241.1.1.3
.1.3.6.1.2.1.241.1.2.1 · 6 columns
OID Tree

Table of information about the PTP clock currentDS for all domains.

.1.3.6.1.2.1.241.1.2.2 · 13 columns
OID Tree
.1.3.6.1.2.1.241.1.2.3 · 11 columns
OID Tree
.1.3.6.1.2.1.241.1.2.4 · 6 columns
OID Tree

Table of information about the PTP clock running datasets for all domains.

.1.3.6.1.2.1.241.1.2.5 · 11 columns
OID Tree
.1.3.6.1.2.1.241.1.2.6 · 6 columns
OID Tree

Table of information about the PTP transparentClockDefaultDS for all domains.

.1.3.6.1.2.1.241.1.2.7 · 10 columns
OID Tree
.1.3.6.1.2.1.241.1.2.8 · 15 columns
OID Tree

Table of information about the clock's portDS for a particular domain.

.1.3.6.1.2.1.241.1.2.9 · 14 columns
OID Tree
.1.3.6.1.2.1.241.1.2.10 · 7 columns
OID Tree
.1.3.6.1.2.1.241.1.2.11 · 11 columns
OID Tree

Type Definitions (17)

TypeSyntaxConstraints
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
  1. SNMPv2-SMIrfc
  2. SNMPv2-TCrfc
  3. IANAifType-MIBrfc
  4. SNMPv2-CONFrfc
  5. SNMPv2-MIBrfc
  6. IF-MIBrfc
  7. PTPBASE-MIBrfcselected