1-- *****************************************************************
2-- RAISECOM-PTP-MIB.mib:  PTP MIB
3--
4-- July 2009, cuiwei
5--
6-- Copyright (c) 1996-2009 by Raisecom Technology Co., Ltd.
7-- All rights reserved.
8--
9-- *****************************************************************
10--
11
12RAISECOM-PTP-MIB DEFINITIONS ::= BEGIN
13
14IMPORTS
15        MODULE-IDENTITY, OBJECT-TYPE, Integer32 	FROM SNMPv2-SMI
16        TEXTUAL-CONVENTION, MacAddress, RowStatus	FROM SNMPv2-TC
17        EnableVar	  								FROM SWITCH-TC
18        rcPortIndex							        FROM SWITCH-SYSTEM-MIB
19        raisecomAgent                           	FROM RAISECOM-BASE-MIB;
20
21raisecomPtp   MODULE-IDENTITY
22        LAST-UPDATED    "201010290000Z"
23        ORGANIZATION    "Raisecom Technology Co., Ltd."
24        CONTACT-INFO
25		                "Raisecom Science & Technology Co., ltd.
26		                 E-mail: support@raisecom.com"
27        DESCRIPTION
28		        		"This MIB module defines a MIB which provides
29		                mechanisms to monitor an PTP clock.
30
31		   			 	Management Information Base module for PTP configuration,
32		                default dataset, current dataset, parent dataset, time proporties
33		                dataset, foreign dataset and port configuration dataset components.
34
35		                The MIB module realizes IEEE 1588 v2 protocol and contains
36		                Ordinary Clock, Boundary Clock and Transparent Clock."
37
38        REVISION     	"201010290000Z"
39        DESCRIPTION
40            		 	"version 1.0"
41
42        ::= { raisecomAgent 26 }
43
44--
45-- Textual Conventions
46--
47
48PTPTimeStamp ::= TEXTUAL-CONVENTION
49        DISPLAY-HINT "6d.4d"
50        STATUS       current
51        DESCRIPTION
52	        		"PTP timestamps are represented as a 96-bit
53	                unsigned fixed-point number, in seconds relative to
54	                00:00 on 1 January 1970.  The integer part which means
55	                how many seconds is in the first 64 bits and the fraction
56	                part which means how many nanoseconds is in the last 32 bits."
57        REFERENCE
58	                "IEEE std 1588-2008, Precision Time Protocol (Version 2)"
59        SYNTAX       OCTET STRING (SIZE (10))
60
61PTPTimeInterval ::= TEXTUAL-CONVENTION
62        DISPLAY-HINT "8d.4d"
63        STATUS       current
64        DESCRIPTION
65	        		"PTP timeinterval are represented as a 96-bit
66	                signed fixed-point number, in nanoseconds. The first 64 bits
67	                means how many nanoseconds, the last 32 bits reserve to zero."
68        REFERENCE
69	                "IEEE std 1588-2008, Precision Time Protocol (Version 2)"
70        SYNTAX       OCTET STRING (SIZE (12))
71
72PTPClockIdentity ::= TEXTUAL-CONVENTION
73        DISPLAY-HINT "1h:1h:1h:1h:1h:1h:1h:1h"
74        STATUS       current
75        DESCRIPTION
76	        		"Indicates the identity of the clock device, has 64 bits.
77					In the PTP system, each clock device has only identity
78					and every identity is not same."
79        REFERENCE
80	                "IEEE std 1588-2008, Precision Time Protocol (Version 2)"
81        SYNTAX       OCTET STRING (SIZE (8))
82
83PTPPortIdentity ::= TEXTUAL-CONVENTION
84        DISPLAY-HINT "1h:1h:1h:1h:1h:1h:1h:1h.2d"
85        STATUS       current
86        DESCRIPTION
87	        		"Indicates the identity of the port in clock device,
88	        		has 80 bits. The first 64 bits means the clock identity
89	        		which contains this port. The last 16 bits are represented
90	        		as a unsigned short number, which means physical port number."
91        REFERENCE
92	                "IEEE std 1588-2008, Precision Time Protocol (Version 2)"
93        SYNTAX       OCTET STRING (SIZE (10))
94
95
96--
97-- The various groups defined within this MIB definition:
98--
99raisecomPtpGlobal         		OBJECT IDENTIFIER ::= { raisecomPtp 1 }
100raisecomPtpClock          		OBJECT IDENTIFIER ::= { raisecomPtp 2 }
101raisecomPtpCurrent        		OBJECT IDENTIFIER ::= { raisecomPtp 3 }
102raisecomPtpParent					OBJECT IDENTIFIER ::= { raisecomPtp 4 }
103raisecomPtpTimeProperty   		OBJECT IDENTIFIER ::= { raisecomPtp 5 }
104raisecomPtpPorts					OBJECT IDENTIFIER ::= { raisecomPtp 6 }
105raisecomPtpForeignRecords		    OBJECT IDENTIFIER ::= { raisecomPtp 7 }
106raisecomPtpMessageStat 		    OBJECT IDENTIFIER ::= { raisecomPtp 8 }
107raisecomPtpUnicastAddr		    OBJECT IDENTIFIER ::= { raisecomPtp 9 }
108raisecomPtpTClock                 OBJECT IDENTIFIER ::= { raisecomPtp 10 }
109raisecomPtpTCPorts                OBJECT IDENTIFIER ::= { raisecomPtp 11 }
110raisecomPtpTraps                  OBJECT IDENTIFIER ::= { raisecomPtp 12 }
111
112
113--
114-- Global Group
115--
116raisecomPtpEnable 		OBJECT-TYPE
117        SYNTAX      INTEGER{ disable(0), enable(1) }
118        MAX-ACCESS  read-write
119        STATUS      current
120        DESCRIPTION
121	        		"This object indicates whether PTP is enabled."
122        DEFVAL 		{ 0 }
123        ::= { raisecomPtpGlobal 1 }
124
125raisecomPtpClockMode 		OBJECT-TYPE
126        SYNTAX      INTEGER{ordinary(1), boundary(2), e2e-transparent(3), p2p-transparent(4) }
127        MAX-ACCESS  read-write
128        STATUS      current
129        DESCRIPTION
130	        		"This object indicates the device clock mode.
131                    The default mode is disable which means that the device pass
132                    through PTP packet with nothing to do."
133        DEFVAL 		{ 1 }
134        ::= { raisecomPtpGlobal 2 }
135
136raisecomPtpClockUnicastFlag  OBJECT-TYPE
137        SYNTAX      INTEGER{ unicast(1), multicast(0) }
138        MAX-ACCESS  read-write
139        STATUS      current
140        DESCRIPTION
141	        		"This object indicates the current method of transmiting PTP
142	        		packets in multicast or unicast."
143        DEFVAL 		{ 0 }
144        ::= { raisecomPtpGlobal 3 }
145
146raisecomPtpClockStepFlag 	OBJECT-TYPE
147        SYNTAX      INTEGER{ onestep(1), twostep(2) }
148        MAX-ACCESS  read-write
149        STATUS      current
150        DESCRIPTION
151	        		"Indicates the current step mode of the master port
152	        		in the clock device. When the flag is twoStep mode,
153	        		master port will send Follow Up message."
154        DEFVAL 		{ 1 }
155        ::= { raisecomPtpGlobal 4 }
156
157
158raisecomPtpClockStatisticClear  OBJECT-TYPE
159        SYNTAX      INTEGER{ invalid(0),clear(1) }
160        MAX-ACCESS  read-write
161        STATUS      current
162        DESCRIPTION
163	        		"When this object is set to 1, all of the statistic information
164	        		 of PTP packets are clean."
165        DEFVAL 		{ 0 }
166        ::= { raisecomPtpGlobal 5 }
167
168--
169-- raisecomPtpPortEntry
170--
171
172raisecomPtpGlobalPortTable 	OBJECT-TYPE
173        SYNTAX      SEQUENCE OF RaisecomPtpGlobalPortEntry
174        MAX-ACCESS  not-accessible
175        STATUS      current
176        DESCRIPTION
177	        		"This table provides universal information of PTP clock."
178        ::= { raisecomPtpGlobal 6 }
179
180raisecomPtpGlobalPortEntry 	OBJECT-TYPE
181        SYNTAX      RaisecomPtpGlobalPortEntry
182        MAX-ACCESS  not-accessible
183        STATUS      current
184        DESCRIPTION
185	        		"Each port entry provides PTP port information. Entries
186	                are automatically created when the system running."
187        INDEX   	{ rcPortIndex }
188        ::= { raisecomPtpGlobalPortTable 1 }
189
190RaisecomPtpGlobalPortEntry ::= SEQUENCE {
191        raisecomPtpPortEnable			                INTEGER,
192        raisecomPtpPortTransmitProtocol         		INTEGER,
193        raisecomPtpPortVlan                        	Integer32,
194        raisecomPtpPortAsymmetryDelay					Integer32
195        }
196
197raisecomPtpPortEnable 	OBJECT-TYPE
198        SYNTAX      INTEGER { enable(1),disable(0) }
199        MAX-ACCESS  read-write
200        STATUS      current
201        DESCRIPTION
202	        		"Indicates whether port enable PTP function or not.When the
203	        		port is disable, all packets pass through from this port."
204        ::= { raisecomPtpGlobalPortEntry 1 }
205
206raisecomPtpPortTransmitProtocol  OBJECT-TYPE
207        SYNTAX      INTEGER{ ethernet(3), udp(1) }
208        MAX-ACCESS  read-write
209        STATUS      current
210        DESCRIPTION
211	        		"Indicates the current method of transmiting PTP packets
212	        		in layer2 based Ethernet or layer3 based UDP."
213        DEFVAL 		{ 1 }
214        ::= { raisecomPtpGlobalPortEntry 2 }
215
216raisecomPtpPortVlan  OBJECT-TYPE
217        SYNTAX      Integer32 (0..4094)
218        MAX-ACCESS  read-write
219        STATUS      current
220        DESCRIPTION
221	        		"This object indicates the encapsulation vlan of ptp packet,
222	        		0 means no vlan tag is encapsulated."
223        DEFVAL 		{ 0 }
224        ::= { raisecomPtpGlobalPortEntry 3 }
225
226raisecomPtpPortAsymmetryDelay OBJECT-TYPE
227        SYNTAX      Integer32
228        UNITS       "nanseconds"
229        MAX-ACCESS  read-write
230        STATUS      current
231        DESCRIPTION
232	        		"Indicates two net path asymmetry delay in nanoseconds.
233	        		The 32 bits value is positive or negative."
234        ::= { raisecomPtpGlobalPortEntry 4 }
235
236--
237-- Clock Group, reference defaultDS
238--
239raisecomPtpClockIdentity  OBJECT-TYPE
240        SYNTAX      PTPClockIdentity
241        MAX-ACCESS  read-only
242        STATUS      current
243        DESCRIPTION
244	        		"Indicates the identity of the port in clock device,
245					In the PTP system, each clock device has only identity
246					and every identity is not same."
247        ::= { raisecomPtpClock 1 }
248
249raisecomPtpClockDomain    OBJECT-TYPE
250        SYNTAX      Integer32(0..255)
251        MAX-ACCESS  read-write
252        STATUS      current
253        DESCRIPTION
254	        		"Indicates the domain number of the clock device,
255					reference Table-2 in PTP v2 Protocol."
256        DEFVAL 		{ 0 }
257        ::= { raisecomPtpClock 2 }
258
259raisecomPtpClockPriority1 OBJECT-TYPE
260        SYNTAX      Integer32(0..255)
261        MAX-ACCESS  read-write
262        STATUS      current
263        DESCRIPTION
264	        		"Indicates the priority1 value of the clock device.
265	        		The value is useful in BMC algorithm, and when the
266	        		value is lower, the priority of device is better."
267        DEFVAL 		{ 128 }
268        ::= { raisecomPtpClock 3 }
269
270raisecomPtpClockPriority2 OBJECT-TYPE
271        SYNTAX      Integer32(0..255)
272        MAX-ACCESS  read-write
273        STATUS      current
274        DESCRIPTION
275	        		"Indicates the priority2 value of the clock device.
276	        		The value is useful in BMC algorithm, and when the
277	        		value is lower, the priority of device is better."
278        DEFVAL 		{ 128 }
279        ::= { raisecomPtpClock 4 }
280
281raisecomPtpClockClass		OBJECT-TYPE
282        SYNTAX      Integer32(0..255)
283        MAX-ACCESS  read-only
284        STATUS      current
285        DESCRIPTION
286	        		"Indicates the clock class of the clock device,
287					reference Table-5 in PTP v2 Protocol."
288        ::= { raisecomPtpClock 5 }
289
290raisecomPtpClockAccuracy  OBJECT-TYPE
291        SYNTAX      Integer32(0..255)
292        MAX-ACCESS  read-only
293        STATUS      current
294        DESCRIPTION
295	        		"Indicates the clock accuracy of the clock device,
296					reference Table-6 in PTP v2 Protocol."
297        ::= { raisecomPtpClock 6 }
298
299raisecomPtpClockOffsetScaledLogVariance OBJECT-TYPE
300        SYNTAX      Integer32(0..65535)
301        MAX-ACCESS  read-only
302        STATUS      current
303        DESCRIPTION
304	        		"Indicates the estimate log2 value of the local clock
305	        		variance."
306        ::= { raisecomPtpClock 7 }
307
308raisecomPtpClockNumberPorts 	OBJECT-TYPE
309        SYNTAX      Integer32(0..65535)
310        MAX-ACCESS  read-only
311        STATUS      current
312        DESCRIPTION
313	        		"This object indicates the PTP ports number."
314        DEFVAL 		{ 0 }
315        ::= { raisecomPtpClock 8 }
316
317raisecomPtpClockSlaveOnly 	OBJECT-TYPE
318        SYNTAX      INTEGER{ non-slave-only(0), slave-only(1) }
319        MAX-ACCESS  read-write
320        STATUS      current
321        DESCRIPTION
322	        		"This object indicates the whether the ordinary clock
323	        		is in slave only mode."
324        DEFVAL 		{ 0 }
325        ::= { raisecomPtpClock 9 }
326
327--
328-- Current Group, reference currentDS
329--
330
331raisecomPtpCurrentEndMeanPathDelay OBJECT-TYPE
332        SYNTAX 		PTPTimeInterval
333        MAX-ACCESS 	read-only
334        STATUS 		current
335        DESCRIPTION
336	        		"Indicates the mean path delay as slave port
337	        		in request and response mechanism(E2E)."
338        ::= { raisecomPtpCurrent 1 }
339
340raisecomPtpCurrentOffsetFromParent OBJECT-TYPE
341        SYNTAX 		PTPTimeInterval
342        MAX-ACCESS 	read-only
343        STATUS 		current
344        DESCRIPTION
345	        		"Indicates the offset from parent clock as slave port
346	        		in request and response mechanism(E2E) and peer delay
347	        		mechanism(P2P)."
348        ::= { raisecomPtpCurrent 2 }
349
350raisecomPtpCurrentStepsRemoved OBJECT-TYPE
351        SYNTAX      Integer32(0..256)
352        MAX-ACCESS  read-only
353        STATUS      current
354        DESCRIPTION
355	        		"Indicates the passing device number from clock port
356	        		which sends the message."
357        ::= { raisecomPtpCurrent 3 }
358
359--
360-- Parent Group, reference parentDS
361--
362
363raisecomPtpParentPortIdentity OBJECT-TYPE
364        SYNTAX 		PTPPortIdentity
365        MAX-ACCESS 	read-only
366        STATUS 		current
367        DESCRIPTION
368	        		"Indicates the identity of the parent clock as the
369	        		slave port. The value will be updated by BMC algorithm."
370        ::= { raisecomPtpParent 1 }
371
372raisecomPtpParentSatisticsFlag OBJECT-TYPE
373        SYNTAX 		INTEGER{ nosatistics(0), satistics(1) }
374        MAX-ACCESS 	read-only
375        STATUS 		current
376        DESCRIPTION
377	        		"Indicates the whether parent satistics enable or disable.
378	        		When the flag is disable, the two parent satistics vlaue
379	        		is invalidation."
380        ::= { raisecomPtpParent 2 }
381
382raisecomPtpParentOffsetScaledLogVariance OBJECT-TYPE
383        SYNTAX      Integer32(0..65535)
384        MAX-ACCESS  read-only
385        STATUS      current
386        DESCRIPTION
387	        		"Indicates the estimate log2 value of the parent clock
388	        		variance as observed by the slave clock."
389        ::= { raisecomPtpParent 3 }
390
391raisecomPtpParentPhaseChangeRate OBJECT-TYPE
392        SYNTAX 		Integer32
393        MAX-ACCESS 	read-only
394        STATUS 		current
395        DESCRIPTION
396	        		"Indicates the estimate value of the parent clock phase
397	        		change rate as observed by the slave clock."
398        ::= { raisecomPtpParent 4 }
399
400raisecomPtpGrandmasterIdentity OBJECT-TYPE
401        SYNTAX 		PTPClockIdentity
402        MAX-ACCESS 	read-only
403        STATUS 		current
404        DESCRIPTION
405	        		"Indicates the identity of the grandmaster clock as the
406	        		slave port. The value will be updated by BMC algorithm."
407        ::= { raisecomPtpParent 5 }
408
409raisecomPtpGrandmasterPriority1 OBJECT-TYPE
410        SYNTAX      Integer32(0..255)
411        MAX-ACCESS  read-only
412        STATUS      current
413        DESCRIPTION
414	        		"Indicates the priority1 value of the grandmaster clock.
415	        		The value is useful in BMC algorithm."
416        ::= { raisecomPtpParent 6 }
417
418raisecomPtpGrandmasterPriority2 OBJECT-TYPE
419        SYNTAX      Integer32(0..255)
420        MAX-ACCESS  read-only
421        STATUS      current
422        DESCRIPTION
423	        		"Indicates the priority2 value of the grandmaster clock.
424	        		The value is useful in BMC algorithm."
425        ::= { raisecomPtpParent 7 }
426
427raisecomPtpGrandmasterClockClass		OBJECT-TYPE
428        SYNTAX      Integer32(0..255)
429        MAX-ACCESS  read-only
430        STATUS      current
431        DESCRIPTION
432	        		"Indicates the clock class of the grandmaster clock,
433					reference Table-5 in PTP v2 Protocol."
434        ::= { raisecomPtpParent 8 }
435
436raisecomPtpGrandmasterClockAccuracy  OBJECT-TYPE
437        SYNTAX      Integer32(0..255)
438        MAX-ACCESS  read-only
439        STATUS      current
440        DESCRIPTION
441	        		"Indicates the clock accuracy of the grandmaster clock,
442					reference Table-6 in PTP v2 Protocol."
443        ::= { raisecomPtpParent 9 }
444
445raisecomPtpGrandmasterOffsetScaledLogVariance OBJECT-TYPE
446        SYNTAX      Integer32(0..65535)
447        MAX-ACCESS  read-only
448        STATUS      current
449        DESCRIPTION
450	        		"Indicates the estimate log2 value of the grandmaster
451	        		clock variance as observed by the slave clock."
452        ::= { raisecomPtpParent 10 }
453
454--
455-- TimeProperty Group, reference timePropertiesDS
456--
457
458raisecomPtpTimeProCurrentUtcOffset OBJECT-TYPE
459        SYNTAX 		Integer32(0..65535)
460        UNITS       "seconds"
461        MAX-ACCESS 	read-only
462        STATUS 		current
463        DESCRIPTION
464	        		"Indicates the offset seconds between TAI and UTC time."
465        ::= { raisecomPtpTimeProperty 1 }
466
467raisecomPtpTimeProCurrentUtcOffsetValid OBJECT-TYPE
468        SYNTAX 		INTEGER{ novalid(0), valid(1) }
469        MAX-ACCESS 	read-only
470        STATUS 		current
471        DESCRIPTION
472	        		"Indicates whether the offset seconds between TAI and UTC
473	        		time is valid or not."
474        ::= { raisecomPtpTimeProperty 2 }
475
476raisecomPtpTimeProLeap	OBJECT-TYPE
477        SYNTAX 		INTEGER{ noleap(0), leap61(1), leap59(2) }
478        MAX-ACCESS 	read-only
479        STATUS 		current
480        DESCRIPTION
481	        		"Indicates the leap second to be inserted in the UTC time,
482	        		which is the time leap59 and leap61 flag."
483        ::= { raisecomPtpTimeProperty 3 }
484
485raisecomPtpTimeProTimeFrequencyTraceable OBJECT-TYPE
486        SYNTAX      INTEGER{ none(0), time(1), frequency(2), both(3) }
487        MAX-ACCESS  read-only
488        STATUS      current
489        DESCRIPTION
490	        		"Indicates whether time and frequency traceable to primary
491	        		reference or not, which is the time traceable and frequency
492	        		traceable flag."
493        ::= { raisecomPtpTimeProperty 4 }
494
495raisecomPtpTimeProMatchTimescale OBJECT-TYPE
496        SYNTAX 		INTEGER{ noptptime(0), ptptime(1) }
497        MAX-ACCESS 	read-only
498        STATUS 		current
499        DESCRIPTION
500	        		"Indicates whether math PTP time or ARB time, which is the
501	        		PTP time flag."
502        ::= { raisecomPtpTimeProperty 5 }
503
504raisecomPtpTimeProTimeSource OBJECT-TYPE
505        SYNTAX      Integer32(0..255)
506        MAX-ACCESS  read-write
507        STATUS      current
508        DESCRIPTION
509	        		"Indicates the administrative time source of the system clock,
510					reference Table-7 in PTP v2 Protocol.
511					atomic clock(0x10)
512					gps(0x20)
513					terrestrial radio(0x30)
514					ptp(0x40)
515					ntp(0x50)
516					handset(0x60)
517					internal oscillator(0xa0)"
518        ::= { raisecomPtpTimeProperty 6 }
519
520raisecomPtpTimeProTimeSourceOper OBJECT-TYPE
521        SYNTAX      Integer32(0..255)
522        MAX-ACCESS  read-only
523        STATUS      current
524        DESCRIPTION
525	        		"Indicates the current time source of the system clock,
526					reference Table-7 in PTP v2 Protocol.
527					atomic clock(0x10)
528					gps(0x20)
529					terrestrial radio(0x30)
530					ptp(0x40)
531					ntp(0x50)
532					handset(0x60)
533					internal oscillator(0xa0)"
534        ::= { raisecomPtpTimeProperty 7 }
535
536--
537-- Ports Group, Port state table, reference portDS
538--
539
540raisecomPtpPortTable 	OBJECT-TYPE
541        SYNTAX      SEQUENCE OF RaisecomPtpPortEntry
542        MAX-ACCESS  not-accessible
543        STATUS      current
544        DESCRIPTION
545	        		"This table provides information in each port which
546	        		contains port state, property and setting."
547        ::= { raisecomPtpPorts 1 }
548
549raisecomPtpPortEntry 		OBJECT-TYPE
550        SYNTAX      RaisecomPtpPortEntry
551        MAX-ACCESS  not-accessible
552        STATUS      current
553        DESCRIPTION
554	        		"Each port entry provides PTP port information. Entries
555	                are automatically created when the system running."
556        INDEX   	{ rcPortIndex }
557        ::= { raisecomPtpPortTable 1 }
558
559RaisecomPtpPortEntry ::= SEQUENCE {
560        raisecomPtpPortIdentity			            OCTET STRING,
561        raisecomPtpPortState         					INTEGER,
562        raisecomPtpPortStateForce         			INTEGER,
563        raisecomPtpPortDelayMechanism    				INTEGER,
564        raisecomPtpPortPeerMeanPathDelay         		PTPTimeInterval,
565        raisecomPtpPortLogSyncInterval        		Integer32,
566        raisecomPtpPortLogAnnounceInterval       		Integer32,
567        raisecomPtpPortLogMinDelayRequestInterval   	Integer32,
568        raisecomPtpPortAnnounceReceiptTimeout 		Integer32,
569        raisecomPtpPortLogMinPDelayRequestInterval	Integer32,
570        raisecomPtpPortVersionNumber                 	INTEGER,
571        raisecomPtpPortUnicastMasterMaxIndex			Integer32,
572        raisecomPtpPortUnicastPeerMaxIndex			Integer32
573}
574
575raisecomPtpPortIdentity 		OBJECT-TYPE
576        SYNTAX      OCTET STRING
577        MAX-ACCESS  read-only
578        STATUS      current
579        DESCRIPTION
580	        		"This object indicates port identity of ptp clock."
581        ::= { raisecomPtpPortEntry 1 }
582
583
584raisecomPtpPortState 		OBJECT-TYPE
585        SYNTAX      INTEGER{ invalid(0), initializing(1), faulty(2), disabled(3),
586        					 listening(4), premaster(5), master(6), passive(7),
587        					 uncalibrated(8), slave(9) }
588        MAX-ACCESS  read-only
589        STATUS      current
590        DESCRIPTION
591	        		"Indicates the port state of the ordinary clock and boundary
592	        		clock, reference Table-8 in PTP v2 Protocol.
593	        		As transparent clock, the value 0 means this port is invalid,
594	        		and other values mean this port is valid."
595        DEFVAL 		{ invalid }
596        ::= { raisecomPtpPortEntry 2 }
597
598raisecomPtpPortStateForce OBJECT-TYPE
599        SYNTAX      INTEGER{ noforce(0), master(6), passive(7), slave(9) }
600        MAX-ACCESS  read-write
601        STATUS      current
602        DESCRIPTION
603	        		"Indicates whether port force PTP state or not. When the port
604	        		is force state, this port will do not update state using BMC."
605        DEFVAL 		{ noforce }
606        ::= { raisecomPtpPortEntry 3 }
607
608raisecomPtpPortDelayMechanism  OBJECT-TYPE
609        SYNTAX      INTEGER{ end-to-end(1), peer-to-peer(2)}
610        MAX-ACCESS  read-write
611        STATUS      current
612        DESCRIPTION
613	        		"Indicates the port delay mechanism of the clock device."
614        DEFVAL 		{ 1 }
615        ::= { raisecomPtpPortEntry 4 }
616
617raisecomPtpPortPeerMeanPathDelay	OBJECT-TYPE
618        SYNTAX      PTPTimeInterval
619        MAX-ACCESS  read-only
620        STATUS      current
621        DESCRIPTION
622	        		"Indicates the port mean path delay of the boundary clock
623	        		using peer delay mechanism and p2ptransparent clock."
624        ::= { raisecomPtpPortEntry 5 }
625
626raisecomPtpPortLogSyncInterval  OBJECT-TYPE
627        SYNTAX      Integer32(-6..-1)
628        MAX-ACCESS  read-write
629        STATUS      current
630        DESCRIPTION
631	        		"Indicates the setting log2 value of the master port sending
632	        		Sync message interval. So the interval time is 2^n seconds."
633        ::= { raisecomPtpPortEntry 6 }
634
635raisecomPtpPortLogAnnounceInterval OBJECT-TYPE
636        SYNTAX      Integer32(-1..4)
637        MAX-ACCESS  read-write
638        STATUS      current
639        DESCRIPTION
640	        		"Indicates the setting log2 value of the master port sending
641	        		Announce message interval. So the interval time is 2^n seconds."
642        ::= { raisecomPtpPortEntry 7 }
643
644raisecomPtpPortLogMinDelayRequestInterval OBJECT-TYPE
645        SYNTAX      Integer32(-6..-1)
646        MAX-ACCESS  read-write
647        STATUS      current
648        DESCRIPTION
649	        		"Indicates the setting min log2 value of the master port sending
650	        		Delay_Req message interval in boundary clock and peer port
651	        		sending Pdelay_Req message interval in p2ptransparent clock.
652	        		So the interval time is 2^n seconds."
653        ::= { raisecomPtpPortEntry 8 }
654
655raisecomPtpPortAnnounceReceiptTimeout  OBJECT-TYPE
656        SYNTAX      Integer32(3..16)
657        MAX-ACCESS  read-write
658        STATUS      current
659        DESCRIPTION
660	        		"Indicates the integral multiple of announce interval for the port
661	        		receipting Announce massage timeout in the boundary clock.
662	        		So the timeout time is n*(2^port.logAnnounce-interval) seconds."
663        ::= { raisecomPtpPortEntry 9 }
664
665raisecomPtpPortLogMinPDelayRequestInterval OBJECT-TYPE
666        SYNTAX      Integer32(-6..-1)
667        MAX-ACCESS  read-write
668        STATUS      current
669        DESCRIPTION
670	        		"This object indicates the setting min log2 value of the
671	        		master port sending Delay_Req message interval in boundary
672	        		clock and peer port sending Pdelay_Req message interval
673	        		in p2ptransparent clock. The interval time is 2^n seconds."
674        ::= { raisecomPtpPortEntry 10 }
675
676raisecomPtpPortVersionNumber  OBJECT-TYPE
677        SYNTAX      INTEGER {v1(1),v2(2)}
678        MAX-ACCESS  read-only
679        STATUS      current
680        DESCRIPTION
681	        		"This object indicates the PTP version in use on the port."
682        DEFVAL 		{ 2 }
683        ::= { raisecomPtpPortEntry 11 }
684
685raisecomPtpPortUnicastMasterMaxIndex	OBJECT-TYPE
686        SYNTAX      Integer32
687        MAX-ACCESS  read-only
688        STATUS      current
689        DESCRIPTION
690	        		"Indicates the current max index for setting master address."
691        ::= { raisecomPtpPortEntry 12 }
692
693raisecomPtpPortUnicastPeerMaxIndex	OBJECT-TYPE
694        SYNTAX      Integer32
695        MAX-ACCESS  read-only
696        STATUS      current
697        DESCRIPTION
698	        		"Indicates the current max index for setting peer address."
699        ::= { raisecomPtpPortEntry 13 }
700
701
702--
703-- ForeignMasterRecord Group, Record information table, reference foreignmasterDS
704--
705
706raisecomPtpForeignRecordTable OBJECT-TYPE
707        SYNTAX      SEQUENCE OF RaisecomPtpForeignRecordEntry
708        MAX-ACCESS  not-accessible
709        STATUS      current
710        DESCRIPTION
711	        		"This table provides information of each foreign master record."
712        ::= { raisecomPtpForeignRecords 1 }
713
714raisecomPtpForeignRecordEntry	OBJECT-TYPE
715        SYNTAX      RaisecomPtpForeignRecordEntry
716        MAX-ACCESS  not-accessible
717        STATUS      current
718        DESCRIPTION
719	        		"Indicates the foreign master record information coming from port
720	        		receipting Announce message. The table size is fixed to five items.
721	        		The information is useful in BMC algorithm."
722        INDEX   	{ rcPortIndex, raisecomPtpForeignRecordIndex }
723        ::= { raisecomPtpForeignRecordTable 1 }
724
725RaisecomPtpForeignRecordEntry ::= SEQUENCE {
726		raisecomPtpForeignRecordIndex				Integer32,
727        raisecomPtpForeignRecordValid				INTEGER,
728        raisecomPtpForeignRecordPortIdentity    	PTPPortIdentity,
729        raisecomPtpForeignRecordAnnounceNum    	Integer32
730}
731
732raisecomPtpForeignRecordIndex   OBJECT-TYPE
733        SYNTAX      Integer32(0..4)
734        MAX-ACCESS  not-accessible
735        STATUS      current
736        DESCRIPTION
737					"An integer value in the specified range that is used to
738	                index into the table. Entries are added starting at index 0.
739	                The index wraps back to 0 when it reaches 4."
740        ::= { raisecomPtpForeignRecordEntry 1 }
741
742raisecomPtpForeignRecordValid  OBJECT-TYPE
743        SYNTAX      INTEGER{ novalid(0), valid(1) }
744        MAX-ACCESS  read-only
745        STATUS      current
746        DESCRIPTION
747	        		"Indicates whether this foreign master record valid or not.
748	        		Valid record will be used in BMC for Boundary clock."
749        ::= { raisecomPtpForeignRecordEntry 2 }
750
751raisecomPtpForeignRecordPortIdentity  OBJECT-TYPE
752        SYNTAX      PTPPortIdentity
753        MAX-ACCESS  read-only
754        STATUS      current
755        DESCRIPTION
756	        		"Indicates the foreign master record port identity."
757        ::= { raisecomPtpForeignRecordEntry 3 }
758
759raisecomPtpForeignRecordAnnounceNum  OBJECT-TYPE
760        SYNTAX      Integer32
761        MAX-ACCESS  read-only
762        STATUS      current
763        DESCRIPTION
764	        		"Indicates the number of receipting Announce message in the
765	        		fixed time interval."
766        ::= { raisecomPtpForeignRecordEntry 4 }
767
768--
769-- MessageStat Group, Message statistic table, user definition
770--
771
772raisecomPtpMessageStatTable OBJECT-TYPE
773        SYNTAX      SEQUENCE OF RaisecomPtpMessageStatEntry
774        MAX-ACCESS  not-accessible
775        STATUS      current
776        DESCRIPTION
777	        		"This table provides statistic information about the number
778	        		of packets which each port sends and receives PTPv2 message."
779        ::= { raisecomPtpMessageStat 1 }
780
781raisecomPtpMessageStatEntry OBJECT-TYPE
782        SYNTAX      RaisecomPtpMessageStatEntry
783        MAX-ACCESS  not-accessible
784        STATUS      current
785        DESCRIPTION
786	        		"Each port entry provides PTP port message statistic information.
787	        		Entries are automatically created when the system running.
788	        		When ptp is disabled on one port,the statistic information of that
789	        		port are cleared."
790        INDEX   	{ rcPortIndex }
791        ::= { raisecomPtpMessageStatTable 1 }
792
793RaisecomPtpMessageStatEntry ::= SEQUENCE {
794        raisecomPtpMsgStatSendSync         			Integer32,
795        raisecomPtpMsgStatReceiveSync         		Integer32,
796        raisecomPtpMsgStatSendAnnounce         		Integer32,
797        raisecomPtpMsgStatReceiveAnnounce         	Integer32,
798        raisecomPtpMsgStatSendFollowUp				Integer32,
799        raisecomPtpMsgStatReceiveFollowUp				Integer32,
800        raisecomPtpMsgStatSendDelayReq         		Integer32,
801        raisecomPtpMsgStatReceiveDelayReq         	Integer32,
802        raisecomPtpMsgStatSendDelayResp         		Integer32,
803        raisecomPtpMsgStatReceiveDelayResp         	Integer32,
804        raisecomPtpMsgStatSendPdelayReq    			Integer32,
805        raisecomPtpMsgStatReceivePdelayReq    		Integer32,
806        raisecomPtpMsgStatSendPdelayResp        		Integer32,
807        raisecomPtpMsgStatReceivePdelayResp        	Integer32,
808        raisecomPtpMsgStatSendPdelayRespFUp           Integer32,
809        raisecomPtpMsgStatReceivePdelayRespFUp        Integer32,
810        raisecomPtpMsgStatSendSignaling			   	Integer32,
811        raisecomPtpMsgStatReceiveSignaling			Integer32,
812        raisecomPtpMsgStatSendManagement		 		Integer32,
813        raisecomPtpMsgStatReceiveManagement		 	Integer32,
814        raisecomPtpMsgStatSendError              		Integer32,
815        raisecomPtpMsgStatReceiveUnknown             	Integer32,
816        raisecomPtpMsgStatSendTotalNum				Integer32,
817        raisecomPtpMsgStatReceiveTotalNum				Integer32
818}
819
820raisecomPtpMsgStatSendSync OBJECT-TYPE
821        SYNTAX      Integer32
822        MAX-ACCESS  read-only
823        STATUS      current
824        DESCRIPTION
825	        		"Indicates the number of PTPv2 Sync message which
826	        		the port sends since its initialization."
827        ::= { raisecomPtpMessageStatEntry 1 }
828
829raisecomPtpMsgStatReceiveSync OBJECT-TYPE
830        SYNTAX      Integer32
831        MAX-ACCESS  read-only
832        STATUS      current
833        DESCRIPTION
834	        		"Indicates the number of PTPv2 Sync message which
835	        		the port receives since its initialization."
836        ::= { raisecomPtpMessageStatEntry 2 }
837
838raisecomPtpMsgStatSendAnnounce OBJECT-TYPE
839        SYNTAX      Integer32
840        MAX-ACCESS  read-only
841        STATUS      current
842        DESCRIPTION
843	        		"Indicates the number of PTPv2 Announce message which
844	        		the port sends since its initialization."
845        ::= { raisecomPtpMessageStatEntry 3 }
846
847raisecomPtpMsgStatReceiveAnnounce OBJECT-TYPE
848        SYNTAX      Integer32
849        MAX-ACCESS  read-only
850        STATUS      current
851        DESCRIPTION
852	        		"Indicates the number of PTPv2 Announce message which
853	        		the port receives since its initialization."
854        ::= { raisecomPtpMessageStatEntry 4 }
855
856raisecomPtpMsgStatSendFollowUp OBJECT-TYPE
857        SYNTAX      Integer32
858        MAX-ACCESS  read-only
859        STATUS      current
860        DESCRIPTION
861	        		"Indicates the number of PTPv2 FollowUp message which
862	        		the port sends since its initialization."
863        ::= { raisecomPtpMessageStatEntry 5 }
864
865raisecomPtpMsgStatReceiveFollowUp OBJECT-TYPE
866        SYNTAX      Integer32
867        MAX-ACCESS  read-only
868        STATUS      current
869        DESCRIPTION
870	        		"Indicates the number of PTPv2 FollowUp message which
871	        		the port receives since its initialization."
872        ::= { raisecomPtpMessageStatEntry 6 }
873
874raisecomPtpMsgStatSendDelayReq OBJECT-TYPE
875        SYNTAX      Integer32
876        MAX-ACCESS  read-only
877        STATUS      current
878        DESCRIPTION
879	        		"Indicates the number of PTPv2 DelayReq message which
880	        		the port sends since its initialization."
881        ::= { raisecomPtpMessageStatEntry 7 }
882
883raisecomPtpMsgStatReceiveDelayReq OBJECT-TYPE
884        SYNTAX      Integer32
885        MAX-ACCESS  read-only
886        STATUS      current
887        DESCRIPTION
888	        		"Indicates the number of PTPv2 DelayReq message which
889	        		the port receives since its initialization."
890        ::= { raisecomPtpMessageStatEntry 8 }
891
892raisecomPtpMsgStatSendDelayResp OBJECT-TYPE
893        SYNTAX      Integer32
894        MAX-ACCESS  read-only
895        STATUS      current
896        DESCRIPTION
897	        		"Indicates the number of PTPv2 DelayResp message which
898	        		the port sends since its initialization."
899        ::= { raisecomPtpMessageStatEntry 9 }
900
901raisecomPtpMsgStatReceiveDelayResp OBJECT-TYPE
902        SYNTAX      Integer32
903        MAX-ACCESS  read-only
904        STATUS      current
905        DESCRIPTION
906	        		"Indicates the number of PTPv2 DelayResp message which
907	        		the port receives since its initialization."
908        ::= { raisecomPtpMessageStatEntry 10 }
909
910raisecomPtpMsgStatSendPdelayReq OBJECT-TYPE
911        SYNTAX      Integer32
912        MAX-ACCESS  read-only
913        STATUS      current
914        DESCRIPTION
915	        		"Indicates the number of PTPv2 PdelayReq message which
916	        		the port sends since its initialization."
917        ::= { raisecomPtpMessageStatEntry 11 }
918
919raisecomPtpMsgStatReceivePdelayReq OBJECT-TYPE
920        SYNTAX      Integer32
921        MAX-ACCESS  read-only
922        STATUS      current
923        DESCRIPTION
924	        		"Indicates the number of PTPv2 PdelayReq message which
925	        		the port receives since its initialization."
926        ::= { raisecomPtpMessageStatEntry 12 }
927
928raisecomPtpMsgStatSendPdelayResp OBJECT-TYPE
929        SYNTAX      Integer32
930        MAX-ACCESS  read-only
931        STATUS      current
932        DESCRIPTION
933	        		"Indicates the number of PTPv2 PdelayResp message which
934	        		the port sends since its initialization."
935        ::= { raisecomPtpMessageStatEntry 13 }
936
937raisecomPtpMsgStatReceivePdelayResp OBJECT-TYPE
938        SYNTAX      Integer32
939        MAX-ACCESS  read-only
940        STATUS      current
941        DESCRIPTION
942	        		"Indicates the number of PTPv2 PdelayResp message which
943	        		the port receives since its initialization."
944        ::= { raisecomPtpMessageStatEntry 14 }
945
946raisecomPtpMsgStatSendPdelayRespFUp OBJECT-TYPE
947        SYNTAX      Integer32
948        MAX-ACCESS  read-only
949        STATUS      current
950        DESCRIPTION
951	        		"Indicates the number of PTPv2 PdelayRespFollowUp message which
952	        		the port sends since its initialization."
953        ::= { raisecomPtpMessageStatEntry 15 }
954
955raisecomPtpMsgStatReceivePdelayRespFUp OBJECT-TYPE
956        SYNTAX      Integer32
957        MAX-ACCESS  read-only
958        STATUS      current
959        DESCRIPTION
960	        		"Indicates the number of PTPv2 PdelayRespFollowUp message which
961	        		the port receives since its initialization."
962        ::= { raisecomPtpMessageStatEntry 16 }
963
964raisecomPtpMsgStatSendSignaling OBJECT-TYPE
965        SYNTAX      Integer32
966        MAX-ACCESS  read-only
967        STATUS      current
968        DESCRIPTION
969	        		"Indicates the number of PTPv2 Signaling message which
970	        		the port sends since its initialization."
971        ::= { raisecomPtpMessageStatEntry 17 }
972
973raisecomPtpMsgStatReceiveSignaling OBJECT-TYPE
974        SYNTAX      Integer32
975        MAX-ACCESS  read-only
976        STATUS      current
977        DESCRIPTION
978	        		"Indicates the number of PTPv2 Signaling message which
979	        		the port receives since its initialization."
980        ::= { raisecomPtpMessageStatEntry 18 }
981
982raisecomPtpMsgStatSendManagement OBJECT-TYPE
983        SYNTAX      Integer32
984        MAX-ACCESS  read-only
985        STATUS      current
986        DESCRIPTION
987	        		"Indicates the number of PTPv2 Management message which
988	        		the port sends since its initialization."
989        ::= { raisecomPtpMessageStatEntry 19 }
990
991raisecomPtpMsgStatReceiveManagement OBJECT-TYPE
992        SYNTAX      Integer32
993        MAX-ACCESS  read-only
994        STATUS      current
995        DESCRIPTION
996	        		"Indicates the number of PTPv2 Management message which
997	        		the port receives since its initialization."
998        ::= { raisecomPtpMessageStatEntry 20 }
999
1000raisecomPtpMsgStatSendError OBJECT-TYPE
1001        SYNTAX      Integer32
1002        MAX-ACCESS  read-only
1003        STATUS      current
1004        DESCRIPTION
1005	        		"Indicates the number of the port sending error since its
1006	        		initialization."
1007        ::= { raisecomPtpMessageStatEntry 21 }
1008
1009raisecomPtpMsgStatReceiveUnknown OBJECT-TYPE
1010        SYNTAX      Integer32
1011        MAX-ACCESS  read-only
1012        STATUS      current
1013        DESCRIPTION
1014	        		"Indicates the number of the port receiving error PTPv2
1015	        		message since its initialization."
1016        ::= { raisecomPtpMessageStatEntry 22 }
1017
1018raisecomPtpMsgStatSendTotalNum OBJECT-TYPE
1019        SYNTAX      Integer32
1020        MAX-ACCESS  read-only
1021        STATUS      current
1022        DESCRIPTION
1023	        		"Indicates the number of all PTPv2 message which
1024	        		the port sends since its initialization."
1025        ::= { raisecomPtpMessageStatEntry 23 }
1026
1027raisecomPtpMsgStatReceiveTotalNum OBJECT-TYPE
1028        SYNTAX      Integer32
1029        MAX-ACCESS  read-only
1030        STATUS      current
1031        DESCRIPTION
1032	        		"Indicates the number of all PTPv2 message which
1033	        		the port receives since its initialization."
1034        ::= { raisecomPtpMessageStatEntry 24 }
1035
1036--
1037-- Unicast Address, Master and slave unicast address pool, user definition
1038--
1039
1040raisecomPtpUnicastMasterPoolTable OBJECT-TYPE
1041        SYNTAX      SEQUENCE OF RaisecomPtpUnicastMasterPoolEntry
1042        MAX-ACCESS  not-accessible
1043        STATUS      current
1044        DESCRIPTION
1045	        		"This table provides setting information about the unicast
1046	        		address list of the grandmaster or boundary clock."
1047        ::= { raisecomPtpUnicastAddr 1 }
1048
1049raisecomPtpUnicastMasterPoolEntry OBJECT-TYPE
1050        SYNTAX      RaisecomPtpUnicastMasterPoolEntry
1051        MAX-ACCESS  not-accessible
1052        STATUS      current
1053        DESCRIPTION
1054	        		"User set the master unicast address for the slave port. Entries
1055	        		are automatically created when user setting the master address.
1056	        		IP address 0.0.0.0 indicates that this row is created through MAC,
1057	        		otherwise,created through IP."
1058        INDEX   	{ rcPortIndex, raisecomPtpUnicastMasterPoolIndex }
1059        ::= { raisecomPtpUnicastMasterPoolTable 1 }
1060
1061RaisecomPtpUnicastMasterPoolEntry ::= SEQUENCE {
1062        raisecomPtpUnicastMasterPoolIndex       	Integer32,
1063        raisecomPtpUnicastMasterPoolMac         	MacAddress,
1064        raisecomPtpUnicastMasterPoolVlan			Integer32,
1065        raisecomPtpUnicastMasterPoolIp         	IpAddress,
1066        raisecomPtpUnicastMasterPoolRowStatus		RowStatus,
1067        raisecomPtpUnicastMasterPoolFlag         	INTEGER
1068}
1069
1070raisecomPtpUnicastMasterPoolIndex  OBJECT-TYPE
1071        SYNTAX      Integer32
1072        MAX-ACCESS  not-accessible
1073        STATUS      current
1074        DESCRIPTION
1075	        		"Indicates the index number of master unicast address table."
1076        ::= { raisecomPtpUnicastMasterPoolEntry 1 }
1077
1078raisecomPtpUnicastMasterPoolMac  OBJECT-TYPE
1079        SYNTAX      MacAddress
1080        MAX-ACCESS  read-create
1081        STATUS      current
1082        DESCRIPTION
1083	        		"Indicates the MAC address of setting master unicast address."
1084        ::= { raisecomPtpUnicastMasterPoolEntry 2 }
1085
1086raisecomPtpUnicastMasterPoolVlan  OBJECT-TYPE
1087        SYNTAX      Integer32(1..4094)
1088        MAX-ACCESS  read-create
1089        STATUS      current
1090        DESCRIPTION
1091	        		"Indicates the vlan value of setting master unicast address."
1092        ::= { raisecomPtpUnicastMasterPoolEntry 3 }
1093
1094raisecomPtpUnicastMasterPoolIp    OBJECT-TYPE
1095        SYNTAX      IpAddress
1096        MAX-ACCESS  read-create
1097        STATUS      current
1098        DESCRIPTION
1099	        		"Indicates the IP address of setting master unicast address.
1100	        		IP address 0.0.0.0 indicates that this row is created through MAC,
1101	        		otherwise,created through IP."
1102        ::= { raisecomPtpUnicastMasterPoolEntry 4 }
1103
1104raisecomPtpUnicastMasterPoolRowStatus  OBJECT-TYPE
1105        SYNTAX      RowStatus
1106        MAX-ACCESS  read-create
1107        STATUS      current
1108        DESCRIPTION
1109	        		"Indicates the row status of setting master unicast address
1110	        		 in this entry."
1111        ::= { raisecomPtpUnicastMasterPoolEntry 5 }
1112
1113raisecomPtpUnicastMasterPoolFlag  OBJECT-TYPE
1114        SYNTAX      INTEGER{ invalid(0), announce(1), sync(2), delay(3), pdelay(4) }
1115        MAX-ACCESS  read-only
1116        STATUS      current
1117        DESCRIPTION
1118	        		"Indicates the unicast flag of setting master unicast address."
1119        ::= { raisecomPtpUnicastMasterPoolEntry 6 }
1120
1121raisecomPtpUnicastSlavePoolTable OBJECT-TYPE
1122        SYNTAX      SEQUENCE OF RaisecomPtpUnicastSlavePoolEntry
1123        MAX-ACCESS  not-accessible
1124        STATUS      current
1125        DESCRIPTION
1126	        		"This table provides slave clock address list information from
1127	        		unicast negotiation."
1128        ::= { raisecomPtpUnicastAddr 2 }
1129
1130raisecomPtpUnicastSlavePoolEntry OBJECT-TYPE
1131        SYNTAX      RaisecomPtpUnicastSlavePoolEntry
1132        MAX-ACCESS  not-accessible
1133        STATUS      current
1134        DESCRIPTION
1135	        		"Entries are automatically created when the new address unicast
1136	        		negotiation."
1137        INDEX   	{ rcPortIndex, raisecomPtpUnicastSlavePoolIndex }
1138        ::= { raisecomPtpUnicastSlavePoolTable 1 }
1139
1140RaisecomPtpUnicastSlavePoolEntry ::= SEQUENCE {
1141        raisecomPtpUnicastSlavePoolIndex       		Integer32,
1142        raisecomPtpUnicastSlavePoolMac         		MacAddress,
1143        raisecomPtpUnicastSlavePoolVlan				Integer32,
1144        raisecomPtpUnicastSlavePoolIp         		IpAddress,
1145        raisecomPtpUnicastSlavePoolFlag				INTEGER
1146}
1147
1148raisecomPtpUnicastSlavePoolIndex OBJECT-TYPE
1149        SYNTAX      Integer32
1150        MAX-ACCESS  not-accessible
1151        STATUS      current
1152        DESCRIPTION
1153	        		"Indicates the index number of slave unicast address table."
1154        ::= { raisecomPtpUnicastSlavePoolEntry 1 }
1155
1156raisecomPtpUnicastSlavePoolMac   OBJECT-TYPE
1157        SYNTAX      MacAddress
1158        MAX-ACCESS  read-only
1159        STATUS      current
1160        DESCRIPTION
1161	        		"Indicates the MAC address of getting slave unicast address."
1162        ::= { raisecomPtpUnicastSlavePoolEntry 2 }
1163
1164raisecomPtpUnicastSlavePoolVlan  OBJECT-TYPE
1165        SYNTAX      Integer32(1..4094)
1166        MAX-ACCESS  read-only
1167        STATUS      current
1168        DESCRIPTION
1169	        		"Indicates the vlan value of getting slave unicast address."
1170        ::= { raisecomPtpUnicastSlavePoolEntry 3 }
1171
1172raisecomPtpUnicastSlavePoolIp    OBJECT-TYPE
1173        SYNTAX      IpAddress
1174        MAX-ACCESS  read-only
1175        STATUS      current
1176        DESCRIPTION
1177	        		"Indicates the IP address of getting slave unicast address."
1178        ::= { raisecomPtpUnicastSlavePoolEntry 4 }
1179
1180raisecomPtpUnicastSlavePoolFlag  OBJECT-TYPE
1181        SYNTAX      INTEGER{ invalid(0), announce(1), sync(2), delay(3), pdelay(4) }
1182        MAX-ACCESS  read-only
1183        STATUS      current
1184        DESCRIPTION
1185	        		"Indicates the unicast flag of getting slave unicast address."
1186        ::= { raisecomPtpUnicastSlavePoolEntry 5 }
1187
1188raisecomPtpUnicastPeerPoolTable OBJECT-TYPE
1189        SYNTAX      SEQUENCE OF RaisecomPtpUnicastPeerPoolEntry
1190        MAX-ACCESS  not-accessible
1191        STATUS      current
1192        DESCRIPTION
1193	        		"This table provides setting information about the unicast
1194	        		address list of the slaveonly, peer transparent or boundary clock."
1195        ::= { raisecomPtpUnicastAddr 3 }
1196
1197raisecomPtpUnicastPeerPoolEntry OBJECT-TYPE
1198        SYNTAX      RaisecomPtpUnicastPeerPoolEntry
1199        MAX-ACCESS  not-accessible
1200        STATUS      current
1201        DESCRIPTION
1202	        		"User set the peer unicast address for peer delay port. Entries
1203	        		are automatically created when user setting the peer address.
1204	        		IP address 0.0.0.0 indicates that this row is created through MAC,
1205	        		otherwise,created through IP."
1206        INDEX   	{ rcPortIndex, raisecomPtpUnicastPeerPoolIndex }
1207        ::= { raisecomPtpUnicastPeerPoolTable 1 }
1208
1209RaisecomPtpUnicastPeerPoolEntry ::= SEQUENCE {
1210        raisecomPtpUnicastPeerPoolIndex       	Integer32,
1211        raisecomPtpUnicastPeerPoolMac         	MacAddress,
1212        raisecomPtpUnicastPeerPoolVlan			Integer32,
1213        raisecomPtpUnicastPeerPoolIp         		IpAddress,
1214        raisecomPtpUnicastPeerPoolRowStatus		RowStatus,
1215        raisecomPtpUnicastPeerPoolFlag         	INTEGER
1216}
1217
1218raisecomPtpUnicastPeerPoolIndex  OBJECT-TYPE
1219        SYNTAX      Integer32
1220        MAX-ACCESS  not-accessible
1221        STATUS      current
1222        DESCRIPTION
1223	        		"Indicates the index number of peer unicast address table."
1224        ::= { raisecomPtpUnicastPeerPoolEntry 1 }
1225
1226raisecomPtpUnicastPeerPoolMac  OBJECT-TYPE
1227        SYNTAX      MacAddress
1228        MAX-ACCESS  read-create
1229        STATUS      current
1230        DESCRIPTION
1231	        		"Indicates the MAC address of setting peer unicast address."
1232        ::= { raisecomPtpUnicastPeerPoolEntry 2 }
1233
1234raisecomPtpUnicastPeerPoolVlan  OBJECT-TYPE
1235        SYNTAX      Integer32(1..4094)
1236        MAX-ACCESS  read-create
1237        STATUS      current
1238        DESCRIPTION
1239	        		"Indicates the vlan value of setting peer unicast address."
1240        ::= { raisecomPtpUnicastPeerPoolEntry 3 }
1241
1242raisecomPtpUnicastPeerPoolIp    OBJECT-TYPE
1243        SYNTAX      IpAddress
1244        MAX-ACCESS  read-create
1245        STATUS      current
1246        DESCRIPTION
1247	        		"Indicates the IP address of setting peer unicast address.
1248	        		IP address 0.0.0.0 indicates that this row is created through MAC,
1249	        		otherwise,created through IP."
1250        ::= { raisecomPtpUnicastPeerPoolEntry 4 }
1251
1252raisecomPtpUnicastPeerPoolRowStatus  OBJECT-TYPE
1253        SYNTAX      RowStatus
1254        MAX-ACCESS  read-create
1255        STATUS      current
1256        DESCRIPTION
1257	        		"Indicates the row status of setting peer unicast address
1258	        		 in this entry."
1259        ::= { raisecomPtpUnicastPeerPoolEntry 5 }
1260
1261raisecomPtpUnicastPeerPoolFlag  OBJECT-TYPE
1262        SYNTAX      INTEGER{ invalid(0), announce(1), sync(2), delay(3), pdelay(4) }
1263        MAX-ACCESS  read-only
1264        STATUS      current
1265        DESCRIPTION
1266	        		"Indicates the unicast flag of setting peer unicast address."
1267        ::= { raisecomPtpUnicastPeerPoolEntry 6 }
1268
1269--
1270-- raisecomPtpTClock definition
1271--
1272raisecomPtpTClockIdentity 	OBJECT-TYPE
1273        SYNTAX      PTPClockIdentity
1274        MAX-ACCESS  read-only
1275        STATUS      current
1276        DESCRIPTION
1277	        		"This object indicates the transparent clock identity.
1278                    In the PTP system, each clock device has only identity and
1279                    every identity is not same."
1280        ::= { raisecomPtpTClock 1 }
1281
1282raisecomPtpTClockNumberPorts 	OBJECT-TYPE
1283        SYNTAX      Integer32(0..65535)
1284        MAX-ACCESS  read-only
1285        STATUS      current
1286        DESCRIPTION
1287	        		"This object indicates the PTP ports number."
1288        DEFVAL 		{ 0 }
1289        ::= { raisecomPtpTClock 2 }
1290
1291raisecomPtpTClockDelayMechanism  OBJECT-TYPE
1292        SYNTAX      INTEGER{ end-to-end(1), peer-to-peer(2)}
1293        MAX-ACCESS  read-only
1294        STATUS      current
1295        DESCRIPTION
1296	        		"This object indicates the port delay mechanism of the
1297	        		transparent clock device."
1298        DEFVAL 		{ 1 }
1299        ::= { raisecomPtpTClock 3 }
1300
1301raisecomPtpTClockPrimaryDomain  OBJECT-TYPE
1302        SYNTAX      INTEGER{ default(0), alternate-domain1(1),
1303                             alternate-domain2(2),alternate-domain3(3)}
1304        MAX-ACCESS  read-write
1305        STATUS      current
1306        DESCRIPTION
1307	        		"This object indicates the transparent clock domain number,
1308                    reference table-2 in PTP v2 protocol."
1309        DEFVAL 		{ 0 }
1310        ::= { raisecomPtpTClock 4 }
1311
1312--
1313-- raisecomPtpTCPorts definition
1314--
1315
1316raisecomPtpTCPortTable 	OBJECT-TYPE
1317        SYNTAX      SEQUENCE OF RaisecomPtpTCPortEntry
1318        MAX-ACCESS  not-accessible
1319        STATUS      current
1320        DESCRIPTION
1321	        		"This table provides information in each port which
1322	        		contains port state, property and setting."
1323        ::= { raisecomPtpTCPorts 1 }
1324
1325raisecomPtpTCPortEntry 	OBJECT-TYPE
1326        SYNTAX      RaisecomPtpTCPortEntry
1327        MAX-ACCESS  not-accessible
1328        STATUS      current
1329        DESCRIPTION
1330	        		"Each port entry provides PTP port information. Entries
1331	                are automatically created when the system running."
1332        INDEX   	{ rcPortIndex }
1333        ::= { raisecomPtpTCPortTable 1 }
1334
1335RaisecomPtpTCPortEntry ::= SEQUENCE {
1336        raisecomPtpTCPortIdentity			            OCTET STRING,
1337        raisecomPtpTCPortEnable         				EnableVar,
1338        raisecomPtpTCPortLogMinPdelayReqInterval      Integer32,
1339        raisecomPtpTCPortFaultyFlag         			INTEGER,
1340        raisecomPtpTCPortPeerMeanPathDelay    		PTPTimeInterval
1341}
1342
1343raisecomPtpTCPortIdentity OBJECT-TYPE
1344        SYNTAX      OCTET STRING
1345        MAX-ACCESS  read-only
1346        STATUS      current
1347        DESCRIPTION
1348	        		"This object indicates port identity of ptp transparent clock."
1349        ::= { raisecomPtpTCPortEntry 1 }
1350
1351raisecomPtpTCPortLogMinPdelayReqInterval OBJECT-TYPE
1352        SYNTAX      Integer32(-6..-1)
1353        MAX-ACCESS  read-write
1354        STATUS      current
1355        DESCRIPTION
1356	        		"This object indicates the setting min log2 value of the master
1357	        		port sending Delay_Req message interval in boundary clock and
1358	        		peer port sending Pdelay_Req message interval in p2ptransparent
1359	        		clock. The interval time is 2^n seconds."
1360        ::= { raisecomPtpTCPortEntry 2 }
1361
1362raisecomPtpTCPortFaultyFlag OBJECT-TYPE
1363        SYNTAX      INTEGER {normal(0), faulty(1)}
1364        MAX-ACCESS  read-write
1365        STATUS      current
1366        DESCRIPTION
1367	        		"This object indicates wether the ptp port is operating normally."
1368	    DEFVAL      { 0 }
1369        ::= { raisecomPtpTCPortEntry 3 }
1370
1371raisecomPtpTCPortPeerMeanPathDelay OBJECT-TYPE
1372        SYNTAX      PTPTimeInterval
1373        MAX-ACCESS  read-only
1374        STATUS      current
1375        DESCRIPTION
1376	        		"This object indicates the port mean path delay of the
1377	        		p2ptransparent clock."
1378        ::= { raisecomPtpTCPortEntry 4 }
1379
1380
1381--
1382-- raisecomPtpSyncTrap definition
1383--
1384
1385raisecomPtpSyncTrap 		NOTIFICATION-TYPE
1386        OBJECTS     {
1387                    raisecomPtpPortState,
1388                    raisecomPtpPortIdentity
1389                    }
1390        STATUS      current
1391        DESCRIPTION
1392	        		"This trap indicates that that there has been a change in the ptp
1393	        		clock synchronization state."
1394        ::= { raisecomPtpTraps 15 }
1395
1396--
1397-- END of RAISECOM-PTP-MIB
1398--
1399
1400END
1401
1402