forked from taishin/vendor_mibs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CISCO-CABLE-DIAG-MIB.my
572 lines (486 loc) · 17.1 KB
/
CISCO-CABLE-DIAG-MIB.my
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
-- *****************************************************************
-- Cisco Cable Diagnostic MIB
--
-- April, 2003 Lilian Jiang
--
-- Copyright (c) 2003, 2004 by cisco Systems, Inc.
-- All rights reserved.
-- *****************************************************************
CISCO-CABLE-DIAG-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY,
OBJECT-TYPE,
Gauge32,
Integer32,
Unsigned32
FROM SNMPv2-SMI
MODULE-COMPLIANCE,
OBJECT-GROUP
FROM SNMPv2-CONF
TruthValue,
TimeStamp
FROM SNMPv2-TC
ifIndex
FROM IF-MIB
ciscoMgmt
FROM CISCO-SMI
;
ciscoCableDiagMIB MODULE-IDENTITY
LAST-UPDATED "200409130000Z"
ORGANIZATION "Cisco Systems Inc. "
CONTACT-INFO
"Cisco Systems
Customer Service
Postal: 170 W Tasman Drive
San Jose, CA 95134
USA
Tel: +1 800 553-NETS
E-mail: [email protected]"
DESCRIPTION
"This MIB module defines objects for managing cable
diagnostic test capabilites supported by the Cisco devices.
Cable diagnostic tests are tests intended to exercise
the functional integrity of the cable attached to a
physical interface.
Examples of cable diagnostic test methods are: PRBS
(Pesudo Random Binary Sequence), TDR (Time Domain
reflectometery), etc.."
REVISION "200409130000Z"
DESCRIPTION
"Added a new enum value indeterminate(9) in
ccdTdrIfResultPairStatus."
REVISION "200401150000Z"
DESCRIPTION
"Initial version of this MIB module."
::= { ciscoMgmt 390 }
ciscoCableDiagMIBNotifs OBJECT IDENTIFIER
::= { ciscoCableDiagMIB 0 }
ciscoCableDiagMIBObjects OBJECT IDENTIFIER
::= { ciscoCableDiagMIB 1 }
ciscoCableDiagMIBConform OBJECT IDENTIFIER
::= { ciscoCableDiagMIB 2 }
ccdPrbsObjects OBJECT IDENTIFIER
::= { ciscoCableDiagMIBObjects 1 }
ccdTdrObjects OBJECT IDENTIFIER
::= { ciscoCableDiagMIBObjects 2 }
--
-- PRBS Test Objects
--
ccdPrbsIfTable OBJECT-TYPE
SYNTAX SEQUENCE OF CcdPrbsIfEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A table containing information about PRBS (Pesudo
Random Binary Sequence) test on the device's
interfaces. An entry appears in this table for each
interface which is capable to run PRBS test."
::= { ccdPrbsObjects 1 }
ccdPrbsIfEntry OBJECT-TYPE
SYNTAX CcdPrbsIfEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry in the ccdPrbsIfTable, containing the information
about PRBS test on an interface."
INDEX { ifIndex }
::= { ccdPrbsIfTable 1 }
CcdPrbsIfEntry ::= SEQUENCE {
ccdPrbsIfAction
INTEGER,
ccdPrbsIfActionStatus
INTEGER,
ccdPrbsIfTestErrors
Gauge32,
ccdPrbsIfTestErrorsResetTime
TimeStamp,
ccdPrbsIfTestErrorsMaxValue
Unsigned32
}
ccdPrbsIfAction OBJECT-TYPE
SYNTAX INTEGER {
start(1),
stop(2),
errorReset(3),
running(4),
notRunning(5)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Indicates the PRBS test action to be executed on the interface
and whether the test is currently running or not.
'start' -- start the PRBS test on the interface.
'stop' -- stop the PRBS test on the interface.
'errorReset' -- reset the object value of
ccdPrbsIfTestErrors to zero on the interface.
'running' -- the PRBS test is currently running on the
interface. This value is a read-only value
and can not be set on the interface.
'notRunning' -- the PRBS test is currently not running
on the interface. This value is a read-only
value and can not be set on the interface."
::= { ccdPrbsIfEntry 1 }
ccdPrbsIfActionStatus OBJECT-TYPE
SYNTAX INTEGER {
succeeded(1),
failedDueToUnknownReason(2),
failedDueToResourceUnavailable(3),
failedDueToInternalError(4),
failedDueToTestAlreadyStarted(5),
failedDueToTestAlreadyStopped(6),
failedDueToInterfaceDisabled(7)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Indicates the status of the last PRBS test action set on the
interface."
::= { ccdPrbsIfEntry 2 }
ccdPrbsIfTestErrors OBJECT-TYPE
SYNTAX Gauge32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Indicates the number of errors which occurred during the
current or most recent running of a test. This Gauge is reset
to zero each time a test starts (e.g., when ccdPrbsIfAction
is set to 'start') or each time ccdPrbsIfAction is set
to 'errorReset' on an interface.
If and when an instance of ccdPrbsIfTestErrors reaches its
maximum value as indicated by the corresponding instance of
ccdPrbsIfTestErrorsMaxValue, its value will be less or equal
to the actual number of errors."
::= { ccdPrbsIfEntry 3 }
ccdPrbsIfTestErrorsResetTime OBJECT-TYPE
SYNTAX TimeStamp
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Indicates the most recent time that the corresponding
instance of ccdPrbsIfTestErrors is reset to zero. If the
the corresponding instance of ccdPrbsIfTestErrors is
never reset to zero, then the instance value for
ccdPrbsIfTestErrorsResetTime will be zero."
::= { ccdPrbsIfEntry 4 }
ccdPrbsIfTestErrorsMaxValue OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Indicates the maximum value of the corresponding instance
of ccdPrbsIfTestErrors."
::= { ccdPrbsIfEntry 5 }
--
-- TDR Objects
--
ccdTdrIfTable OBJECT-TYPE
SYNTAX SEQUENCE OF CcdTdrIfEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A table containing information about TDR
(Time Domain Reflectometery) test on the device's
interfaces. An entry appears in this table for each
interface which is capable to run TDR test."
::= { ccdTdrObjects 1 }
ccdTdrIfEntry OBJECT-TYPE
SYNTAX CcdTdrIfEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry in the ccdTdrIfTable, containing the information
about TDR test on an interface."
INDEX { ifIndex }
::= { ccdTdrIfTable 1 }
CcdTdrIfEntry ::= SEQUENCE {
ccdTdrIfAction
INTEGER,
ccdTdrIfActionStatus
INTEGER,
ccdTdrIfLastTestTime
TimeStamp,
ccdTdrIfResultValid
TruthValue
}
ccdTdrIfAction OBJECT-TYPE
SYNTAX INTEGER {
start(1),
clear(2),
running(3),
notRunning(4)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Indicates the TDR test action to be executed on the interface
and whether the test is currently running or not.
'start' -- start the TDR test on the interface.
'clear' -- clear all the TDR test results on the interface.
After this action is executed on an interface,
the object value of ccdTdrIfResultValid for the
corresponding interface will be false(2).
'running' -- the TDR test is currently running on the
interface. This value is a read-only value
and can not be set on the interface.
'notRunning' -- the TDR test is currently not running
on the interface. This value is a read-only
value and can not be set on the interface."
::= { ccdTdrIfEntry 1 }
ccdTdrIfActionStatus OBJECT-TYPE
SYNTAX INTEGER {
succeeded(1),
failedDueToUnknownReason(2),
failedDueToResourceUnavailable(3),
failedDueToInternalError(4),
failedDueToTestAlreadyRunning(5),
failedDueToInterfaceDisabled(6)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Indicates the status of the last TDR test action set on the
interface."
::= { ccdTdrIfEntry 2 }
ccdTdrIfLastTestTime OBJECT-TYPE
SYNTAX TimeStamp
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Indicates the timestamp when TDR test is last run
on the interface. If TDR test is never run on an
interface, then this object value will be zero."
::= { ccdTdrIfEntry 3 }
ccdTdrIfResultValid OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Indicates whether the TDR test result on the interface
is valid for the user to retrieve or not."
::= { ccdTdrIfEntry 4 }
ccdTdrIfResultTable OBJECT-TYPE
SYNTAX SEQUENCE OF CcdTdrIfResultEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A table containing information about TDR
test result on the device's interfaces. An entry
appears in this table for each cable pair on an interface
which has valid TDR test result, i.e., the value of
ccdTdrIfResultValid for the interface is true(1)."
::= { ccdTdrObjects 2 }
ccdTdrIfResultEntry OBJECT-TYPE
SYNTAX CcdTdrIfResultEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry in the ccdTdrIfResultTable, containing
the information about TDR test on an interface."
INDEX { ifIndex, ccdTdrIfResultPairIndex }
::= { ccdTdrIfResultTable 1 }
CcdTdrIfResultEntry ::= SEQUENCE {
ccdTdrIfResultPairIndex
INTEGER,
ccdTdrIfResultPairChannel
INTEGER,
ccdTdrIfResultPairLength
Integer32,
ccdTdrIfResultPairLenAccuracy
Integer32,
ccdTdrIfResultPairDistToFault
Integer32,
ccdTdrIfResultPairDistAccuracy
Integer32,
ccdTdrIfResultPairLengthUnit
INTEGER,
ccdTdrIfResultPairStatus
INTEGER
}
ccdTdrIfResultPairIndex OBJECT-TYPE
SYNTAX INTEGER {
pair1to2(1),
pair3to6(2),
pair4to5(3),
pair7to8(4)
}
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The local cable pair index.
'pair1to2' -- the pair with cable connectors 1 and 2.
'pair3to6' -- the pair with cable connectors 3 and 6.
'pair4to5' -- the pair with cable connectors 4 and 5.
'pair7to8' -- the pair with cable connectors 7 and 8."
REFERENCE
"IEEE 802.3-2002: Sections 40.8.1"
::= { ccdTdrIfResultEntry 1 }
ccdTdrIfResultPairChannel OBJECT-TYPE
SYNTAX INTEGER {
other(1),
channelA(2),
channelB(3),
channelC(4),
channelD(5)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The channels that the cable pair is connected to.
'other' -- none of the following.
'channelA' -- channel A.
'channelB' -- channel B.
'channelC' -- channel C.
'channelD' -- channel D."
::= { ccdTdrIfResultEntry 2 }
ccdTdrIfResultPairLength OBJECT-TYPE
SYNTAX Integer32 (-1..2147483647)
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The length of the cable pair. A value of -1 indicates
the length value is invalid. The unit of this value
is indicated by ccdTdrIfResultPairLengthUnit of the same
cable pair."
::= { ccdTdrIfResultEntry 3 }
ccdTdrIfResultPairLenAccuracy OBJECT-TYPE
SYNTAX Integer32 (-1..2147483647)
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The length accuracy of the cable pair. This value
should be added to and deducted from the value of
ccdTdrIfResultPairLength of the same cable pair to
form the upper and lower range of the cable pair length.
A value of -1 indicates the length accuracy value
is invalid. The unit of this value is indicated by
ccdTdrIfResultPairLengthUnit of the same cable pair. "
::= { ccdTdrIfResultEntry 4 }
ccdTdrIfResultPairDistToFault OBJECT-TYPE
SYNTAX Integer32 (-1..2147483647)
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The distance to the fault point of the cable pair.
A value of -1 indicates this value is invalid.
The unit of this value is indicated by
ccdTdrIfResultPairLengthUnit of the same cable pair."
::= { ccdTdrIfResultEntry 5 }
ccdTdrIfResultPairDistAccuracy OBJECT-TYPE
SYNTAX Integer32 (-1..2147483647)
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The accuracy of the distance to the fault point for
the cable pair. This value should be added to and
deducted from the value of ccdTdrIfResultPairDistToFault
of the same cable pair to form the upper and lower range
of the distance to fault point for the cable pair.
A value of -1 indicates this value is invalid.
The unit of this value is indicated by
ccdTdrIfResultPairLengthUnit of the same cable pair."
::= { ccdTdrIfResultEntry 6 }
ccdTdrIfResultPairLengthUnit OBJECT-TYPE
SYNTAX INTEGER {
unknown(1),
meter(2),
centimeter(3),
kilometer(4)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The measurement unit on the length or the distance to fault
point for the cable pair.
'unknown' -- none of the following.
'meter' -- the unit is meter.
'centimeter' -- the unit is centimeter.
'kilometer' -- the unit is kilometer."
::= { ccdTdrIfResultEntry 7 }
ccdTdrIfResultPairStatus OBJECT-TYPE
SYNTAX INTEGER {
unknown(1),
terminated(2),
notCompleted(3),
notSupported(4),
open(5),
shorted(6),
impedanceMismatch(7),
broken(8),
indeterminate(9)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The status of the cable pair.
'unknown' -- none of the following.
'terminated' -- the pair is properly terminated at the
remote end.
'notCompleted' -- the test on this pair is not completed.
'notSupported' -- the test on this pair is not supported.
'open' -- the pair is open.
'shorted' -- the pair is shorted.
'impedanceMismatch' -- the impedance of the pair is
mismatched.
'broken' -- the pair is broken.
'indeterminate' -- the status of the pair is indeterminate."
::= { ccdTdrIfResultEntry 8 }
--
-- Conformance
--
ciscoCableDiagMIBCompliances OBJECT IDENTIFIER
::= { ciscoCableDiagMIBConform 1 }
ciscoCableDiagMIBGroups OBJECT IDENTIFIER
::= { ciscoCableDiagMIBConform 2 }
ciscoCableDiagMIBComplianceRev1 MODULE-COMPLIANCE
STATUS current
DESCRIPTION
"The compliance statement for SNMP entities that implement the
CISCO-CABLE-DIAG-MIB."
MODULE -- this module
-- no MANDATORY-GROUPS
GROUP ccdPrbsGroup
DESCRIPTION
"This group is mandatory for implementations of PRBS cable
diagnostic test."
GROUP ccdTdrGroup
DESCRIPTION
"This group is mandatory for implementations of TDR cable
diagnostic test."
::= { ciscoCableDiagMIBCompliances 1 }
--
-- Units of Conformance
--
ccdPrbsGroup OBJECT-GROUP
OBJECTS {
ccdPrbsIfAction,
ccdPrbsIfActionStatus,
ccdPrbsIfTestErrors,
ccdPrbsIfTestErrorsResetTime,
ccdPrbsIfTestErrorsMaxValue
}
STATUS current
DESCRIPTION
"A collection of managed objects to support PRBS
cable diagnotic test on the interfaces of the device."
::= { ciscoCableDiagMIBGroups 1 }
ccdTdrGroup OBJECT-GROUP
OBJECTS {
ccdTdrIfAction,
ccdTdrIfActionStatus,
ccdTdrIfLastTestTime,
ccdTdrIfResultValid,
ccdTdrIfResultPairChannel,
ccdTdrIfResultPairLength,
ccdTdrIfResultPairLenAccuracy,
ccdTdrIfResultPairDistToFault,
ccdTdrIfResultPairDistAccuracy,
ccdTdrIfResultPairLengthUnit,
ccdTdrIfResultPairStatus
}
STATUS current
DESCRIPTION
"A collection of managed objects to support TDR
cable diagnotic test on the interfaces of the device."
::= { ciscoCableDiagMIBGroups 2 }
END