summaryrefslogtreecommitdiff
path: root/MIBS/comware/HH3C-ISDN-MIB
blob: f5404dc78ad2e5d4071598f5d6ecf3c2782297bf (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
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
-- ==========================================================
-- Copyright (c) 2004-2009 New H3C Tech. Co., Ltd. All rights reserved.
--
-- Description: This file describes the mib implementation of ISDN
-- Reference:
-- Version: V1.4
-- History:
--  V1.0 Initial version
--  V1.1 2004-10-27 updated by gaolong
--       Modify IMPORTS clause.
--       Remove object oid comments from MIB
--       Correct DEFVAL value of hh3cChanbIsdnPermit
--  V1.2 2005-03-22 updated by songjie
--       Add table: hh3cQ931IsdnTable.
--       Add traps: hh3cQ931IsdnCallSetup, hh3cQ931IsdnCallClear.
--  V1.3 2009-05-22 updated by chengtiesheng
--       Add table: hh3cLapdIsdnTable.
--  V1.4 2009-10-15 updated by chengtiesheng
--       Modify leaf node: hh3cLapdIsdnProtocol, add value ni(9).
--       Change MAX-ACCESS of hh3cLapdIsdnIf.
--       Add leaf node: hh3cLapdStatusTrapEnable.
--       Add trap:  hh3cLapdIsdnStatusChange.
-- ==============================================================
HH3C-ISDN-MIB DEFINITIONS ::= BEGIN

        IMPORTS
            hh3cmlsr
                FROM HH3C-OID-MIB
            Integer32, Counter32, OBJECT-TYPE, MODULE-IDENTITY,
            NOTIFICATION-TYPE
                FROM SNMPv2-SMI
            DisplayString, TimeStamp, DateAndTime, RowStatus
                FROM SNMPv2-TC;

--
-- Node definitions
--

        hh3cIsdnMib MODULE-IDENTITY
            LAST-UPDATED "200112200000Z"
            ORGANIZATION
                "New H3C Technologies Co., Ltd."
            CONTACT-INFO
                "Platform Team New H3C Technologies Co., Ltd.
                 Hai-Dian District Beijing P.R. China
                 http://www.h3c.com
                 Zip: 100085"
            DESCRIPTION
                "This file describes the MIB implementation of ISDN"
            ::= { hh3cmlsr 9 }

--  Isdn Mib objects definitions
        hh3cIsdnMibObjects OBJECT IDENTIFIER ::= { hh3cIsdnMib 1 }

        hh3cisdnChannelB OBJECT IDENTIFIER ::= { hh3cIsdnMibObjects 1 }

        hh3cChanbIsdnTable OBJECT-TYPE
            SYNTAX SEQUENCE OF HH3CChanbIsdnEntry
            MAX-ACCESS not-accessible
            STATUS current
            DESCRIPTION
                "This table is used to describe the router's B Channels
                 infomation"
            ::= { hh3cisdnChannelB 1 }

        hh3cChanbIsdnEntry OBJECT-TYPE
            SYNTAX HH3CChanbIsdnEntry
            MAX-ACCESS not-accessible
            STATUS current
            DESCRIPTION
                " A single B channels"
            INDEX { hh3cChanbIsdnIf }
            ::= { hh3cChanbIsdnTable 1 }

        HH3CChanbIsdnEntry ::=
            SEQUENCE {
                hh3cChanbIsdnIf
                    INTEGER,
                hh3cChanbIsdnPermit
                    INTEGER,
                hh3cChanbIsdnAddr
                    DisplayString,
                hh3cChanbIsdnCallerAddr
                    DisplayString,
                hh3cChanbIsdnCallType
                    INTEGER,
                hh3cChanbIsdnInfoType
                    INTEGER,
                hh3cChanbIsdnState
                    INTEGER,
                hh3cChanbIsdnCallFreeReason
                    DisplayString,
                hh3cChanbIsdnCallFreeCode
                    INTEGER,
                hh3cChanbIsdnCallAccept
                    Counter32,
                hh3cChanbIsdnCallReject
                    Counter32,
                hh3cChanbIsdnCallSuccess
                    Counter32,
                hh3cChanbIsdnCallFailure
                    Counter32,
                hh3cChanbIsdnMaxKeepTime
                    Integer32,
                hh3cChanbIsdnLastKeepTime
                    Integer32,
                hh3cChanbIsdnLastCallTime
                    TimeStamp
             }

        hh3cChanbIsdnIf OBJECT-TYPE
            SYNTAX INTEGER
            MAX-ACCESS read-only
            STATUS current
            DESCRIPTION
                " this object is used to describe the virtual
                interface value associated with one neighbor.   "
            ::= { hh3cChanbIsdnEntry 1 }

        hh3cChanbIsdnPermit OBJECT-TYPE
            SYNTAX INTEGER
                {
                callOut(1),
                callIn(2),
                callBidirection(3)
                }
            MAX-ACCESS read-only
            STATUS current
            DESCRIPTION
                " this object is used to describe the call permissions."
            DEFVAL { callBidirection }
            ::= { hh3cChanbIsdnEntry 2 }

        hh3cChanbIsdnAddr OBJECT-TYPE
            SYNTAX DisplayString
            MAX-ACCESS read-only
            STATUS current
            DESCRIPTION
                "this object is used to descirbe the call address
                by which we call one nieghbor."
            ::= { hh3cChanbIsdnEntry 3 }

        hh3cChanbIsdnCallerAddr OBJECT-TYPE
            SYNTAX DisplayString
            MAX-ACCESS read-only
            STATUS current
            DESCRIPTION
                "this object is used to describe the callser address
                which will be known by B channels."
            ::= { hh3cChanbIsdnEntry 4 }

        hh3cChanbIsdnCallType OBJECT-TYPE
            SYNTAX INTEGER
                {
                nocall(0),
                call(1),
                answer(2)
                }
            MAX-ACCESS read-only
            STATUS current
            DESCRIPTION
                "this object is used to describe that whether it is an
                incoming call or an outging call."
            ::= { hh3cChanbIsdnEntry 5 }

        hh3cChanbIsdnInfoType OBJECT-TYPE
            SYNTAX INTEGER
                {
                unknown(1),
                speech(2),
                unrestrDigit(3),
                unrestrDigit56(4),
                restrictDigit(5),
                audio31(6),
                audio7(7),
                video(8),
                swithchedPacket(9)
                }
            MAX-ACCESS read-only
            STATUS current
            DESCRIPTION
                "this object is used to describe the information type
                on the call"
            ::= { hh3cChanbIsdnEntry 6 }

        hh3cChanbIsdnState OBJECT-TYPE
            SYNTAX INTEGER
                {
                idle(1),
                connecting(2),
                active(3)
                }
            MAX-ACCESS read-only
            STATUS current
            DESCRIPTION
                "this object is used to manage the call by NMS"
            ::= { hh3cChanbIsdnEntry 7 }

        hh3cChanbIsdnCallFreeReason OBJECT-TYPE
            SYNTAX DisplayString
            MAX-ACCESS read-only
            STATUS current
            DESCRIPTION
                "this object is used to describe the reason why last
                call is cleard"
            ::= { hh3cChanbIsdnEntry 8 }

        hh3cChanbIsdnCallFreeCode OBJECT-TYPE
            SYNTAX INTEGER
            MAX-ACCESS read-only
            STATUS current
            DESCRIPTION
                "this object is used to describe the reason code for
                the last call down."
            ::= { hh3cChanbIsdnEntry 9 }

        hh3cChanbIsdnCallAccept OBJECT-TYPE
            SYNTAX Counter32
            MAX-ACCESS read-only
            STATUS current
            DESCRIPTION
                "this object is used to describe the accepted call
                number from the B channels"
            ::= { hh3cChanbIsdnEntry 10 }

        hh3cChanbIsdnCallReject OBJECT-TYPE
            SYNTAX Counter32
            MAX-ACCESS read-only
            STATUS current
            DESCRIPTION
                "this object is used to describe the refused call
                number from B channels ."
            ::= { hh3cChanbIsdnEntry 11 }

        hh3cChanbIsdnCallSuccess OBJECT-TYPE
            SYNTAX Counter32
            MAX-ACCESS read-only
            STATUS current
            DESCRIPTION
                "this object is used to describe the successful call
                number to B channels after
                system restart."
            ::= { hh3cChanbIsdnEntry 12 }

        hh3cChanbIsdnCallFailure OBJECT-TYPE
            SYNTAX Counter32
            MAX-ACCESS read-only
            STATUS current
            DESCRIPTION
                "this object is used to describe the failing call number
                 to B channels after system restart"
            ::= { hh3cChanbIsdnEntry 13 }

        hh3cChanbIsdnMaxKeepTime OBJECT-TYPE
            SYNTAX Integer32
            UNITS "milliseconds"
            MAX-ACCESS read-only
            STATUS current
            DESCRIPTION
                "This object is used to descirbe the maximum duration
                time in milliseconds."
            DEFVAL { 2147483647 }
            ::= { hh3cChanbIsdnEntry 14 }

        hh3cChanbIsdnLastKeepTime OBJECT-TYPE
            SYNTAX Integer32
            UNITS "milliseconds"
            MAX-ACCESS read-only
            STATUS current
            DESCRIPTION
                "this object is used to describe the last call duration
                 time in milliseconds"
            ::= { hh3cChanbIsdnEntry 15 }

        hh3cChanbIsdnLastCallTime OBJECT-TYPE
            SYNTAX TimeStamp
            MAX-ACCESS read-only
            STATUS current
            DESCRIPTION
                "this object is used to describe the sysUpTime after
                last call attempt was made."
            ::= { hh3cChanbIsdnEntry 16 }

        hh3cChanbTrapEnable OBJECT-TYPE
            SYNTAX INTEGER { enabled(1), disabled(2) }
            MAX-ACCESS read-write
            STATUS current
            DESCRIPTION
                "This object is used to control  sending trap"
            ::= { hh3cisdnChannelB 2 }

        hh3cisdnQ931 OBJECT IDENTIFIER ::= { hh3cIsdnMibObjects 2 }

        hh3cQ931IsdnControl OBJECT IDENTIFIER ::= { hh3cisdnQ931 1 }

        hh3cQ931CallSetupTrapEnable OBJECT-TYPE
            SYNTAX INTEGER
            {
                enabled(1),
                disabled(2)
            }
            MAX-ACCESS read-write
            STATUS current
            DESCRIPTION
                "This object is used to control sending callsetup trap."
            ::= { hh3cQ931IsdnControl 1 }

        hh3cQ931CallClearTrapEnable OBJECT-TYPE
            SYNTAX INTEGER
            {
                enabled(1),
                disabled(2)
            }
            MAX-ACCESS read-write
            STATUS current
            DESCRIPTION
                "This object is used to control sending callclear trap"
            ::= { hh3cQ931IsdnControl 2 }

        hh3cQ931IsdnTable OBJECT-TYPE
            SYNTAX SEQUENCE OF Hh3cQ931IsdnEntry
            MAX-ACCESS not-accessible
            STATUS current
            DESCRIPTION
                "This table describes B channel information for the
                use of Q931"
            ::= { hh3cisdnQ931 2 }

        hh3cQ931IsdnEntry OBJECT-TYPE
            SYNTAX Hh3cQ931IsdnEntry
            MAX-ACCESS not-accessible
            STATUS current
            DESCRIPTION
                "A B channel entry in the Q931."
            INDEX {  hh3cQ931IsdnOpIndex }
            ::= { hh3cQ931IsdnTable 1 }

        Hh3cQ931IsdnEntry ::=
            SEQUENCE
            {
                hh3cQ931IsdnOpIndex
                    Integer32,
                hh3cQ931IsdnLastCalled
                    DisplayString,
                hh3cQ931IsdnLastCalling
                    DisplayString,
                hh3cQ931IsdnLastCauseDisc
                    INTEGER,
                hh3cQ931IsdnCallDirection
                    INTEGER,
                hh3cQ931IsdnCallTimeOpen
                    DateAndTime,
                hh3cQ931IsdnCallTimeClose
                    DateAndTime
            }

        hh3cQ931IsdnOpIndex OBJECT-TYPE
            SYNTAX Integer32
            MAX-ACCESS accessible-for-notify
            STATUS current
            DESCRIPTION
                "Index of the B ISDN channel interface managed by Q93"
            ::= { hh3cQ931IsdnEntry 1 }

        hh3cQ931IsdnLastCalled OBJECT-TYPE
            SYNTAX DisplayString
            MAX-ACCESS read-only
            STATUS current
            DESCRIPTION
                "This object describes the called ISDN number.
                When an outgoing call is established successfully, the
                value of this node is the call number of this device,
                otherwise the value is null string"
            ::= { hh3cQ931IsdnEntry 2 }

        hh3cQ931IsdnLastCalling OBJECT-TYPE
            SYNTAX DisplayString
            MAX-ACCESS read-only
            STATUS current
            DESCRIPTION
                "This object describes the calling ISDN number.
                When an incoming call is established successfully, the
                value of this node is the call number of peer device,
                otherwise the value is null string."
            ::= { hh3cQ931IsdnEntry 3 }

        hh3cQ931IsdnLastCauseDisc OBJECT-TYPE
            SYNTAX INTEGER
            {
                unknown(1),
                normCallClr(2),
                noRouteToTransNet(3),
                noRouteToDest(4),
                switchEquCongest(5),
                netOutofOrder(6)
            }
            MAX-ACCESS read-only
            STATUS current
            DESCRIPTION
                "This object describes last cause of disconnection.
                In hh3cQ931IsdnCallClear trap, the value of this node is
                the reason of disconnection, this node is only valid
                for hh3cQ931IsdnCallClear trap, the value of this node
                is unknown in other situation.
                unknown:            unknown error.
                normCallClr:        normal call clearing.
                noRouteToTransNet:  no route to specified transit network.
                noRouteToDest:      no route to destination.
                switchEquCongest:   switching equipment congestion.
                netOutofOrder:      network out of order."
            ::= { hh3cQ931IsdnEntry 4 }

        hh3cQ931IsdnCallDirection OBJECT-TYPE
            SYNTAX INTEGER
            {
                incoming(1),
                outgoing(2)
            }
            MAX-ACCESS read-only
            STATUS current
            DESCRIPTION
                "This object describes the direction of the current call."
            ::= { hh3cQ931IsdnEntry 5 }

        hh3cQ931IsdnCallTimeOpen OBJECT-TYPE
            SYNTAX DateAndTime
            MAX-ACCESS read-only
            STATUS current
            DESCRIPTION
                "This object describes the start time of this call.
                start time is the time of an existent call that
                has just been established."
            ::= { hh3cQ931IsdnEntry 6 }

        hh3cQ931IsdnCallTimeClose OBJECT-TYPE
            SYNTAX DateAndTime
            MAX-ACCESS read-only
            STATUS current
            DESCRIPTION
                "This object describes the close time of this call.
                This node is only vaild for hh3cQ931IsdnCallClear trap.
                In other situation the value of this node is zero.
                In hh3cQ931IsdnCallClear trap, this node provides the
                time of an existent call that the call has just been
                cleared."
            ::= { hh3cQ931IsdnEntry 7 }

-- Define hh3cLapdIsdnTable

        hh3cIsdnLapd OBJECT IDENTIFIER ::= { hh3cIsdnMibObjects 3 }

        hh3cLapdIsdnTable OBJECT-TYPE
            SYNTAX SEQUENCE OF Hh3cLapdIsdnEntry
            MAX-ACCESS not-accessible
            STATUS current
            DESCRIPTION
                "This table is used to describe the config of ISDN D channel."
            ::= { hh3cIsdnLapd 1 }

        hh3cLapdIsdnEntry OBJECT-TYPE
            SYNTAX Hh3cLapdIsdnEntry
            MAX-ACCESS not-accessible
            STATUS current
            DESCRIPTION
                "ISDN D channel config"
            INDEX { hh3cLapdIsdnIf }
            ::= { hh3cLapdIsdnTable 1 }

        Hh3cLapdIsdnEntry ::=
            SEQUENCE {
                hh3cLapdIsdnIf
                    Integer32,
                hh3cLapdIsdnProtocol
                    INTEGER,
                hh3cLapdIsdnIfMode
                    INTEGER,
                hh3cLapdIsdnLinkStatus
                    INTEGER
             }

        hh3cLapdIsdnIf OBJECT-TYPE
            SYNTAX Integer32
            MAX-ACCESS accessible-for-notify
            STATUS current
            DESCRIPTION
                "This object is used to describe the D channel
                interface value associated with one neighbor."
            ::= { hh3cLapdIsdnEntry 1 }

        hh3cLapdIsdnProtocol OBJECT-TYPE
            SYNTAX INTEGER
                {
                dss1(1),
                qsig(2),
                etsi(3),
                ess5(4),
                ansi(5),
                ni2(6),
                ntt(7),
                att(8),
                ni(9)
                }
            MAX-ACCESS read-write
            STATUS current
            DESCRIPTION
                "This object is used to describe the protocol D channel applied.
                For E1, the protocol may be dss1, qsig, etsi.
                For T1, the protocol may be ess5, ansi, att, dss1, etsi, ni2,
                ntt, qsig.
                For BRI, the protocol may be ansi, dss1, etsi, ni, ntt."
            DEFVAL { dss1 }
            ::= { hh3cLapdIsdnEntry 2 }

        hh3cLapdIsdnIfMode OBJECT-TYPE
            SYNTAX INTEGER
                {
                userSide(1),
                networkSide(2)
                }
            MAX-ACCESS read-write
            STATUS current
            DESCRIPTION
                "The physical interface mode.  For TE mode, the value
                of this object is userSide.  For NT mode, the value of this
                object is networkSide."
            ::= { hh3cLapdIsdnEntry 3 }

        hh3cLapdIsdnLinkStatus OBJECT-TYPE
            SYNTAX INTEGER
                {
                inactive(1),
                l1Active(2),
                l2Active(3)
                }
            MAX-ACCESS read-only
            STATUS current
            DESCRIPTION
                "The operational status of this interface:
                 inactive  all layers are inactive.
                 l1Active  layer 1 is activated,
                           layer 2 datalink not established.
                 l2Active  layer 1 is activated,
                           layer 2 datalink established.
               "
            ::= { hh3cLapdIsdnEntry 4 }

        hh3cLapdIsdnControl OBJECT IDENTIFIER ::= { hh3cIsdnLapd 2 }
        hh3cLapdStatusTrapEnable OBJECT-TYPE
            SYNTAX INTEGER
            {
                enabled(1),
                disabled(2)
            }
            MAX-ACCESS read-write
            STATUS current
            DESCRIPTION
                "This object is used to control sending hh3cLapdIsdnStatusChange
                trap."
            DEFVAL { enabled }
            ::= { hh3cLapdIsdnControl 1 }

--  Traps related to Connection management
        hh3cIsdnMibTraps OBJECT IDENTIFIER ::= { hh3cIsdnMib 2 }

        hh3cChanbIsdnCall NOTIFICATION-TYPE
        OBJECTS { hh3cChanbIsdnIf,
            hh3cChanbIsdnAddr,
            hh3cChanbIsdnCallType,
            hh3cChanbIsdnCallerAddr,
            hh3cChanbIsdnInfoType,
            hh3cChanbIsdnLastKeepTime,
            hh3cChanbIsdnCallFreeReason,
            hh3cChanbIsdnCallFreeCode
            }
        STATUS current
        DESCRIPTION
        "When one call is setup ,cleard or determined , the trap
        is sent to NMS"
        ::= { hh3cIsdnMibTraps 1 }

        hh3cQ931IsdnCallSetup NOTIFICATION-TYPE
            OBJECTS {
                hh3cQ931IsdnOpIndex,
                hh3cQ931IsdnLastCalled,
                hh3cQ931IsdnLastCalling,
                hh3cQ931IsdnCallDirection,
                hh3cQ931IsdnCallTimeOpen
            }
            STATUS      current
            DESCRIPTION
                "This trap/inform is sent to the manager whenever a call
                is established successfully."
            ::= { hh3cIsdnMibTraps 2 }

        hh3cQ931IsdnCallClear NOTIFICATION-TYPE
            OBJECTS {
                hh3cQ931IsdnOpIndex,
                hh3cQ931IsdnLastCalled,
                hh3cQ931IsdnLastCalling,
                hh3cQ931IsdnLastCauseDisc,
                hh3cQ931IsdnCallDirection,
                hh3cQ931IsdnCallTimeOpen,
                hh3cQ931IsdnCallTimeClose
            }
            STATUS current
            DESCRIPTION
                "This trap/inform is sent to the manager under the following
                conditions:
                - an existent call is normally cleared.
                - an existent call is determined to have ultimately
                  failed, and has been cleared.
                - the existent call is cleared when the BRI/PRI port is
                  down.
                - the existent call is cleared when the dialer rule is
                  down."
            ::= { hh3cIsdnMibTraps 3 }

        hh3cLapdIsdnStatusChange NOTIFICATION-TYPE
            OBJECTS {
                hh3cLapdIsdnIf,
                hh3cLapdIsdnLinkStatus
            }
            STATUS current
            DESCRIPTION
                "This trap/inform is sent to the manager whenever the
                 D-channel of an interface changes state."
            ::= { hh3cIsdnMibTraps 4 }

    END