-- ------------------------------------------------------------- -- PTP Setting -- ------------------------------------------------------------- ieee1588Setting OBJECT IDENTIFIER ::= { swMgmt 41 } ptpv1Setting OBJECT IDENTIFIER ::= { ieee1588Setting 1 } enablePtpv1 OBJECT-TYPE SYNTAX INTEGER {disable(0),enable(1)} MAX-ACCESS read-write STATUS current DESCRIPTION "This enable the PTP functon." ::= { ptpv1Setting 1 } clockModev1 OBJECT-TYPE SYNTAX INTEGER { v1BC(0), v2E2E2stepTC(1), v2P2PTC(3), v2E2EBC(4), v2P2PBC(5) } MAX-ACCESS read-write STATUS current DESCRIPTION "the clock mode of the PTP clock." ::= { ptpv1Setting 2 } syncIntervalv1 OBJECT-TYPE SYNTAX INTEGER { oneSec(0), twoSec(1), fourSec(2), eightSec(3), sixteenSec(4) } MAX-ACCESS read-write STATUS current DESCRIPTION "the logSyncInterval of the PTP clock." ::= { ptpv1Setting 3 } subDomainNamev1 OBJECT-TYPE SYNTAX INTEGER {dflt(0),alt1(1),alt2(2),alt3(3)} MAX-ACCESS read-write STATUS current DESCRIPTION "The subdomain name of the PTP clock." ::= { ptpv1Setting 4 } preferMasterv1 OBJECT-TYPE SYNTAX INTEGER {false(0),true(1)} MAX-ACCESS read-write STATUS current DESCRIPTION "This enable the PTP prefer master function." ::= { ptpv1Setting 5 } ptpv2Setting OBJECT IDENTIFIER ::= { ieee1588Setting 2 } enablePtp OBJECT-TYPE SYNTAX INTEGER {disable(0),enable(1)} MAX-ACCESS read-write STATUS current DESCRIPTION "This enable the PTP functon." ::= { ptpv2Setting 1 } clockMode OBJECT-TYPE SYNTAX INTEGER { v1BC(0), v2E2E2stepTC(1), v2E2E1stepTC(2), v2P2PTC(3), v2E2EBC(4), v2P2PBC(5) } MAX-ACCESS read-write STATUS current DESCRIPTION "the clock mode of the PTP clock." ::= { ptpv2Setting 2 } transport OBJECT-TYPE SYNTAX INTEGER {ieee802dot3(0),ipv4(1)} MAX-ACCESS read-write STATUS current DESCRIPTION "the transport mode of the PTP clock." ::= { ptpv2Setting 3 } syncInterval OBJECT-TYPE SYNTAX INTEGER { t128msec(-3), t256msec(-2), t512msec(-1), t1sec(0), t2sec(1) } MAX-ACCESS read-write STATUS current DESCRIPTION "the logSyncInterval of the PTP clock." ::= { ptpv2Setting 4 } logMinDelayReqInterval OBJECT-TYPE SYNTAX INTEGER {t1sec(0),t2sec(1),t4sec(2),t8sec(3),t16sec(4),t32sec(5)} MAX-ACCESS read-write STATUS current DESCRIPTION "the logMinDelayReqInterval of the PTP clock." ::= { ptpv2Setting 5 } logMinPdelayReqInterval OBJECT-TYPE SYNTAX INTEGER { t512msec(-1), t1sec(0), t2sec(1), t4sec(2), t8sec(3), t16sec(4), t32sec(5) } MAX-ACCESS read-write STATUS current DESCRIPTION "the logMinPdelayReqInterval of the PTP clock." ::= { ptpv2Setting 6 } logAnnounceInterval OBJECT-TYPE SYNTAX INTEGER {t1sec(0),t2sec(1),t4sec(2),t8sec(3),t16sec(4)} MAX-ACCESS read-write STATUS current DESCRIPTION "the logAnnounceInterval of the PTP clock." ::= { ptpv2Setting 7 } announceReceiptTimeout OBJECT-TYPE SYNTAX INTEGER (2..10) MAX-ACCESS read-write STATUS current DESCRIPTION "the announceReceiptTimeout of the PTP clock." ::= { ptpv2Setting 8 } priority1 OBJECT-TYPE SYNTAX INTEGER MAX-ACCESS read-write STATUS current DESCRIPTION "the priority1 of the PTP clock." ::= { ptpv2Setting 9 } priority2 OBJECT-TYPE SYNTAX INTEGER MAX-ACCESS read-write STATUS current DESCRIPTION "the priority2 of the PTP clock." ::= { ptpv2Setting 10 } clockClass OBJECT-TYPE SYNTAX INTEGER MAX-ACCESS read-write STATUS current DESCRIPTION "the clockClass of the PTP clock." ::= { ptpv2Setting 11 } domainNumber OBJECT-TYPE SYNTAX INTEGER {dflt(0),alt1(1),alt2(2),alt3(3)} MAX-ACCESS read-write STATUS current DESCRIPTION "The domain number of the PTP clock." ::= { ptpv2Setting 12 } localUtcOffset OBJECT-TYPE SYNTAX INTEGER MAX-ACCESS read-write STATUS current DESCRIPTION "the UTC offset of the local PTP clock." ::= { ptpv2Setting 13 } localUtcOffsetValid OBJECT-TYPE SYNTAX INTEGER {false(0),true(1)} MAX-ACCESS read-write STATUS current DESCRIPTION "the UTC offset valid of the local PTP clock." ::= { ptpv2Setting 14 } localLeap59 OBJECT-TYPE SYNTAX INTEGER {false(0),true(1)} MAX-ACCESS read-write STATUS current DESCRIPTION "the leap59 of the local PTP clock." ::= { ptpv2Setting 15 } localLeap61 OBJECT-TYPE SYNTAX INTEGER {false(0),true(1)} MAX-ACCESS read-write STATUS current DESCRIPTION "the leap61 of the local PTP clock." ::= { ptpv2Setting 16 } localPtpTimescale OBJECT-TYPE SYNTAX INTEGER {arb(0),ptp(1)} MAX-ACCESS read-write STATUS current DESCRIPTION "the timescale of the local PTP clock." ::= { ptpv2Setting 17 } localArbTime OBJECT-TYPE SYNTAX INTEGER MAX-ACCESS read-write STATUS current DESCRIPTION "the ARB time of the local PTP clock." ::= { ptpv2Setting 18 } ptpv1Status OBJECT IDENTIFIER ::= { ieee1588Setting 3 } offsetToMasterv1 OBJECT-TYPE SYNTAX INTEGER MAX-ACCESS read-only STATUS current DESCRIPTION "The offset to master for nsec." ::= { ptpv1Status 1 } meanPathDelayv1 OBJECT-TYPE SYNTAX INTEGER MAX-ACCESS read-only STATUS current DESCRIPTION "The mean path delay of the PTP clock." ::= { ptpv1Status 2 } grandMasterUuidv1 OBJECT-TYPE SYNTAX MacAddress MAX-ACCESS read-only STATUS current DESCRIPTION "The grand master UUID address of the PTP clock." ::= { ptpv1Status 3 } parentUuidv1 OBJECT-TYPE SYNTAX MacAddress MAX-ACCESS read-only STATUS current DESCRIPTION "The parent master UUID address of the PTP clock." ::= { ptpv1Status 4 } clockStratumv1 OBJECT-TYPE SYNTAX INTEGER MAX-ACCESS read-only STATUS current DESCRIPTION "The clock stratum of the PTP clock." ::= { ptpv1Status 5 } clockIdentifierv1 OBJECT-TYPE SYNTAX DisplayString MAX-ACCESS read-only STATUS current DESCRIPTION "The clock identifier of the PTP clock." ::= { ptpv1Status 6 } ptpv2Status OBJECT IDENTIFIER ::= { ieee1588Setting 4 } offsetToMaster OBJECT-TYPE SYNTAX INTEGER MAX-ACCESS read-only STATUS current DESCRIPTION "The offset to master for nsec." ::= { ptpv2Status 1 } meanPathDelay OBJECT-TYPE SYNTAX INTEGER MAX-ACCESS read-only STATUS current DESCRIPTION "The mean path delay of the PTP clock." ::= { ptpv2Status 2 } parentIdentity OBJECT-TYPE SYNTAX DisplayString MAX-ACCESS read-only STATUS current DESCRIPTION "The parent identity of the PTP clock." ::= { ptpv2Status 3 } grandmasterIdentity OBJECT-TYPE SYNTAX DisplayString MAX-ACCESS read-only STATUS current DESCRIPTION "The grandmaster identity of the PTP clock." ::= { ptpv2Status 4 } grandmasterClockClass OBJECT-TYPE SYNTAX INTEGER MAX-ACCESS read-only STATUS current DESCRIPTION "The grandmaster clockClass of the PTP clock." ::= { ptpv2Status 5 } grandmasterClockAccuracy OBJECT-TYPE SYNTAX INTEGER MAX-ACCESS read-only STATUS current DESCRIPTION "The grandmaster clockAccuracy of the PTP clock." ::= { ptpv2Status 6 } grandmasterPriority1 OBJECT-TYPE SYNTAX INTEGER MAX-ACCESS read-only STATUS current DESCRIPTION "The grandmaster priority1 of the PTP clock." ::= { ptpv2Status 7 } grandmasterPriority2 OBJECT-TYPE SYNTAX INTEGER MAX-ACCESS read-only STATUS current DESCRIPTION "The grandmaster priority2 of the PTP clock." ::= { ptpv2Status 8 } stepsRemoved OBJECT-TYPE SYNTAX INTEGER MAX-ACCESS read-only STATUS current DESCRIPTION "The steps removed of the PTP clock." ::= { ptpv2Status 9 } currentUtcOffset OBJECT-TYPE SYNTAX INTEGER MAX-ACCESS read-only STATUS current DESCRIPTION "The current utc offset of the PTP clock." ::= { ptpv2Status 10 } currentUtcOffsetValid OBJECT-TYPE SYNTAX DisplayString MAX-ACCESS read-only STATUS current DESCRIPTION "The current utc offset valid flag of the PTP clock." ::= { ptpv2Status 11 } leap59 OBJECT-TYPE SYNTAX DisplayString MAX-ACCESS read-only STATUS current DESCRIPTION "The leap59 of the PTP clock." ::= { ptpv2Status 12 } leap61 OBJECT-TYPE SYNTAX DisplayString MAX-ACCESS read-only STATUS current DESCRIPTION "The leap61 of the PTP clock." ::= { ptpv2Status 13 } ptpTimescale OBJECT-TYPE SYNTAX DisplayString MAX-ACCESS read-only STATUS current DESCRIPTION "The ptp timescale of the PTP clock." ::= { ptpv2Status 14 } timesource OBJECT-TYPE SYNTAX DisplayString MAX-ACCESS read-only STATUS current DESCRIPTION "The timesource of the PTP clock." ::= { ptpv2Status 15 } ptpPortTable OBJECT-TYPE SYNTAX SEQUENCE OF PtpPortEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "The ptp port table." ::= { ieee1588Setting 5 } ptpPortEntry OBJECT-TYPE SYNTAX PtpPortEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "The ptp port entry." INDEX { ptpPortIndex } ::= { ptpPortTable 1 } PtpPortEntry ::= SEQUENCE { ptpPortIndex INTEGER, ptpPortEnable INTEGER, ptpPortStatus INTEGER } ptpPortIndex OBJECT-TYPE SYNTAX INTEGER MAX-ACCESS read-only STATUS current DESCRIPTION "The ptp port index." ::= { ptpPortEntry 1 } ptpPortEnable OBJECT-TYPE SYNTAX INTEGER { disable(0), enable(1) } MAX-ACCESS read-write STATUS current DESCRIPTION "This enable the ptp port." ::= { ptpPortEntry 2 } ptpPortStatus OBJECT-TYPE SYNTAX INTEGER { ptpInitializing(0), ptpFaulty(1), ptpDisabled(2), ptpListening(3), ptpPreMaster(4), ptpMaster(5), ptpPassive(6), ptpUncalibrated(7), ptpSlave(8) } MAX-ACCESS read-only STATUS current DESCRIPTION "This port status of the PTP clock." ::= { ptpPortEntry 3 }