-- -- HUAWEI-PTP-MIB.mib -- MIB generated by MG-SOFT Visual MIB Builder Version 3.0 Build 253 -- Friday, March 27, 2009 at 17:16:31 -- HUAWEI-PTP-MIB DEFINITIONS ::= BEGIN IMPORTS hwDatacomm FROM HUAWEI-MIB InterfaceIndex FROM IF-MIB OBJECT-GROUP, MODULE-COMPLIANCE, NOTIFICATION-GROUP FROM SNMPv2-CONF IpAddress, Integer32, Unsigned32, OBJECT-TYPE, MODULE-IDENTITY, NOTIFICATION-TYPE FROM SNMPv2-SMI TruthValue, DateAndTime, MacAddress, RowStatus, TEXTUAL-CONVENTION FROM SNMPv2-TC; hwPtpMIB MODULE-IDENTITY LAST-UPDATED "200902111449Z" -- February 11, 2009 at 14:49 GMT ORGANIZATION "Huawei Technologies co.,Ltd." CONTACT-INFO "R&D BeiJing, Huawei Technologies co.,Ltd. Huawei Bld.,NO.3 Xinxi Rd., Shang-Di Information Industry Base, Hai-Dian District Beijing P.R. China Zip:100085 Http://www.huawei.com E-mail:support@huawei.com" DESCRIPTION "The HUAWEI-PTP-MIB contains objects to manage PTP." ::= { hwDatacomm 187 } -- -- Textual conventions -- EnabledStatus ::= TEXTUAL-CONVENTION STATUS current DESCRIPTION "A simple status value for the object." SYNTAX INTEGER { enabled(1), disabled(2) } VlanIdOrNone ::= TEXTUAL-CONVENTION STATUS current DESCRIPTION "Description." SYNTAX Integer32 (0 | 1..4094) -- -- Node definitions -- -- 1.3.6.1.4.1.2011.5.25.187.1 hwPtpGlobalObjects OBJECT IDENTIFIER ::= { hwPtpMIB 1 } -- 1.3.6.1.4.1.2011.5.25.187.1.1 hwPtpEnable OBJECT-TYPE SYNTAX EnabledStatus MAX-ACCESS read-write STATUS current DESCRIPTION "Enable PTP function." DEFVAL { disable } ::= { hwPtpGlobalObjects 1 } -- 1.3.6.1.4.1.2011.5.25.187.1.2 hwPtpDomain OBJECT-TYPE SYNTAX Integer32 (0..255) MAX-ACCESS read-write STATUS current DESCRIPTION "PTP device's domain attribute,this attribute is used by PTP Device to join BMC compute." DEFVAL { 0 } ::= { hwPtpGlobalObjects 2 } -- 1.3.6.1.4.1.2011.5.25.187.1.3 hwPtpDeviceType OBJECT-TYPE SYNTAX INTEGER { oc(1), bc(2), p2ptc(3), e2etc(4), p2ptcoc(5), e2etcoc(6), tcandbc(7), invalid(99) } MAX-ACCESS read-write STATUS current DESCRIPTION "PTP device's type attribute." DEFVAL { 99 } ::= { hwPtpGlobalObjects 3 } -- 1.3.6.1.4.1.2011.5.25.187.1.4 hwPtpSlaveOnly OBJECT-TYPE SYNTAX TruthValue MAX-ACCESS read-write STATUS current DESCRIPTION "PTP device's SlaveOnly attribute." DEFVAL { false } ::= { hwPtpGlobalObjects 4 } -- 1.3.6.1.4.1.2011.5.25.187.1.5 hwPtpLocalClockId OBJECT-TYPE SYNTAX OCTET STRING MAX-ACCESS read-only STATUS current DESCRIPTION "Local PTP device's ClockId." ::= { hwPtpGlobalObjects 5 } -- 1.3.6.1.4.1.2011.5.25.187.1.6 hwPtpLocalClockAccuracy OBJECT-TYPE SYNTAX Integer32 (0..255) MAX-ACCESS read-write STATUS current DESCRIPTION "PTP device's clock accuracy attribute." DEFVAL { 49 } ::= { hwPtpGlobalObjects 6 } -- 1.3.6.1.4.1.2011.5.25.187.1.7 hwPtpLocalClockClass OBJECT-TYPE SYNTAX Integer32 (1..255) MAX-ACCESS read-write STATUS current DESCRIPTION "PTP device's clock class attribute." DEFVAL { 187 } ::= { hwPtpGlobalObjects 7 } -- 1.3.6.1.4.1.2011.5.25.187.1.8 hwPtpLocalClockPriority1 OBJECT-TYPE SYNTAX Integer32 (0..255) MAX-ACCESS read-write STATUS current DESCRIPTION "PTP device's clock priority1 attribute." DEFVAL { 128 } ::= { hwPtpGlobalObjects 8 } -- 1.3.6.1.4.1.2011.5.25.187.1.9 hwPtpLocalClockPriority2 OBJECT-TYPE SYNTAX Integer32 (0..255) MAX-ACCESS read-write STATUS current DESCRIPTION "PTP device's clock priority2 attribute." DEFVAL { 128 } ::= { hwPtpGlobalObjects 9 } -- 1.3.6.1.4.1.2011.5.25.187.1.10 hwPtpLocalClockTimeSource OBJECT-TYPE SYNTAX INTEGER { atomicclock(1), gps(2), terrestrialradio(3), ptp(4), ntp(5), handset(6), other(7), internaloscillator(8) } MAX-ACCESS read-write STATUS current DESCRIPTION "PTP device's clock time source attribute." DEFVAL { internaloscillator } ::= { hwPtpGlobalObjects 10 } -- 1.3.6.1.4.1.2011.5.25.187.1.11 hwPtpUtc OBJECT-TYPE SYNTAX OCTET STRING MAX-ACCESS read-only STATUS current DESCRIPTION "Indicates current UTC." ::= { hwPtpGlobalObjects 11 } -- 1.3.6.1.4.1.2011.5.25.187.1.12 hwPtpCurrentUtcOffset OBJECT-TYPE SYNTAX Integer32 MAX-ACCESS read-write STATUS current DESCRIPTION "The offset between TAI and UTC. CurrentUtcOffset=TAI-UTC." ::= { hwPtpGlobalObjects 12 } -- 1.3.6.1.4.1.2011.5.25.187.1.13 hwCurrentUtcOffsetValid OBJECT-TYPE SYNTAX TruthValue MAX-ACCESS read-only STATUS current DESCRIPTION "CurrentUtcOffsetValid." DEFVAL { false } ::= { hwPtpGlobalObjects 13 } -- 1.3.6.1.4.1.2011.5.25.187.1.14 hwPtpLeap59orLeap61Valid OBJECT-TYPE SYNTAX INTEGER { leap59Valid(1), leap61Valid(2), none(3) } MAX-ACCESS read-write STATUS current DESCRIPTION "Indicates Leap59OrLeap61Valid is valid or not." DEFVAL { none } ::= { hwPtpGlobalObjects 14 } -- 1.3.6.1.4.1.2011.5.25.187.1.15 hwPtpLeapEmendationTime OBJECT-TYPE SYNTAX DateAndTime (SIZE(8)) MAX-ACCESS read-write STATUS current DESCRIPTION "Specify the time at which the leap action will be occurred. We will only take octet strings with length 8 for this object. " ::= { hwPtpGlobalObjects 15 } -- 1.3.6.1.4.1.2011.5.25.187.1.16 hwPtpCurrentMasterClockId OBJECT-TYPE SYNTAX OCTET STRING MAX-ACCESS read-only STATUS current DESCRIPTION "Current grandmaster clock's clockId" ::= { hwPtpGlobalObjects 16 } -- 1.3.6.1.4.1.2011.5.25.187.1.17 hwPtpCurrentMasterClockReceivePort OBJECT-TYPE SYNTAX OCTET STRING MAX-ACCESS read-only STATUS current DESCRIPTION "The input port of current grandmaster clock's clock ID." ::= { hwPtpGlobalObjects 17 } -- 1.3.6.1.4.1.2011.5.25.187.1.18 hwPtpCurrentMasterClockStepRemoved OBJECT-TYPE SYNTAX Integer32(0..127) MAX-ACCESS read-only STATUS current DESCRIPTION "Steps between current grandmaster clock device and the local clock device." ::= { hwPtpGlobalObjects 18 } -- 1.3.6.1.4.1.2011.5.25.187.1.19 hwPtpVersion OBJECT-TYPE SYNTAX INTEGER { ieee1588v2(1), invalid(10) } MAX-ACCESS read-only STATUS current DESCRIPTION "The version of PTP." DEFVAL { 1 } ::= { hwPtpGlobalObjects 19 } -- 1.3.6.1.4.1.2011.5.25.187.1.20 hwPtpTimeScale OBJECT-TYPE SYNTAX INTEGER { ptp(1), arb(2) } MAX-ACCESS read-only STATUS current DESCRIPTION "The time scale of PTP." DEFVAL { ptp } ::= { hwPtpGlobalObjects 20 } -- 1.3.6.1.4.1.2011.5.25.187.1.21 hwPtpFrequencyTraceable OBJECT-TYPE SYNTAX TruthValue MAX-ACCESS read-only STATUS current DESCRIPTION "The frequency trace is enable." DEFVAL { false } ::= { hwPtpGlobalObjects 21 } -- 1.3.6.1.4.1.2011.5.25.187.1.22 hwPtpTimeTraceable OBJECT-TYPE SYNTAX TruthValue MAX-ACCESS read-only STATUS current DESCRIPTION "The time trace is enable." DEFVAL { false } ::= { hwPtpGlobalObjects 22 } -- 1.3.6.1.4.1.2011.5.25.187.1.23 hwPtpTimeSynchronizationStatus OBJECT-TYPE SYNTAX INTEGER { unsynchronization(1), synchronization(2) } MAX-ACCESS read-only STATUS current DESCRIPTION "Indicates TimeSynchronizationStatus is synchronization or not." DEFVAL { unsynchronization } ::= { hwPtpGlobalObjects 23 } -- 1.3.6.1.4.1.2011.5.25.187.2 hwPtpPortObjects OBJECT IDENTIFIER ::= { hwPtpMIB 2 } -- 1.3.6.1.4.1.2011.5.25.187.2.1 hwPtpPortTable OBJECT-TYPE SYNTAX SEQUENCE OF HwPtpPortEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "PtpPortTable." ::= { hwPtpPortObjects 1 } -- 1.3.6.1.4.1.2011.5.25.187.2.1.1 hwPtpPortEntry OBJECT-TYPE SYNTAX HwPtpPortEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "An entry in hwPtpPortTable." INDEX { hwPtpPortIfIndex } ::= { hwPtpPortTable 1 } HwPtpPortEntry ::= SEQUENCE { hwPtpPortIfIndex InterfaceIndex, hwPtpPortEnable EnabledStatus, hwPtpPortDelayMechanism INTEGER, hwPtpPortType INTEGER, hwPtpPortDomain Integer32, hwPtpPortTcOcStaticClockId OCTET STRING, hwPtpPortTcOcStaticClockPortNum Integer32, hwPtpPortAnnounceInterval INTEGER, hwPtpPortAnnounceReceipTimeout INTEGER, hwPtpPortSyncInterval INTEGER, hwPtpPortMinDelayReqInterval INTEGER, hwPtpPortMinPdelayReqInterval INTEGER, hwPtpPortAsymmetryNegativeCorrection Unsigned32, hwPtpPortAsymmetryPositiveCorrection Unsigned32, hwPtpPortMacEgressDestinationMac MacAddress, hwPtpPortMacEgressVlanId VlanIdOrNone, hwPtpPortMacEgressPacketPriority Integer32, hwPtpPortUdpEgressSourceIp IpAddress, hwPtpPortUdpEgressDestinationIp IpAddress, hwPtpPortUdpEgressDestinationMac MacAddress, hwPtpPortUdpEgressDscp Integer32, hwPtpPortUdpEgressVlanId VlanIdOrNone, hwPtpPortUdpEgressPacketPriority Integer32, hwPtpPortAnnounceDrop EnabledStatus, hwPtpPortState INTEGER, hwPtpPortSourcePortClockId OCTET STRING, hwPtpPortSourcePortNum Integer32, hwPtpPortPortVlan Integer32, hwPtpPortCfgLinkStatus INTEGER, hwPtpPortCfgExtInterfaceMode INTEGER, hwPtpPortCfgMsgFormat INTEGER, hwPtpPortRowStatus RowStatus } -- 1.3.6.1.4.1.2011.5.25.187.2.1.1.1 hwPtpPortIfIndex OBJECT-TYPE SYNTAX InterfaceIndex MAX-ACCESS not-accessible STATUS current DESCRIPTION "Port ifIndex." ::= { hwPtpPortEntry 1 } -- 1.3.6.1.4.1.2011.5.25.187.2.1.1.2 hwPtpPortEnable OBJECT-TYPE SYNTAX EnabledStatus MAX-ACCESS read-create STATUS current DESCRIPTION "The port enable PTP function." DEFVAL { disable } ::= { hwPtpPortEntry 2 } -- 1.3.6.1.4.1.2011.5.25.187.2.1.1.3 hwPtpPortDelayMechanism OBJECT-TYPE SYNTAX INTEGER { none(1), delay(2), pdelay(3) } MAX-ACCESS read-create STATUS current DESCRIPTION "The port delay mechanism." DEFVAL { 1 } ::= { hwPtpPortEntry 3 } -- 1.3.6.1.4.1.2011.5.25.187.2.1.1.4 hwPtpPortType OBJECT-TYPE SYNTAX INTEGER { none(1), tc(2), bc(3), tcoc(4), oc(5) } MAX-ACCESS read-create STATUS current DESCRIPTION "This port is tc type or bc type,only used in the PTP device type is tcandbc." DEFVAL { none } ::= { hwPtpPortEntry 4 } -- 1.3.6.1.4.1.2011.5.25.187.2.1.1.5 hwPtpPortDomain OBJECT-TYPE SYNTAX Integer32 (0..255) MAX-ACCESS read-create STATUS current DESCRIPTION "This port's domain,only used in the PTP device type is tcandbc." DEFVAL { 0 } ::= { hwPtpPortEntry 5 } -- 1.3.6.1.4.1.2011.5.25.187.2.1.1.6 hwPtpPortTcOcStaticClockId OBJECT-TYPE SYNTAX OCTET STRING MAX-ACCESS read-create STATUS current DESCRIPTION "TcOc device sourceport clockId." ::= { hwPtpPortEntry 6 } -- 1.3.6.1.4.1.2011.5.25.187.2.1.1.7 hwPtpPortTcOcStaticClockPortNum OBJECT-TYPE SYNTAX Integer32 (0..65535) MAX-ACCESS read-create STATUS current DESCRIPTION "TcOc device sourceport number." ::= { hwPtpPortEntry 7 } -- 1.3.6.1.4.1.2011.5.25.187.2.1.1.8 hwPtpPortAnnounceInterval OBJECT-TYPE SYNTAX INTEGER (0..20) MAX-ACCESS read-create STATUS current DESCRIPTION "Interval of sending announce message." DEFVAL { 7 } ::= { hwPtpPortEntry 8 } -- 1.3.6.1.4.1.2011.5.25.187.2.1.1.9 hwPtpPortAnnounceReceipTimeout OBJECT-TYPE SYNTAX INTEGER (0..20) MAX-ACCESS read-create STATUS current DESCRIPTION "Timeout of receiving announce message." DEFVAL { 10 } ::= { hwPtpPortEntry 9 } -- 1.3.6.1.4.1.2011.5.25.187.2.1.1.10 hwPtpPortSyncInterval OBJECT-TYPE SYNTAX INTEGER (0..20) MAX-ACCESS read-create STATUS current DESCRIPTION "Interval of sending sync message." DEFVAL { 0 } ::= { hwPtpPortEntry 10 } -- 1.3.6.1.4.1.2011.5.25.187.2.1.1.11 hwPtpPortMinDelayReqInterval OBJECT-TYPE SYNTAX INTEGER (0..20) MAX-ACCESS read-create STATUS current DESCRIPTION "Interval of sending DelayReq message." DEFVAL { 7 } ::= { hwPtpPortEntry 11 } -- 1.3.6.1.4.1.2011.5.25.187.2.1.1.12 hwPtpPortMinPdelayReqInterval OBJECT-TYPE SYNTAX INTEGER (0..20) MAX-ACCESS read-create STATUS current DESCRIPTION "Interval of sending PdelayReq message." DEFVAL { 7 } ::= { hwPtpPortEntry 12 } -- 1.3.6.1.4.1.2011.5.25.187.2.1.1.13 hwPtpPortAsymmetryNegativeCorrection OBJECT-TYPE SYNTAX Unsigned32 (0..2000000) MAX-ACCESS read-create STATUS current DESCRIPTION "Negtive asymmetry-correction value" DEFVAL { 0 } ::= { hwPtpPortEntry 13 } -- 1.3.6.1.4.1.2011.5.25.187.2.1.1.14 hwPtpPortAsymmetryPositiveCorrection OBJECT-TYPE SYNTAX Unsigned32 (0..2000000) MAX-ACCESS read-create STATUS current DESCRIPTION "Positive asymmetry-correction value" DEFVAL { 0 } ::= { hwPtpPortEntry 14 } -- 1.3.6.1.4.1.2011.5.25.187.2.1.1.15 hwPtpPortMacEgressDestinationMac OBJECT-TYPE SYNTAX MacAddress MAX-ACCESS read-create STATUS current DESCRIPTION "MacEgress destination Mac." DEFVAL { ''h } ::= { hwPtpPortEntry 15 } -- 1.3.6.1.4.1.2011.5.25.187.2.1.1.16 hwPtpPortMacEgressVlanId OBJECT-TYPE SYNTAX VlanIdOrNone MAX-ACCESS read-create STATUS current DESCRIPTION "MacEgress VlanId." DEFVAL { 0 } ::= { hwPtpPortEntry 16 } -- 1.3.6.1.4.1.2011.5.25.187.2.1.1.17 hwPtpPortMacEgressPacketPriority OBJECT-TYPE SYNTAX Integer32 (0..7) MAX-ACCESS read-create STATUS current DESCRIPTION "MacEgress Packet Priority." DEFVAL { 7 } ::= { hwPtpPortEntry 17 } -- 1.3.6.1.4.1.2011.5.25.187.2.1.1.18 hwPtpPortUdpEgressSourceIp OBJECT-TYPE SYNTAX IpAddress MAX-ACCESS read-create STATUS current DESCRIPTION "UdpEgress SourceIp." ::= { hwPtpPortEntry 18 } -- 1.3.6.1.4.1.2011.5.25.187.2.1.1.19 hwPtpPortUdpEgressDestinationIp OBJECT-TYPE SYNTAX IpAddress MAX-ACCESS read-create STATUS current DESCRIPTION "UdpEgress DestinationIp." ::= { hwPtpPortEntry 19 } -- 1.3.6.1.4.1.2011.5.25.187.2.1.1.20 hwPtpPortUdpEgressDestinationMac OBJECT-TYPE SYNTAX MacAddress MAX-ACCESS read-create STATUS current DESCRIPTION "UdpEgress Destination Mac." DEFVAL { ''h } ::= { hwPtpPortEntry 20 } -- 1.3.6.1.4.1.2011.5.25.187.2.1.1.21 hwPtpPortUdpEgressDscp OBJECT-TYPE SYNTAX Integer32 (0..63) MAX-ACCESS read-create STATUS current DESCRIPTION "UdpEgress Dscp." DEFVAL { 0 } ::= { hwPtpPortEntry 21 } -- 1.3.6.1.4.1.2011.5.25.187.2.1.1.22 hwPtpPortUdpEgressVlanId OBJECT-TYPE SYNTAX VlanIdOrNone MAX-ACCESS read-create STATUS current DESCRIPTION "UdpEgress VlanId." DEFVAL { 0 } ::= { hwPtpPortEntry 22 } -- 1.3.6.1.4.1.2011.5.25.187.2.1.1.23 hwPtpPortUdpEgressPacketPriority OBJECT-TYPE SYNTAX Integer32 (0..7) MAX-ACCESS read-create STATUS current DESCRIPTION "UdpEgress Packet Priority." DEFVAL { 7 } ::= { hwPtpPortEntry 23 } -- 1.3.6.1.4.1.2011.5.25.187.2.1.1.24 hwPtpPortAnnounceDrop OBJECT-TYPE SYNTAX EnabledStatus MAX-ACCESS read-create STATUS current DESCRIPTION "Enable AnnounceDrop function." DEFVAL { disable } ::= { hwPtpPortEntry 24 } -- 1.3.6.1.4.1.2011.5.25.187.2.1.1.25 hwPtpPortState OBJECT-TYPE SYNTAX INTEGER { master(1), slave(2), passive(3), listening(4), faulty(5), initializing(6), premaster(7), disabled(8), uncalibrated(9) } MAX-ACCESS read-only STATUS current DESCRIPTION "Indicates the port state." ::= { hwPtpPortEntry 25 } -- 1.3.6.1.4.1.2011.5.25.187.2.1.1.26 hwPtpPortSourcePortClockId OBJECT-TYPE SYNTAX OCTET STRING MAX-ACCESS read-only STATUS current DESCRIPTION "Indicates sourceportclockid of the port." ::= { hwPtpPortEntry 26 } -- 1.3.6.1.4.1.2011.5.25.187.2.1.1.27 hwPtpPortSourcePortNum OBJECT-TYPE SYNTAX Integer32 (0..65535) MAX-ACCESS read-only STATUS current DESCRIPTION "Indicates sourceport number of the port." ::= { hwPtpPortEntry 27 } -- 1.3.6.1.4.1.2011.5.25.187.2.1.1.28 hwPtpPortPortVlan OBJECT-TYPE SYNTAX Integer32 MAX-ACCESS read-create STATUS current DESCRIPTION "The VLAN of packet sent from port." ::= { hwPtpPortEntry 28 } -- 1.3.6.1.4.1.2011.5.25.187.2.1.1.30 hwPtpPortCfgLinkStatus OBJECT-TYPE SYNTAX INTEGER { down(0), up(1) } MAX-ACCESS read-create STATUS current DESCRIPTION "The link status of port." ::= { hwPtpPortEntry 30 } -- 1.3.6.1.4.1.2011.5.25.187.2.1.1.31 hwPtpPortCfgExtInterfaceMode OBJECT-TYPE SYNTAX INTEGER { extclock(1), exttime(2) } MAX-ACCESS read-create STATUS current DESCRIPTION "The mode of interface." DEFVAL { extclock } ::= { hwPtpPortEntry 31 } -- 1.3.6.1.4.1.2011.5.25.187.2.1.1.32 hwPtpPortCfgMsgFormat OBJECT-TYPE SYNTAX INTEGER { ptpeth(1), ptpip(2) } MAX-ACCESS read-create STATUS current DESCRIPTION "The format of massage." DEFVAL { ptpeth } ::= { hwPtpPortEntry 32 } -- 1.3.6.1.4.1.2011.5.25.187.2.1.1.51 hwPtpPortRowStatus OBJECT-TYPE SYNTAX RowStatus MAX-ACCESS read-create STATUS current DESCRIPTION "The row status." ::= { hwPtpPortEntry 51 } -- 1.3.6.1.4.1.2011.5.25.187.2.2 hwPtpPortStatisticTable OBJECT-TYPE SYNTAX SEQUENCE OF HwPtpPortStatisticEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "PortStatisticTable." ::= { hwPtpPortObjects 2 } -- 1.3.6.1.4.1.2011.5.25.187.2.2.1 hwPtpPortStatisticEntry OBJECT-TYPE SYNTAX HwPtpPortStatisticEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "Description." INDEX { hwPtpPortStatisticIfIndex } ::= { hwPtpPortStatisticTable 1 } HwPtpPortStatisticEntry ::= SEQUENCE { hwPtpPortStatisticIfIndex InterfaceIndex, hwPtpPortRxPtpTrsprnsPktCnt Unsigned32, hwPtpPortRxPtpDiscardTrsprnsPktCnt Unsigned32, hwPtpPortRxPtpEndPktCnt Unsigned32, hwPtpPortRxPtpDiscardEndPktCnt Unsigned32, hwPtpPortRxPtpAnnouncePktCnt Unsigned32, hwPtpPortRxPtpSyncPktCnt Unsigned32, hwPtpPortTxPtpDiscardReqCnt Unsigned32, hwPtpPortTxFifoDiscardPktCn Unsigned32, hwPtpPortStaticPktReset INTEGER } -- 1.3.6.1.4.1.2011.5.25.187.2.2.1.1 hwPtpPortStatisticIfIndex OBJECT-TYPE SYNTAX InterfaceIndex MAX-ACCESS not-accessible STATUS current DESCRIPTION "The PortStatisticIfIndex." ::= { hwPtpPortStatisticEntry 1 } -- 1.3.6.1.4.1.2011.5.25.187.2.2.1.2 hwPtpPortRxPtpTrsprnsPktCnt OBJECT-TYPE SYNTAX Unsigned32 MAX-ACCESS read-only STATUS current DESCRIPTION "The number of the PTP packets received in this port." ::= { hwPtpPortStatisticEntry 2 } -- 1.3.6.1.4.1.2011.5.25.187.2.2.1.3 hwPtpPortRxPtpDiscardTrsprnsPktCnt OBJECT-TYPE SYNTAX Unsigned32 MAX-ACCESS read-only STATUS current DESCRIPTION "The number of the PTP packets dropped in this port." ::= { hwPtpPortStatisticEntry 3 } -- 1.3.6.1.4.1.2011.5.25.187.2.2.1.4 hwPtpPortRxPtpEndPktCnt OBJECT-TYPE SYNTAX Unsigned32 MAX-ACCESS read-only STATUS current DESCRIPTION "The number of the PTP packets correct ended in this port." ::= { hwPtpPortStatisticEntry 4 } -- 1.3.6.1.4.1.2011.5.25.187.2.2.1.5 hwPtpPortRxPtpDiscardEndPktCnt OBJECT-TYPE SYNTAX Unsigned32 MAX-ACCESS read-only STATUS current DESCRIPTION "The number of the PTP packets wrong ended in this port." ::= { hwPtpPortStatisticEntry 5 } -- 1.3.6.1.4.1.2011.5.25.187.2.2.1.6 hwPtpPortRxPtpAnnouncePktCnt OBJECT-TYPE SYNTAX Unsigned32 MAX-ACCESS read-only STATUS current DESCRIPTION "The number of the announce packets received in this port." ::= { hwPtpPortStatisticEntry 6 } -- 1.3.6.1.4.1.2011.5.25.187.2.2.1.7 hwPtpPortRxPtpSyncPktCnt OBJECT-TYPE SYNTAX Unsigned32 MAX-ACCESS read-only STATUS current DESCRIPTION "The number of the sync packets received in this port." ::= { hwPtpPortStatisticEntry 7 } -- 1.3.6.1.4.1.2011.5.25.187.2.2.1.8 hwPtpPortTxPtpDiscardReqCnt OBJECT-TYPE SYNTAX Unsigned32 MAX-ACCESS read-only STATUS current DESCRIPTION "The number of the PTP req packets dropped in this port." ::= { hwPtpPortStatisticEntry 8 } -- 1.3.6.1.4.1.2011.5.25.187.2.2.1.9 hwPtpPortTxFifoDiscardPktCn OBJECT-TYPE SYNTAX Unsigned32 MAX-ACCESS read-only STATUS current DESCRIPTION "The number of the sync, req,announce packets dropped in this port because of the fifo fulled." ::= { hwPtpPortStatisticEntry 9 } -- 1.3.6.1.4.1.2011.5.25.187.2.2.1.20 hwPtpPortStaticPktReset OBJECT-TYPE SYNTAX INTEGER { reset(1), unused(2) } MAX-ACCESS read-write STATUS current DESCRIPTION "Reset port PTP packets statistic." ::= { hwPtpPortStatisticEntry 20 } -- 1.3.6.1.4.1.2011.5.25.187.2.3 hwPtpBitsClockSourceTable OBJECT-TYPE SYNTAX SEQUENCE OF HwPtpBitsClockSourceEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "BitsClockSourceTable." ::= { hwPtpPortObjects 3 } -- 1.3.6.1.4.1.2011.5.25.187.2.3.1 hwPtpBitsClockSourceEntry OBJECT-TYPE SYNTAX HwPtpBitsClockSourceEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "An entry in hwPtpPortStatisticTable." INDEX { hwPtpBitsPortIndex } ::= { hwPtpBitsClockSourceTable 1 } HwPtpBitsClockSourceEntry ::= SEQUENCE { hwPtpBitsPortIndex Integer32, hwPtpBitsClockAccuracy Integer32, hwPtpBitsClockClass Integer32, hwPtpBitsPriority1 Integer32, hwPtpBitsPriority2 Integer32, hwPtpBitsTimeSource INTEGER, hwPtpBitsSignal INTEGER, hwPtpBitsSwitch INTEGER, hwPtpBitsDirection INTEGER, hwPtpBitsNormalStatus INTEGER, hwPtpReceiveDelay Integer32, hwPtpSendDelay Integer32 } -- 1.3.6.1.4.1.2011.5.25.187.2.3.1.1 hwPtpBitsPortIndex OBJECT-TYPE SYNTAX Integer32 (1..10) MAX-ACCESS not-accessible STATUS current DESCRIPTION "The BitsPortIndex." ::= { hwPtpBitsClockSourceEntry 1 } -- 1.3.6.1.4.1.2011.5.25.187.2.3.1.2 hwPtpBitsClockAccuracy OBJECT-TYPE SYNTAX Integer32 (0..255) MAX-ACCESS read-write STATUS current DESCRIPTION "BitsClockAccuracy." DEFVAL { 32 } ::= { hwPtpBitsClockSourceEntry 2 } -- 1.3.6.1.4.1.2011.5.25.187.2.3.1.3 hwPtpBitsClockClass OBJECT-TYPE SYNTAX Integer32 (1..255) MAX-ACCESS read-write STATUS current DESCRIPTION "BitsClockClass." DEFVAL { 6 } ::= { hwPtpBitsClockSourceEntry 3 } -- 1.3.6.1.4.1.2011.5.25.187.2.3.1.4 hwPtpBitsPriority1 OBJECT-TYPE SYNTAX Integer32 (0..255) MAX-ACCESS read-write STATUS current DESCRIPTION "BitsPriority1." DEFVAL { 128 } ::= { hwPtpBitsClockSourceEntry 4 } -- 1.3.6.1.4.1.2011.5.25.187.2.3.1.5 hwPtpBitsPriority2 OBJECT-TYPE SYNTAX Integer32 (0..255) MAX-ACCESS read-write STATUS current DESCRIPTION "BitsPriority2." DEFVAL { 128 } ::= { hwPtpBitsClockSourceEntry 5 } -- 1.3.6.1.4.1.2011.5.25.187.2.3.1.6 hwPtpBitsTimeSource OBJECT-TYPE SYNTAX INTEGER { atomicclock(1), gps(2), terrestrialradio(3), ptp(4), ntp(5), handset(6), other(7), internaloscillator(8) } MAX-ACCESS read-write STATUS current DESCRIPTION "BitsTimeSource." DEFVAL { gps } ::= { hwPtpBitsClockSourceEntry 6 } -- 1.3.6.1.4.1.2011.5.25.187.2.3.1.7 hwPtpBitsSignal OBJECT-TYPE SYNTAX INTEGER { oneppsandrs232(1), twomhz(2), twombps(3), dcls(4), none(5) } MAX-ACCESS read-only STATUS current DESCRIPTION "The signal of BITS." ::= { hwPtpBitsClockSourceEntry 7 } -- 1.3.6.1.4.1.2011.5.25.187.2.3.1.8 hwPtpBitsSwitch OBJECT-TYPE SYNTAX INTEGER { off(1), on(2) } MAX-ACCESS read-write STATUS current DESCRIPTION "The switch status." DEFVAL { off } ::= { hwPtpBitsClockSourceEntry 8 } -- 1.3.6.1.4.1.2011.5.25.187.2.3.1.9 hwPtpBitsDirection OBJECT-TYPE SYNTAX INTEGER { in(1), out(2), both(3), none(4) } MAX-ACCESS read-only STATUS current DESCRIPTION "The direction of BITS." ::= { hwPtpBitsClockSourceEntry 9 } -- 1.3.6.1.4.1.2011.5.25.187.2.3.1.10 hwPtpBitsNormalStatus OBJECT-TYPE SYNTAX INTEGER { normal(1), abnormal(2) } MAX-ACCESS read-only STATUS current DESCRIPTION "The normal status of BITS." ::= { hwPtpBitsClockSourceEntry 10 } -- 1.3.6.1.4.1.2011.5.25.187.2.3.1.11 hwPtpReceiveDelay OBJECT-TYPE SYNTAX Integer32 (0..2000000) MAX-ACCESS read-write STATUS current DESCRIPTION "The delay of receive." DEFVAL { 0 } ::= { hwPtpBitsClockSourceEntry 11 } -- 1.3.6.1.4.1.2011.5.25.187.2.3.1.12 hwPtpSendDelay OBJECT-TYPE SYNTAX Integer32 (0..1600) MAX-ACCESS read-write STATUS current DESCRIPTION "The delay of send." DEFVAL { 0 } ::= { hwPtpBitsClockSourceEntry 12 } -- 1.3.6.1.4.1.2011.5.25.187.3 hwPtpExtInterfaceTable OBJECT-TYPE SYNTAX SEQUENCE OF HwPtpExtInterfaceEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "Description." ::= { hwPtpMIB 3 } -- 1.3.6.1.4.1.2011.5.25.187.3.1 hwPtpExtInterfaceEntry OBJECT-TYPE SYNTAX HwPtpExtInterfaceEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "Description." INDEX { hwPtpExtInterfaceOperateIndex } ::= { hwPtpExtInterfaceTable 1 } HwPtpExtInterfaceEntry ::= SEQUENCE { hwPtpExtInterfaceOperateIndex Integer32, hwPtpExtInterfaceOperateType INTEGER, hwPtpExtInterfaceIfIndex InterfaceIndex, hwPtpExtInterfaceDirect INTEGER, hwPtpExtInterfaceProtocoltype INTEGER, hwPtpExtInterfaceElectricLevel INTEGER } -- 1.3.6.1.4.1.2011.5.25.187.3.1.1 hwPtpExtInterfaceOperateIndex OBJECT-TYPE SYNTAX Integer32 (1..10000) MAX-ACCESS not-accessible STATUS current DESCRIPTION "The operation index of extern interface." ::= { hwPtpExtInterfaceEntry 1 } -- 1.3.6.1.4.1.2011.5.25.187.3.1.2 hwPtpExtInterfaceOperateType OBJECT-TYPE SYNTAX INTEGER { setprotocltype(1), setelectriclevel(2) } MAX-ACCESS read-create STATUS current DESCRIPTION "The operation type of extern interface." ::= { hwPtpExtInterfaceEntry 2 } -- 1.3.6.1.4.1.2011.5.25.187.3.1.3 hwPtpExtInterfaceIfIndex OBJECT-TYPE SYNTAX InterfaceIndex MAX-ACCESS read-create STATUS current DESCRIPTION "The interface index." ::= { hwPtpExtInterfaceEntry 3 } -- 1.3.6.1.4.1.2011.5.25.187.3.1.4 hwPtpExtInterfaceDirect OBJECT-TYPE SYNTAX INTEGER { input(1), output(2) } MAX-ACCESS read-create STATUS current DESCRIPTION "The direction of interface." ::= { hwPtpExtInterfaceEntry 4 } -- 1.3.6.1.4.1.2011.5.25.187.3.1.5 hwPtpExtInterfaceProtocoltype OBJECT-TYPE SYNTAX INTEGER { dcls(1), time1pps(2), j211(3) } MAX-ACCESS read-create STATUS current DESCRIPTION "The protocol type of interface." DEFVAL { dcls } ::= { hwPtpExtInterfaceEntry 5 } -- 1.3.6.1.4.1.2011.5.25.187.3.1.6 hwPtpExtInterfaceElectricLevel OBJECT-TYPE SYNTAX INTEGER { ttl(1), rs232(2), rs422(3) } MAX-ACCESS read-create STATUS current DESCRIPTION "The electric level of interface." ::= { hwPtpExtInterfaceEntry 6 } -- 1.3.6.1.4.1.2011.5.25.187.4 hwPtpCableLengthTable OBJECT IDENTIFIER ::= { hwPtpMIB 4 } -- 1.3.6.1.4.1.2011.5.25.187.4.1 hwPtpCableLengthIfindex OBJECT-TYPE SYNTAX InterfaceIndex MAX-ACCESS read-write STATUS current DESCRIPTION "The interface index." ::= { hwPtpCableLengthTable 1 } -- 1.3.6.1.4.1.2011.5.25.187.4.2 hwPtpCableLengthTransDirect OBJECT-TYPE SYNTAX INTEGER { receive(0), send(1) } MAX-ACCESS read-write STATUS current DESCRIPTION "The direction of transport." ::= { hwPtpCableLengthTable 2 } -- 1.3.6.1.4.1.2011.5.25.187.4.3 hwPtpCableLengthMode OBJECT-TYPE SYNTAX INTEGER { length(0), time(1) } MAX-ACCESS read-write STATUS current DESCRIPTION "The mode of cable length." ::= { hwPtpCableLengthTable 3 } -- 1.3.6.1.4.1.2011.5.25.187.4.4 hwPtpCableLengthTransDistance OBJECT-TYPE SYNTAX Integer32 MAX-ACCESS read-write STATUS current DESCRIPTION "The distance of cable length." ::= { hwPtpCableLengthTable 4 } -- 1.3.6.1.4.1.2011.5.25.187.5 hwPtpCableTransTable OBJECT IDENTIFIER ::= { hwPtpMIB 5 } -- 1.3.6.1.4.1.2011.5.25.187.5.1 hwPtpCableTransIfindex OBJECT-TYPE SYNTAX InterfaceIndex MAX-ACCESS read-write STATUS current DESCRIPTION "The interface index." ::= { hwPtpCableTransTable 1 } -- 1.3.6.1.4.1.2011.5.25.187.5.2 hwPtpCableTransWarpMode OBJECT-TYPE SYNTAX INTEGER { length(0), time(1) } MAX-ACCESS read-write STATUS current DESCRIPTION "The mode of transport warp." ::= { hwPtpCableTransTable 2 } -- 1.3.6.1.4.1.2011.5.25.187.5.3 hwPtpCableTransWarpDirect OBJECT-TYPE SYNTAX INTEGER { positive(0), negative(1) } MAX-ACCESS read-write STATUS current DESCRIPTION "The direction of transport warp." ::= { hwPtpCableTransTable 3 } -- 1.3.6.1.4.1.2011.5.25.187.5.4 hwPtpCableTransWarpValue OBJECT-TYPE SYNTAX Integer32 MAX-ACCESS read-write STATUS current DESCRIPTION "The value of transport warp." ::= { hwPtpCableTransTable 4 } -- 1.3.6.1.4.1.2011.5.25.187.6 hwPtpNotifications OBJECT IDENTIFIER ::= { hwPtpMIB 6 } -- 1.3.6.1.4.1.2011.5.25.187.6.1 hwPtpPortStatusChange NOTIFICATION-TYPE OBJECTS { hwPtpPortState } STATUS current DESCRIPTION "Port status change notification." ::= { hwPtpNotifications 1 } -- 1.3.6.1.4.1.2011.5.25.187.6.2 hwPtpClockSourceChange NOTIFICATION-TYPE OBJECTS { hwPtpCurrentMasterClockId } STATUS current DESCRIPTION "Clock source change notification." ::= { hwPtpNotifications 2 } -- 1.3.6.1.4.1.2011.5.25.187.6.3 hwPtpTimeSynchronizationStatusChange NOTIFICATION-TYPE OBJECTS { hwPtpTimeSynchronizationStatus } STATUS current DESCRIPTION "Time synchronization status change notification." ::= { hwPtpNotifications 3 } -- 1.3.6.1.4.1.2011.5.25.187.7 hwPtpConformance OBJECT IDENTIFIER ::= { hwPtpMIB 7 } -- 1.3.6.1.4.1.2011.5.25.187.7.1 hwPtpCompliance OBJECT IDENTIFIER ::= { hwPtpConformance 1 } -- 1.3.6.1.4.1.2011.5.25.187.7.1.1 hwPtpComliance MODULE-COMPLIANCE STATUS current DESCRIPTION "This is the PTP module compliance." MODULE -- this module MANDATORY-GROUPS { hwPtpGlobalObjectsGroup, hwPtpPortObjectsGroup, hwPtpNotificationsGroup, hwPtpManageExtInterfaceGroup, hwPtpManageCableLengthGroup, hwPtpManageCableTransGroup } ::= { hwPtpCompliance 1 } -- 1.3.6.1.4.1.2011.5.25.187.7.2 hwPtpGroups OBJECT IDENTIFIER ::= { hwPtpConformance 2 } -- 1.3.6.1.4.1.2011.5.25.187.7.2.1 hwPtpGlobalObjectsGroup OBJECT-GROUP OBJECTS { hwPtpEnable, hwPtpDomain, hwPtpSlaveOnly, hwPtpDeviceType, hwPtpLocalClockId, hwPtpLocalClockClass, hwPtpLocalClockAccuracy, hwPtpLocalClockPriority1, hwPtpLocalClockPriority2, hwPtpLocalClockTimeSource, hwPtpUtc, hwPtpCurrentUtcOffset, hwPtpCurrentMasterClockId, hwPtpCurrentMasterClockReceivePort, hwPtpCurrentMasterClockStepRemoved, hwPtpTimeSynchronizationStatus, hwPtpTimeTraceable, hwPtpTimeScale, hwPtpVersion, hwPtpLeapEmendationTime, hwCurrentUtcOffsetValid, hwPtpLeap59orLeap61Valid, hwPtpFrequencyTraceable } STATUS current DESCRIPTION "This is the hwPtpGlobalObjectsGroups." ::= { hwPtpGroups 1 } -- 1.3.6.1.4.1.2011.5.25.187.7.2.2 hwPtpPortObjectsGroup OBJECT-GROUP OBJECTS { hwPtpPortEnable, hwPtpPortDelayMechanism, hwPtpPortDomain, hwPtpPortTcOcStaticClockId, hwPtpPortAnnounceInterval, hwPtpPortAnnounceReceipTimeout, hwPtpPortSyncInterval, hwPtpPortMinDelayReqInterval, hwPtpPortMinPdelayReqInterval, hwPtpPortAsymmetryNegativeCorrection, hwPtpPortAsymmetryPositiveCorrection, hwPtpPortMacEgressDestinationMac, hwPtpPortMacEgressVlanId, hwPtpPortMacEgressPacketPriority, hwPtpPortUdpEgressSourceIp, hwPtpPortUdpEgressDestinationIp, hwPtpPortUdpEgressDestinationMac, hwPtpPortUdpEgressDscp, hwPtpPortUdpEgressVlanId, hwPtpPortUdpEgressPacketPriority, hwPtpPortAnnounceDrop, hwPtpPortState, hwPtpPortSourcePortClockId, hwPtpPortRxPtpTrsprnsPktCnt, hwPtpPortRxPtpDiscardTrsprnsPktCnt, hwPtpPortRxPtpEndPktCnt, hwPtpPortRxPtpDiscardEndPktCnt, hwPtpPortRxPtpAnnouncePktCnt, hwPtpPortRxPtpSyncPktCnt, hwPtpPortTxPtpDiscardReqCnt, hwPtpPortTxFifoDiscardPktCn, hwPtpReceiveDelay, hwPtpBitsDirection, hwPtpBitsSignal, hwPtpBitsSwitch, hwPtpBitsNormalStatus, hwPtpSendDelay, hwPtpPortRowStatus, hwPtpPortStaticPktReset, hwPtpPortType, hwPtpBitsClockAccuracy, hwPtpBitsClockClass, hwPtpPortCfgMsgFormat, hwPtpPortCfgExtInterfaceMode, hwPtpPortCfgLinkStatus, hwPtpPortPortVlan, hwPtpBitsPriority2, hwPtpBitsPriority1, hwPtpBitsTimeSource, hwPtpPortTcOcStaticClockPortNum, hwPtpPortSourcePortNum } STATUS current DESCRIPTION "Description." ::= { hwPtpGroups 2 } -- 1.3.6.1.4.1.2011.5.25.187.7.2.3 hwPtpNotificationsGroup NOTIFICATION-GROUP NOTIFICATIONS { hwPtpPortStatusChange, hwPtpClockSourceChange, hwPtpTimeSynchronizationStatusChange } STATUS current DESCRIPTION "Description." ::= { hwPtpGroups 3 } -- 1.3.6.1.4.1.2011.5.25.187.7.2.4 hwPtpManageExtInterfaceGroup OBJECT-GROUP OBJECTS { hwPtpExtInterfaceOperateType, hwPtpExtInterfaceIfIndex, hwPtpExtInterfaceDirect, hwPtpExtInterfaceProtocoltype, hwPtpExtInterfaceElectricLevel } STATUS current DESCRIPTION "Description." ::= { hwPtpGroups 4 } -- 1.3.6.1.4.1.2011.5.25.187.7.2.5 hwPtpManageCableLengthGroup OBJECT-GROUP OBJECTS { hwPtpCableLengthIfindex, hwPtpCableLengthTransDirect, hwPtpCableLengthMode, hwPtpCableLengthTransDistance } STATUS current DESCRIPTION "Description." ::= { hwPtpGroups 5 } -- 1.3.6.1.4.1.2011.5.25.187.7.2.6 hwPtpManageCableTransGroup OBJECT-GROUP OBJECTS { hwPtpCableTransIfindex, hwPtpCableTransWarpMode, hwPtpCableTransWarpDirect, hwPtpCableTransWarpValue } STATUS current DESCRIPTION "Description." ::= { hwPtpGroups 6 } END -- -- HUAWEI-PTP-MIB.mib --