summaryrefslogtreecommitdiff
path: root/MIBS/awplus/AT-NTP-MIB
blob: 8add0a9a7217a787431fc66d03281e00778a352c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
--============================================================================
-- at-ntp.mib, Allied Telesis enterprise MIB: Network Time Protocol
--
-- Copyright (c) 2008 by Allied Telesis, Inc.
-- All rights reserved.
--
--===========================================================================

    AT-NTP-MIB DEFINITIONS ::= BEGIN

        IMPORTS
            modules
                FROM AT-SMI-MIB
            Integer32, Unsigned32, OBJECT-TYPE, MODULE-IDENTITY
                FROM SNMPv2-SMI
            DisplayString, RowStatus, TruthValue
                FROM SNMPv2-TC;


        atNtp MODULE-IDENTITY
            LAST-UPDATED "201009070000Z"
            ORGANIZATION
                "Allied Telesis, Inc"
            CONTACT-INFO
                "http://www.alliedtelesis.com"
            DESCRIPTION
                "This MIB file contains definitions of managed objects
                for the Allied Telesis Network Time Protocol configuration. "
            REVISION "201009070000Z"
            DESCRIPTION
                "Generic syntax tidy up"
            REVISION "201006150015Z"
            DESCRIPTION
                "MIB revision history dates in descriptions updated."
            REVISION "200811110000Z"
            DESCRIPTION
                "Initial revision. "
            ::= { modules 502 }




--
-- Node definitions
--

