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
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
|
NBS-PRBS-MIB DEFINITIONS ::= BEGIN
IMPORTS
Unsigned32, Counter32, OBJECT-TYPE,
MODULE-IDENTITY, OBJECT-IDENTITY, NOTIFICATION-TYPE
FROM SNMPv2-SMI
DisplayString
FROM SNMPv2-TC
InterfaceIndex
FROM IF-MIB
nbs
FROM NBS-MIB
nbsCmmcChassisIndex, nbsCmmcSlotIndex, nbsCmmcPortIndex, nbsCmmcPortName
FROM NBS-CMMC-MIB
;
nbsPrbsMib MODULE-IDENTITY
LAST-UPDATED "201209260000Z" -- Sep 26, 2012
ORGANIZATION "NBS"
CONTACT-INFO
"For technical support, please contact your service channel"
DESCRIPTION
"Pattern checking and generation"
::= { nbs 212 }
-- *******************************************************************
-- NBS-PRBS-MIB local defines
-- *******************************************************************
nbsPrbsPatternGrp OBJECT-IDENTITY
STATUS current
DESCRIPTION
"Available bit sequences"
::= { nbsPrbsMib 1 }
nbsPrbsGenGrp OBJECT-IDENTITY
STATUS current
DESCRIPTION
"PRBS pattern generation status and configuration"
::= { nbsPrbsMib 2 }
nbsPrbsCheckGrp OBJECT-IDENTITY
STATUS current
DESCRIPTION
"PRBS pattern checking status and configuration"
::= { nbsPrbsMib 3 }
nbsPrbsTrapGrp OBJECT-IDENTITY
STATUS current
DESCRIPTION
"Objects used as varbinds in traps"
::= { nbsPrbsMib 200 }
nbsPrbsTraps0 OBJECT-IDENTITY
STATUS current
DESCRIPTION
"PRBS event notifications"
::= { nbsPrbsTrapGrp 0 }
-- *******************************************************************
--
-- the nbsPrbsPatternTable
--
-- *******************************************************************
nbsPrbsPatternTableSize OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Number of entries in nbsPrbsPatternTable"
::= { nbsPrbsPatternGrp 1 }
nbsPrbsPatternTable OBJECT-TYPE
SYNTAX SEQUENCE OF NbsPrbsPatternEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"List of known PRBS patterns"
::= { nbsPrbsPatternGrp 2 }
NbsPrbsPatternEntry ::= SEQUENCE {
nbsPrbsPatternIndex INTEGER,
nbsPrbsPatternName DisplayString,
nbsPrbsPatternDesc DisplayString
}
nbsPrbsPatternEntry OBJECT-TYPE
SYNTAX NbsPrbsPatternEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A particular PRBS pattern"
INDEX { nbsPrbsPatternIndex }
::= { nbsPrbsPatternTable 1 }
nbsPrbsPatternIndex OBJECT-TYPE
SYNTAX INTEGER
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Index 1 is reserved. Indexing starts from 2."
::= { nbsPrbsPatternEntry 1 }
nbsPrbsPatternName OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Name of this pattern"
::= { nbsPrbsPatternEntry 2 }
nbsPrbsPatternDesc OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Description of this pattern"
::= { nbsPrbsPatternEntry 3 }
-- *******************************************************************
--
-- the nbsPrbsGenTable
--
-- *******************************************************************
nbsPrbsGenTableSize OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
""
::= { nbsPrbsGenGrp 1 }
nbsPrbsGenTable OBJECT-TYPE
SYNTAX SEQUENCE OF NbsPrbsGenEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"List of ports that can generate a PRBS bitstream."
::= { nbsPrbsGenGrp 2 }
NbsPrbsGenEntry ::= SEQUENCE {
nbsPrbsGenIfIndex InterfaceIndex,
nbsPrbsGenPatternCaps OCTET STRING,
nbsPrbsGenPatternIndex INTEGER,
nbsPrbsGenDurationMax INTEGER,
nbsPrbsGenDuration INTEGER,
nbsPrbsGenAction INTEGER,
nbsPrbsGenStatus INTEGER,
nbsPrbsGenProgress Counter32
}
nbsPrbsGenEntry OBJECT-TYPE
SYNTAX NbsPrbsGenEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An individual port's PRBS pattern generation status and
configuration"
INDEX { nbsPrbsGenIfIndex }
::= { nbsPrbsGenTable 1 }
nbsPrbsGenIfIndex OBJECT-TYPE
SYNTAX InterfaceIndex
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The Mib2 ifIndex of this pattern generator port."
::= { nbsPrbsGenEntry 1 }
nbsPrbsGenPatternCaps OBJECT-TYPE
SYNTAX OCTET STRING
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Bitmask indicating which patterns can be generated from
this port.
Bits 0 and 1 are reserved.
Subsequent bits refer to the nbsPrbsPatternTable. Bit 2
corresponds to nbsPrbsPatternIndex 2, bit 3 to
nbsPrbsPatternIndex 3, and so on.
A bit is set (1) if that pattern can be generated by this
port, cleared (0) otherwise.
OCTET STRING bitmasks count the leftmost bit (MSB) as 0.
A zero length OCTET STRING indicates that this object is not
supported."
::= { nbsPrbsGenEntry 2 }
nbsPrbsGenPatternIndex OBJECT-TYPE
SYNTAX INTEGER
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The nbsPrbsPatternIndex to utilize.
When read, the value -1 indicates pattern generation is not
supported.
When read, the value 1 indicates there is no pattern
currently selected.
Values less than 2 cannot be written."
::= { nbsPrbsGenEntry 3 }
nbsPrbsGenDurationMax OBJECT-TYPE
SYNTAX INTEGER
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The maximum length of time, in seconds, that a bitstream can
be generated from this port.
The value 0 indicates there is no limit on the length of
time.
The value -1 indicates the duration cannot be set, either
because generation is not supported, or because there is no
way to limit the duration. The generator will not stop
without user intervention. It may also indicate there is no
valid protocol currently selected, so the maximum duration
cannot be calculated."
DEFVAL { 0 }
::= { nbsPrbsGenEntry 4 }
nbsPrbsGenDuration OBJECT-TYPE
SYNTAX INTEGER
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The length of time, in seconds, to generate a bitstream.
The value 0 indicates test should run until terminated
manually by user.
When read, the value -1 indicates setting a duration is not
supported.
Values less than 0 cannot be written."
DEFVAL { 60 }
::= { nbsPrbsGenEntry 5 }
nbsPrbsGenAction OBJECT-TYPE
SYNTAX INTEGER {
notSupported (1),
stop (2),
start (3)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Used to initiate and terminate pattern generation from this
port.
If pattern generation is not available from this port, Agent
will report notSupported(1). Any SET attempts will be
rejected.
To generate a bitstream, user should SET this object to
start(3).
To terminate a bitstream, user should SET this object to
stop(2).
When read, Agent should report the value last SET. Agent
may report stop(2) after a system reboot, or after it halts
pattern generation because the time specified in
nbsPrbsGenDuration elapsed."
DEFVAL { stop }
::= { nbsPrbsGenEntry 6 }
nbsPrbsGenStatus OBJECT-TYPE
SYNTAX INTEGER {
notSupported (1),
unknown (2),
idle (3),
generating (4)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Indicates whether this port is generating a test bitstream.
If notSupported(1), this port cannot generate a test
bitstream.
If unknown(2), this port can generate a test bitstream but
cannot report the status.
If idle(3), this port is currently not generating a test
bitstream.
If generating(4), this port currently is generating a test
bitstream."
DEFVAL { idle }
::= { nbsPrbsGenEntry 7 }
nbsPrbsGenProgress OBJECT-TYPE
SYNTAX Counter32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Indicates how long, in seconds, the port has been
generating a bitstream.
When nbsPrbsGenStatus changes to generating(4), this.counter
should be cleared to zero(0) and then increment once each
second.
When nbsPrbsGenStatus changes to idle(3), this.counter
should be frozen at its then current value."
::= { nbsPrbsGenEntry 8 }
-- *******************************************************************
--
-- the nbsPrbsCheckTable
--
-- *******************************************************************
nbsPrbsCheckTableSize OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
""
::= { nbsPrbsCheckGrp 1 }
nbsPrbsCheckTable OBJECT-TYPE
SYNTAX SEQUENCE OF NbsPrbsCheckEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"List of ports that can check a PRBS bitstream."
::= { nbsPrbsCheckGrp 2 }
NbsPrbsCheckEntry ::= SEQUENCE {
nbsPrbsCheckIfIndex InterfaceIndex,
nbsPrbsCheckPatternCaps OCTET STRING,
nbsPrbsCheckPatternIndex INTEGER,
nbsPrbsCheckDurationMax INTEGER,
nbsPrbsCheckDuration INTEGER,
nbsPrbsCheckAction INTEGER,
nbsPrbsCheckStatus INTEGER,
nbsPrbsCheckProgress Counter32,
nbsPrbsCheckErrors Counter32,
nbsPrbsCheckUpdateFreq INTEGER
}
nbsPrbsCheckEntry OBJECT-TYPE
SYNTAX NbsPrbsCheckEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An individual port's PRBS pattern checking status and
configuration"
INDEX { nbsPrbsCheckIfIndex }
::= { nbsPrbsCheckTable 1 }
nbsPrbsCheckIfIndex OBJECT-TYPE
SYNTAX InterfaceIndex
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The Mib2 ifIndex of this pattern checker port."
::= { nbsPrbsCheckEntry 1 }
nbsPrbsCheckPatternCaps OBJECT-TYPE
SYNTAX OCTET STRING
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Bitmask indicating which patterns can be checked from
this port.
Bits 0 and 1 are reserved.
Subsequent bits refer to the nbsPrbsPatternTable. Bit 2
corresponds to nbsPrbsPatternIndex 2, bit 3 to
nbsPrbsPatternIndex 3, and so on.
A bit is set (1) if that pattern can be generated by this
port, cleared (0) otherwise.
OCTET STRING bitmasks count the leftmost bit (MSB) as 0.
A zero length OCTET STRING indicates that this object is not
supported."
::= { nbsPrbsCheckEntry 2 }
nbsPrbsCheckPatternIndex OBJECT-TYPE
SYNTAX INTEGER
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The nbsPrbsPatternIndex to check for.
When read, the value -1 indicates pattern checking is not
supported.
When read, the value 1 indicates there is no pattern
currently selected.
Values less than 2 cannot be written."
::= { nbsPrbsCheckEntry 3 }
nbsPrbsCheckDurationMax OBJECT-TYPE
SYNTAX INTEGER
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The maximum length of time, in seconds, that a bitstream
can be checked from this port.
The value 0 indicates there is no limit on the length of
time.
The value -1 indicates the duration cannot be set, either
because checking is not supported, or because there is no
way to limit the duration. The checker will not stop without
user intervention. It may also indicate there is no valid
protocol currently selected, so the maximum duration cannot
be calculated."
DEFVAL { 0 }
::= { nbsPrbsCheckEntry 4 }
nbsPrbsCheckDuration OBJECT-TYPE
SYNTAX INTEGER
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The length of time, in seconds, to check a bitstream.
The value 0 indicates test should run until terminated
manually by user.
When read, the value -1 indicates setting a duration is not
supported.
Values less than 0 cannot be written."
DEFVAL { 60 }
::= { nbsPrbsCheckEntry 5 }
nbsPrbsCheckAction OBJECT-TYPE
SYNTAX INTEGER {
notSupported (1),
stop (2),
start (3)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Used to initiate and terminate pattern checking from this
port.
If pattern checking is not available from this port, Agent
will report notSupported(1). Any SET attempts will be
rejected.
To check a bitstream, user should SET this object to
start(3).
To terminate checking, user should SET this object to
stop(2).
When read, Agent should report the value last SET. Agent
may report stop(2) after a system reboot, or after it halts
pattern checking because the time specified in
nbsPrbsCheckDuration elapsed."
DEFVAL { stop }
::= { nbsPrbsCheckEntry 6 }
nbsPrbsCheckStatus OBJECT-TYPE
SYNTAX INTEGER {
notSupported (1),
idle (2),
syncIn (3),
syncOut (4),
error (5),
errOverflow (6),
gaveUp (7)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Indicates whether this port is checking a bitstream.
If notSupported(1), this port cannot check a test
bitstream.
If idle(2), this port is currently not checking a test
bitstream.
If syncIn(3), this port currently is checking a bitstream
and is synchronized with the pattern specified in
nbsPrbsCheckPatternIndex.
If syncOut(4), this port currently is checking a bitstream
and is out of synchronization with the pattern specified in
nbsPrbsCheckPatternIndex.
If error(5), this port currently is checking a bitstream
and an unspecified error occured in the checker.
If errOverflow(6), the Error Counter reached its maximum and
checking has been suspended. To clear this condition, user
should set nbsPrbsCheckAction to stop(2).
If gaveUp(7), the pattern checker was unable to synchronize
and aborted."
DEFVAL { idle }
::= { nbsPrbsCheckEntry 7 }
nbsPrbsCheckProgress OBJECT-TYPE
SYNTAX Counter32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Indicates how long, in seconds, the port has been
checking a bitstream.
When nbsPrbsCheckStatus changes to idle(2), this.counter
should be cleared to zero(0) and then increment once each
second.
When nbsPrbsCheckStatus changes to syncIn(3) or syncOut(4),
this.counter should be frozen at its then current value."
::= { nbsPrbsCheckEntry 8 }
nbsPrbsCheckErrors OBJECT-TYPE
SYNTAX Counter32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Indicates how many errors were detected during the last
pattern checking session.
The Agent should clear this counter to zero(0) when
nbsPrbsCheckStatus changes from idle(2). While pattern
checking, Agent may increase this counter as errors occur.
Once nbsPrbsCheckStatus changes to idle(2), this counter
should report the final error count.
If errors were detected but the count is unknown, Agent
should report the number 1."
::= { nbsPrbsCheckEntry 9 }
nbsPrbsCheckUpdateFreq OBJECT-TYPE
SYNTAX INTEGER
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Indicates how frequently, in minutes, the
nbsPrbsTrapCheckerStatusUpdate Notification should be sent.
The value zero (0) disables update Notifications."
DEFVAL { 0 }
::= { nbsPrbsCheckEntry 10 }
-- ******************************************************************
--
-- nbsPrbsTraps0 - Trap varbind objects
--
-- ******************************************************************
nbsPrbsTrapGeneratorStarted NOTIFICATION-TYPE
OBJECTS { nbsCmmcChassisIndex, nbsCmmcSlotIndex, nbsCmmcPortIndex,
nbsCmmcPortName }
STATUS current
DESCRIPTION
"Sent when nbsPrbsGenStatus transitions to generating(4).
This Notification should be of Severity INFO."
::= { nbsPrbsTraps0 10 }
nbsPrbsTrapGeneratorStopped NOTIFICATION-TYPE
OBJECTS { nbsCmmcChassisIndex, nbsCmmcSlotIndex, nbsCmmcPortIndex,
nbsCmmcPortName }
STATUS current
DESCRIPTION
"Sent when nbsPrbsGenStatus transitions from generating(4).
This Notification should be of Severity INFO."
::= { nbsPrbsTraps0 11 }
nbsPrbsTrapCheckerStarted NOTIFICATION-TYPE
OBJECTS { nbsCmmcChassisIndex, nbsCmmcSlotIndex, nbsCmmcPortIndex,
nbsCmmcPortName }
STATUS current
DESCRIPTION
"Sent when an interface begins checking for a bitstream.
This Notification should be of Severity INFO."
::= { nbsPrbsTraps0 20 }
nbsPrbsTrapCheckerStopped NOTIFICATION-TYPE
OBJECTS { nbsCmmcChassisIndex, nbsCmmcSlotIndex, nbsCmmcPortIndex,
nbsCmmcPortName, nbsPrbsCheckStatus }
STATUS current
DESCRIPTION
"Sent when an interface stops checking for a bitstream.
This Notification should be of Severity INFO."
::= { nbsPrbsTraps0 21 }
nbsPrbsTrapCheckerOverflowed NOTIFICATION-TYPE
OBJECTS { nbsCmmcChassisIndex, nbsCmmcSlotIndex, nbsCmmcPortIndex,
nbsCmmcPortName }
STATUS current
DESCRIPTION
"Sent when nbsPrbsCheckStatus transitions to errOverflow(6).
This event indicates that the checker was unable to continue
and is now in a suspended state which requires a user to
manually stop the checker.
This Notification should be of Severity ERROR."
::= { nbsPrbsTraps0 22 }
nbsPrbsTrapCheckerErrorDetected NOTIFICATION-TYPE
OBJECTS { nbsCmmcChassisIndex, nbsCmmcSlotIndex, nbsCmmcPortIndex,
nbsCmmcPortName, nbsPrbsCheckStatus }
STATUS current
DESCRIPTION
"Sent when nbsPrbsCheckErrors transitions from zero (0).
This event indicates the first error was detected in
the incoming bitstream.
This Notification should be of Severity ERROR."
::= { nbsPrbsTraps0 23 }
nbsPrbsTrapCheckerStatusUpdate NOTIFICATION-TYPE
OBJECTS { nbsCmmcChassisIndex, nbsCmmcSlotIndex, nbsCmmcPortIndex,
nbsCmmcPortName, nbsPrbsCheckStatus, nbsPrbsCheckErrors,
nbsPrbsCheckProgress }
STATUS current
DESCRIPTION
"This Notification periodically reports the status, error
counts, and running time of the Checker process.
This Notification should be of Severity INFO."
::= { nbsPrbsTraps0 24 }
nbsPrbsTrapCheckerSyncIn NOTIFICATION-TYPE
OBJECTS { nbsCmmcChassisIndex, nbsCmmcSlotIndex, nbsCmmcPortIndex,
nbsCmmcPortName, nbsPrbsCheckStatus }
STATUS current
DESCRIPTION
"Sent when a checker port synchronizes with a bitstream.
This Notification should be of Severity ERROR."
::= { nbsPrbsTraps0 25 }
nbsPrbsTrapCheckerSyncOut NOTIFICATION-TYPE
OBJECTS { nbsCmmcChassisIndex, nbsCmmcSlotIndex, nbsCmmcPortIndex,
nbsCmmcPortName, nbsPrbsCheckStatus }
STATUS current
DESCRIPTION
"Sent when a checker port loses synchronization with a
bitstream.
This Notification should be of Severity ERROR."
::= { nbsPrbsTraps0 26 }
END
|