-- oid assignment and reserves
--    1 accessGroup
--    2 authenticate
--    3 authentication-delay
--    4 broadcastdelay
--    5 master
--    6 peer
--    7 server
--    8 trusted-key
--    9 counter
--   10 associations
--   11 status

        atNtpPeerIndexNext OBJECT-TYPE
            SYNTAX INTEGER (1..65535)
            MAX-ACCESS read-only
            STATUS current
            DESCRIPTION
                "This object represents the next available value for
                the object 'atNtpPeerIndex'.

                For creation of a new entry in the 'atNtpPeerTable',
                a management application should read this object,
                get the value and use the same."
            ::= { atNtp 6 }


        atNtpPeerTable OBJECT-TYPE
            SYNTAX SEQUENCE OF AtNtpPeerEntry
            MAX-ACCESS not-accessible
            STATUS current
            DESCRIPTION
                "This table contains information on the Network Time
                Protocol (NTP) peers' configurations in the system."
            ::= { atNtp 7 }


        atNtpPeerEntry OBJECT-TYPE
            SYNTAX AtNtpPeerEntry
            MAX-ACCESS not-accessible
            STATUS current
            DESCRIPTION
                "A conceptual entry in atNtpPeerTable."
            INDEX { atNtpPeerIndex }
            ::= { atNtpPeerTable 1 }


        AtNtpPeerEntry ::=
            SEQUENCE {
                atNtpPeerIndex
                    INTEGER,
                atNtpPeerNameAddr
                    DisplayString,
                atNtpPeerMode
                    INTEGER,
                atNtpPeerPreference
                    INTEGER,
                atNtpPeerVersion
                    INTEGER,
                atNtpPeerKeyNumber
                    Unsigned32,
                atNtpPeerRowStatus
                    RowStatus
             }

        atNtpPeerIndex OBJECT-TYPE
            SYNTAX INTEGER (1..65535)
            MAX-ACCESS not-accessible
            STATUS current
            DESCRIPTION
                "This object represents the index corresponding to
                a particular NTP server or peer configuration in
                the system.

                For creation of a new entry, the value of this object
                should be same as that of the value of
                'atNtpPeerIndexNext' object. If this is not
                the case, then the entry creation will fail."
            ::= { atNtpPeerEntry 1 }


        atNtpPeerNameAddr OBJECT-TYPE
            SYNTAX DisplayString
            MAX-ACCESS read-write
            STATUS current
            DESCRIPTION
                "This object represents host name, or the IP address,
                of the NTP peer.

                This object is a current object for row creation.

                When a new row is created, this object is set with
                a default value '0.0.0.0', and the management
                application should change it to a desired value by
                a SET operation."
            DEFVAL { "0.0.0.0" }
            ::= { atNtpPeerEntry 2 }


        atNtpPeerMode OBJECT-TYPE
            SYNTAX INTEGER
                {
                server(1),
                peer(2)
                }
            MAX-ACCESS read-write
            STATUS current
            DESCRIPTION
                "This object represents the mode of the peer.
                It's value is coded as follows:
                server(1),
                peer(2)"
            DEFVAL { peer }
            ::= { atNtpPeerEntry 3 }


        atNtpPeerPreference OBJECT-TYPE
            SYNTAX INTEGER (0..2)
            MAX-ACCESS read-write
            STATUS current
            DESCRIPTION
                "This object specifies whether this peer is the
                preferred one over the others.

                It's value is encoded as follows:
                0 - unknown
                1 - not preferred
                2 - preferred

                When the value of this object is 'not preferred',
                NTP chooses the peer with which to synchronize the
                time on the local system. If this object is set to
                'preferred', NTP will choose the corresponding peer to
                synchronize the time with.
                "
            DEFVAL { 0 }
            ::= { atNtpPeerEntry 4 }


        atNtpPeerVersion OBJECT-TYPE
            SYNTAX INTEGER (0..4)
            MAX-ACCESS read-write
            STATUS current
            DESCRIPTION
                "This object represents the NTP version the peer
                supports. It's value is encoded as follows:
                0 - unknown
                1 - version 1
                2 - version 2
                3 - version 3
                4 - version 4
                "
            DEFVAL { 0 }
            ::= { atNtpPeerEntry 5 }


        atNtpPeerKeyNumber OBJECT-TYPE
            SYNTAX Unsigned32
            MAX-ACCESS read-write
            STATUS current
            DESCRIPTION
                "This object represents the authentication key number."
            DEFVAL { 0 }
            ::= { atNtpPeerEntry 6 }


        atNtpPeerRowStatus OBJECT-TYPE
            SYNTAX RowStatus
            MAX-ACCESS read-create
            STATUS current
            DESCRIPTION
                "The status of this row.

                The reading of this object should have a value of
                'active(1)'.

                For creation of new entry, a management application
                should set this object with value 'createAndGo(4)',
                and using the same value as that got from reading
                object 'atNtpPeerIndexNext', as the index for
                the new entry.

                When an entry is created, the object 'atNtpPeerNameAddr'
                in the entry is set with a default value '0.0.0.0'.
                The management application should change it to
                a desired value with a SET operation.

                The management application may need to take
                additional SET operations to set values for other
                objects, to ensure they have desired values.

                For deletion of entry, a management application
                should set this object with value 'destroy(6)'.

                Once an entry is deleted, other entries in the table
                which have bigger index than the deleted one, will
                be indexed again. Therefore a management
                application can effectively delete multiple entries
                by repeating the SET operation using the same index."
            DEFVAL { 1 }
            ::= { atNtpPeerEntry 7 }


        atNtpAssociationTable OBJECT-TYPE
            SYNTAX SEQUENCE OF AtNtpAssociationEntry
            MAX-ACCESS not-accessible
            STATUS current
            DESCRIPTION
                "This table contains NTP association information."
            ::= { atNtp 10 }


        atNtpAssociationEntry OBJECT-TYPE
            SYNTAX AtNtpAssociationEntry
            MAX-ACCESS not-accessible
            STATUS current
            DESCRIPTION
                "An conceptual entry in atNtpAssociationTable."
            INDEX { atNtpAssociationIndex }
            ::= { atNtpAssociationTable 1 }


        AtNtpAssociationEntry ::=
            SEQUENCE {
                atNtpAssociationIndex
                    Integer32,
                atNtpAssociationPeerAddr
                    DisplayString,
                atNtpAssocaitionStatus
                    DisplayString,
                atNtpAssociationConfigured
                    DisplayString,
                atNtpAssociationRefClkAddr
                    DisplayString,
                atNtpAssociationStratum
                    Integer32,
                atNtpAssociationPoll
                    Integer32,
                atNtpAssociationReach
                    Integer32,
                atNtpAssociationDelay
                    DisplayString,
                atNtpAssociationOffset
                    DisplayString,
                atNtpAssociationDisp
                    DisplayString
             }

        atNtpAssociationIndex OBJECT-TYPE
            SYNTAX Integer32 (1..2147483647)
            MAX-ACCESS not-accessible
            STATUS current
            DESCRIPTION
                "This object represents the index corresponding to
                a particular NTP association."
            ::= { atNtpAssociationEntry 1 }


        atNtpAssociationPeerAddr OBJECT-TYPE
            SYNTAX DisplayString
            MAX-ACCESS read-only
            STATUS current
            DESCRIPTION
                "This object represents the peer's IP address or host
                name."
            ::= { atNtpAssociationEntry 2 }


        atNtpAssocaitionStatus OBJECT-TYPE
            SYNTAX DisplayString
            MAX-ACCESS read-only
            STATUS current
            DESCRIPTION
                "This object indicates the association's status.
                It's value is defined as follows:
                master(synced),
                master(unsynced),
                selected,
                candidate,
                configured,
                unknown.
                "
            ::= { atNtpAssociationEntry 3 }


        atNtpAssociationConfigured OBJECT-TYPE
            SYNTAX DisplayString
            MAX-ACCESS read-only
            STATUS current
            DESCRIPTION
                "This object indicates whether the association
                is from configuration or not. It's value can be
                either 'configured' or 'dynamic'.
                "
            ::= { atNtpAssociationEntry 4 }


        atNtpAssociationRefClkAddr OBJECT-TYPE
            SYNTAX DisplayString
            MAX-ACCESS read-only
            STATUS current
            DESCRIPTION
                "This object indicates the IP address for the
                reference clock."
            ::= { atNtpAssociationEntry 5 }


        atNtpAssociationStratum OBJECT-TYPE
            SYNTAX Integer32
            MAX-ACCESS read-only
            STATUS current
            DESCRIPTION
                "This object indicates the stratum of the peer clock."
            ::= { atNtpAssociationEntry 6 }


        atNtpAssociationPoll OBJECT-TYPE
            SYNTAX Integer32
            UNITS "seconds"
            MAX-ACCESS read-only
            STATUS current
            DESCRIPTION
                "This object indicates the time between NTP requests
                from the device to the server."
            ::= { atNtpAssociationEntry 7 }


        atNtpAssociationReach OBJECT-TYPE
            SYNTAX Integer32
            MAX-ACCESS read-only
            STATUS current
            DESCRIPTION
                "This object indicates the reachability status of
                the peer."
            ::= { atNtpAssociationEntry 8 }


        atNtpAssociationDelay OBJECT-TYPE
            SYNTAX DisplayString
            MAX-ACCESS read-only
            STATUS current
            DESCRIPTION
                "This object indicates the round trip delay between
                the device and the server."
            ::= { atNtpAssociationEntry 9 }


        atNtpAssociationOffset OBJECT-TYPE
            SYNTAX DisplayString
            MAX-ACCESS read-only
            STATUS current
            DESCRIPTION
                "This object indicates the difference between
                the device clock and the server clock."
            ::= { atNtpAssociationEntry 10 }


        atNtpAssociationDisp OBJECT-TYPE
            SYNTAX DisplayString
            MAX-ACCESS read-only
            STATUS current
            DESCRIPTION
                "This object indicates the lowest measure of
                error associated with peer offset based on delay,
                in seconds."
            ::= { atNtpAssociationEntry 11 }


        atNtpStatus OBJECT IDENTIFIER ::= { atNtp 11 }


        atNtpSysClockSync OBJECT-TYPE
            SYNTAX TruthValue
            MAX-ACCESS read-only
            STATUS current
            DESCRIPTION
                "This object indicates whether the system clock
                is synchronized."
            ::= { atNtpStatus 1 }


        atNtpSysStratum OBJECT-TYPE
            SYNTAX Integer32
            MAX-ACCESS read-only
            STATUS current
            DESCRIPTION
                "This object represents the stratum of the local clock."
            ::= { atNtpStatus 2 }


        atNtpSysReference OBJECT-TYPE
            SYNTAX DisplayString
            MAX-ACCESS read-only
            STATUS current
            DESCRIPTION
                "This object represents the current synchronization
                source."
            ::= { atNtpStatus 3 }


        atNtpSysFrequency OBJECT-TYPE
            SYNTAX Integer32
            UNITS "Hz"
            MAX-ACCESS read-only
            STATUS current
            DESCRIPTION
                "This object represents the actual clock frequency.
                source."
            ::= { atNtpStatus 4 }


        atNtpSysPrecision OBJECT-TYPE
            SYNTAX Integer32
            MAX-ACCESS read-only
            STATUS current
            DESCRIPTION
                "Signed integer indicating the precision of the system clock,
                in seconds to the nearest power of two. The value is rounded
                to the next larger power of two; for instance, a 50-Hz(20 ms)
                or 60-Hz (16.67 ms) power-frequency clock would be assigned
                the value -5 (31.25 ms), while a 1000-Hz (1 ms) crystal-controlled
                clock would be assigned the value -9 (1.95 ms)."
            ::= { atNtpStatus 5 }


        atNtpSysRefTime OBJECT-TYPE
            SYNTAX OCTET STRING (SIZE (1..8))
            MAX-ACCESS read-only
            STATUS current
            DESCRIPTION
                "This object indicates the local time when the
                local clock was last updated. If the local clock
                has never been synchronized, the value is zero"
            ::= { atNtpStatus 6 }


        atNtpSysClkOffset OBJECT-TYPE
            SYNTAX Integer32
            UNITS "millisecond"
            MAX-ACCESS read-only
            STATUS current
            DESCRIPTION
                "This object indicates the offset of the local clock
                relative to the server clock, in milliseconds."
            ::= { atNtpStatus 7 }


        atNtpSysRootDelay OBJECT-TYPE
            SYNTAX Integer32
            UNITS "millisecond"
            MAX-ACCESS read-only
            STATUS current
            DESCRIPTION
                "This object indicats the total round-trip delay
                in milliseconds, to the primary reference source
                at the root of the synchronization subnet."
            ::= { atNtpStatus 8 }


        atNtpSysRootDisp OBJECT-TYPE
            SYNTAX Integer32
            UNITS "millisecond"
            MAX-ACCESS read-only
            STATUS current
            DESCRIPTION
                "This object indicates the maximum error in
                milliseconds, relative to the primary reference
                source at the root of the synchronization
                subnet."
            ::= { atNtpStatus 9 }



    END

--
-- at-ntp.mib
--