summaryrefslogtreecommitdiff
path: root/MIBS/junose/Juniper-HDLC-MIB
blob: 5b2cf3f9e48aebd57b23535883762b28bfddf437 (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

-- *****************************************************************************
-- Juniper-HDLC-MIB
--
-- Juniper Networks Enterprise MIB
--   HDLC MIB
--
-- Copyright (c) 1998, 1999 Redstone Communications, Inc.
-- Copyright (c) 1999, 2001 Unisphere Networks, Inc.
-- Copyright (c) 2002, 2003 Juniper Networks, Inc.
--   All Rights Reserved.
-- *****************************************************************************

Juniper-HDLC-MIB  DEFINITIONS ::= BEGIN

IMPORTS
    MODULE-IDENTITY, OBJECT-TYPE, Integer32
        FROM SNMPv2-SMI
    RowStatus
        FROM SNMPv2-TC
    MODULE-COMPLIANCE, OBJECT-GROUP
        FROM SNMPv2-CONF
    InterfaceIndex, InterfaceIndexOrZero
        FROM IF-MIB
    juniMibs
        FROM Juniper-MIBs
    JuniNextIfIndex
        FROM Juniper-TC;

juniHdlcMIB  MODULE-IDENTITY
    LAST-UPDATED "200310031925Z"  -- 03-Oct-03 03:25 PM EDT
    ORGANIZATION "Juniper Networks, Inc."
    CONTACT-INFO
        "       Juniper Networks, Inc.
        Postal: 10 Technology Park Drive
                Westford, MA  01886-3146
                USA
        Tel:    +1 978 589 5800
        Email:  mib@Juniper.net"
    DESCRIPTION
        "The HDLC MIB for the Juniper Networks enterprise.  This MIB provides
        a means for configuring HDLC interfaces on top of various types of
        interfaces, such as packet over SONET (POS) and high speed serial
        interfaces (HSSI).  Management objects are provided to query for an
        available interface index, and to create/delete interfaces of this type.
        Creating/deleting this interface type using this MIB has the side effect
        of creating/deleting corresponding entries in the IF-MIB.ifTable, the
        IF-MIB.ifXTable, and the Juniper-UNI-IF-MIB.juniIfTable."
    -- Revision History
    REVISION    "200310031925Z"  -- 03-Oct-03 03:25 PM EDT  - JUNOSe 5.1
    DESCRIPTION
        "Added juniHdlcIfIdleCharacter object."
    REVISION    "200209162144Z"  -- 16-Sep-02 05:44 PM EDT  - JUNOSe 5.0
    DESCRIPTION
        "Replaced Unisphere names with Juniper names."
    REVISION    "200111281343Z"  -- 28-Nov-01 08:43 AM EST  - JUNOSe 3.2
    DESCRIPTION
        "Removed DEFVALs for juniHdlcIfClockMode juniHdlcIfClockRate and
        juniHdlcIfForceDteAck.  Defaults are chosen according to the type of the
        underlying interface."
    REVISION    "200103221430Z"  -- 22-Mar-01 09:30 AM EST  - JUNOSe 3.1
    DESCRIPTION
        "Added the following objects:
             juniHdlcIfClockMode
             juniHdlcIfClockRate
             juniHdlcIfForceDteAck"
    REVISION    "200001260000Z"  -- 26-Jan-00               - JUNOSe 1.3
    DESCRIPTION
        "Changed the valid integer range for juniHdlcIfMru and juniHdlcIfMtu."
    REVISION      "9907280000Z"  -- 28-Jul-99               - JUNOSe 1.1
    DESCRIPTION
        "o Removed DEFVALs for juniHdlcIfMru and juniHdlcIfMtu.  Defaults are
           chosen according to the type of the underlying interface.
         o Added juniHdlcIfDataPolarity."
    REVISION      "9811130000Z"  -- 13-Nov-98               - JUNOSe 1.0
    DESCRIPTION
        "Initial version of this MIB module."
    ::= { juniMibs 9 }


-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-- Managed objects
-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
juniHdlcObjects     OBJECT IDENTIFIER ::= { juniHdlcMIB 1 }

-- /////////////////////////////////////////////////////////////////////////////
--
-- HDLC Interfaces
--
-- /////////////////////////////////////////////////////////////////////////////
--
-- IfIndex selection for creating new HDLC interfaces.
--
juniHdlcNextIfIndex OBJECT-TYPE
    SYNTAX      JuniNextIfIndex
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
        "Coordinate ifIndex value allocation for entries in juniHdlcIfTable.

        A GET of this object returns the next available ifIndex value to be used
        to create an entry in the associated interface table; or zero, if no
        valid ifIndex value is available.  This object also returns a value of
        zero when it is the lexicographic successor of a varbind presented in an
        SNMP GETNEXT or GETBULK request, for which circumstance it is assumed
        that ifIndex allocation is unintended.

        Successive GETs will typically return different values, thus avoiding
        collisions among cooperating management clients seeking to create table
        entries simultaneously."
    ::= { juniHdlcObjects 1 }


--
-- The HDLC Interface Table
--
juniHdlcIfTable OBJECT-TYPE
    SYNTAX      SEQUENCE OF JuniHdlcIfEntry
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        "This table contains entries for HDLC interfaces present in the system."
    ::= { juniHdlcObjects 2 }

juniHdlcIfEntry OBJECT-TYPE
    SYNTAX      JuniHdlcIfEntry
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        "Each entry describes the characteristics of an HDLC interface.
        Creating/deleting entries in this table causes corresponding entries for
        be created/deleted in ifTable/ifXTable/juniIfTable."
    INDEX     { juniHdlcIfIndex }
    ::= { juniHdlcIfTable 1 }

JuniHdlcIfEntry ::= SEQUENCE {
    juniHdlcIfIndex          InterfaceIndex,
    juniHdlcIfRowStatus      RowStatus,
    juniHdlcIfLowerIfIndex   InterfaceIndexOrZero,
    juniHdlcIfMtu            Integer32,
    juniHdlcIfMru            Integer32,
    juniHdlcIfCrcSize        INTEGER,
    juniHdlcIfDataPolarity   INTEGER,
    juniHdlcIfClockMode      INTEGER,
    juniHdlcIfClockRate      INTEGER,
    juniHdlcIfForceDteAck    INTEGER,
    juniHdlcIfIdleCharacter  INTEGER }

juniHdlcIfIndex OBJECT-TYPE
    SYNTAX      InterfaceIndex
    MAX-ACCESS  not-accessible
    STATUS      current
    DESCRIPTION
        "The ifIndex of the HDLC interface.  When creating entries in this
        table, suitable values for this object are determined by reading
        juniHdlcNextIfIndex."
    ::= { juniHdlcIfEntry 1 }

juniHdlcIfRowStatus OBJECT-TYPE
    SYNTAX      RowStatus
    MAX-ACCESS  read-create
    STATUS      current
    DESCRIPTION
        "Controls creation/deletion of entries in this table according to the
        RowStatus textual convention, constrained to support the following
        values only:
            createAndGo
            destroy

        To create an entry in this table, the following entry objects MUST be
        explicitly configured:
            juniHdlcIfRowStatus
            juniHdlcIfLowerIfIndex

        In addition, when creating an entry the following conditions must hold:

            A value for juniHdlcIfIndex must have been determined previously, by
            reading juniHdlcNextIfIndex.

            The interface identified by juniHdlcIfLowerIfIndex must exist.

        A corresponding entry in ifTable/ifXTable/juniIfTable is created/
        destroyed as a result of creating/destroying an entry in this table."
    ::= { juniHdlcIfEntry 2 }

juniHdlcIfLowerIfIndex OBJECT-TYPE
    SYNTAX      InterfaceIndexOrZero
    MAX-ACCESS  read-create
    STATUS      current
    DESCRIPTION
        "The ifIndex of an interface over which this HDLC interface is to be
        layered.  A value of zero indicates no layering.  An implementation may
        choose to require that a nonzero value be configured at entry creation."
    ::= { juniHdlcIfEntry 3 }

juniHdlcIfMtu OBJECT-TYPE
    SYNTAX      Integer32 (0..32763)
    UNITS       "octets"
    MAX-ACCESS  read-create
    STATUS      current
    DESCRIPTION
        "The Maximum Transmission Unit (MTU) this interface is permitted to
        transmit.

        At creation, if a value for this object is not specified, a default will
        be chosen that is suitable for the type of lower interface on which this
        interface is stacked.

        This setting plus 2 bytes for HDLC address/control plus the length
        in bytes of the HDLC CRC cannot exceed 65535.  The maximum value for
        this object reflects the largest possible value when no CRC is used;
        technology constraints of a particular implementation may further
        limit the upper bound value."
    ::= { juniHdlcIfEntry 4 }

juniHdlcIfMru OBJECT-TYPE
    SYNTAX      Integer32 (0..32763)
    UNITS       "octets"
    MAX-ACCESS  read-create
    STATUS      current
    DESCRIPTION
        "The Maximum Receive Unit (MRU) this interface is permitted to receive.

        At creation, if a value for this object is not specified, a default will
        be chosen that is suitable for the type of lower interface on which this
        interface is stacked.

        This setting plus 2 bytes for HDLC address/control plus the length in
        bytes of the HDLC CRC cannot exceed 65535.  The maximum value for this
        object reflects the largest possible value when no CRC is used;
        technology constraints of a particular implementation may further limit
        the upper bound value."
    ::= { juniHdlcIfEntry 5 }

juniHdlcIfCrcSize OBJECT-TYPE
    SYNTAX      INTEGER {
                    none(0),
                    crc16(1),
                    crc32(2) }
    MAX-ACCESS  read-create
    STATUS      current
    DESCRIPTION
        "Selects the CRC size: none, 16 bits, or 32 bits."
    DEFVAL    { crc16 }
    ::= { juniHdlcIfEntry 6 }

juniHdlcIfDataPolarity OBJECT-TYPE
    SYNTAX      INTEGER {
                    normal(0),
                    inverted(1) }
    MAX-ACCESS  read-create
    STATUS      current
    DESCRIPTION
        "Polarity of data transmitted on this HDLC interface.  Inverted data is
        used for certain line coding configurations to ensure sufficient one's
        density for timing recovery by the remote end."
    DEFVAL    { normal }
    ::= { juniHdlcIfEntry 7 }

juniHdlcIfClockMode OBJECT-TYPE
    SYNTAX      INTEGER {
                    hdlcClockUnsupported(0),
                    hdlcClockInternal(1),
                    hdlcClockLine(2) }
    MAX-ACCESS  read-create
    STATUS      current
    DESCRIPTION
        "The clock mode setting for this HDLC interface.  This object is only
        applicable to HDLC interfaces directly over a high speed serial
        interface (HSSI).

        At creation, if a value for this object is not specified, a default will
        be chosen that is suitable for the type of lower interface on which this
        interface is stacked.  If the lower interface is not HSSI, then the
        default value will be hdlcClockUnsupported(0); if the lower interface is
        HSSI then the default value will be hdlcClockLine(2)."
    ::= { juniHdlcIfEntry 8 }

juniHdlcIfClockRate OBJECT-TYPE
    SYNTAX      INTEGER {
                    hdlcClockRateUnsupported(0),
                    hdlcClockRate34At368Mhz(1),
                    hdlcClockRate44At736Mhz(2) }
    MAX-ACCESS  read-create
    STATUS      current
    DESCRIPTION
        "The clock rate setting for this HDLC interface.  This object is only
        applicable to HDLC interfaces directly over a high speed serial
        interface (HSSI).

        At creation, if a value for this object is not specified, a default will
        be chosen that is suitable for the type of lower interface on which this
        interface is stacked.  If the lower interface is not HSSI, then the
        default value will be hdlcClockRateUnsupported(0); if the lower
        interface is HSSI then the default value will be
        hdlcClockRate44At736Mhz(2)."
    ::= { juniHdlcIfEntry 9 }

juniHdlcIfForceDteAck OBJECT-TYPE
    SYNTAX      INTEGER {
                    forceDteAckUnsupported(0),
                    forceDteAckNormal(1),
                    forceDteAckForced(2) }
    MAX-ACCESS  read-create
    STATUS      current
    DESCRIPTION
        "The force DTE acknowledge setting.  This object is only applicable to
        HDLC interfaces directly over a high speed serial interface (HSSI).
        This is set to force Cisco compatibility mode, and is only valid when
        the lower interface is configured for internal (DTE) clocking.

        At creation, if a value for this object is not specified, a default will
        be chosen that is suitable for the type of lower interface on which this
        interface is stacked.  If the lower interface is not HSSI, then the
        default value will be forceDteAckUnsupported(0); if the lower
        interface is HSSI then the default value will be
        forceDteAckNormal(1)."
    ::= { juniHdlcIfEntry 10 }

juniHdlcIfIdleCharacter OBJECT-TYPE
    SYNTAX      INTEGER {
                    idleCharacterFlags(0),
                    idleCharacterMarks(1) }
    MAX-ACCESS  read-create
    STATUS      current
    DESCRIPTION
        "The HDLC idle character has two possible settings.  The value can be
        set to idleCharacterFlags which translates to 0x7E or it can be set to
        idleCharacterMarks which translates to 0xFF.

        At creation, if a value for this object is not specified, the default
        value of idleCharacterFlags will be assigned."
    DEFVAL    { idleCharacterFlags }
    ::= { juniHdlcIfEntry 11 }


-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-- Notifications
-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-- No notifications are defined in this MIB.  Placeholder OIDs are provided.
-- juniHdlcTrapControl  OBJECT IDENTIFIER ::= { juniHdlcMIB 2 }
-- juniHdlcTraps        OBJECT IDENTIFIER ::= { juniHdlcMIB 3 }
-- juniHdlcTrapPrefix   OBJECT IDENTIFIER ::= { juniHdlcTraps 0 }


-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-- Conformance information
-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
juniHdlcConformance OBJECT IDENTIFIER ::= { juniHdlcMIB 4 }
juniHdlcCompliances OBJECT IDENTIFIER ::= { juniHdlcConformance 1 }
juniHdlcGroups      OBJECT IDENTIFIER ::= { juniHdlcConformance 2 }

--
-- compliance statements
--
juniHdlcCompliance  MODULE-COMPLIANCE
    STATUS      obsolete
    DESCRIPTION
        "Obsolete compliance statement for entities that implement the Juniper
        HDLC MIB.  This compliance statement became obsolete when
        juniHdlcIfDataPolarity was added."
    MODULE   -- this module
        MANDATORY-GROUPS {
            juniHdlcGroup }
    ::= { juniHdlcCompliances 1 }                                  -- JUNOSe 1.0

juniHdlcCompliance2  MODULE-COMPLIANCE
    STATUS      obsolete
    DESCRIPTION
        "The compliance statement for entities that implement the Juniper HDLC
        MIB.  This compliance statement became obsolete when
        juniHdlcIfClockMode, juniHdlcIfClockRate, and juniHdlcIfForceDteAck were
        added."
    MODULE   -- this module
        MANDATORY-GROUPS {
            juniHdlcGroup2 }
    ::= { juniHdlcCompliances 2 }                                  -- JUNOSe 1.1

juniHdlcCompliance3  MODULE-COMPLIANCE
    STATUS      obsolete
    DESCRIPTION
        "Obsolete compliance statement for entities that implement the Juniper
        HDLC MIB.  This compliance statement became obsolete when
        juniHdlcIfIdleCharacter was added."
    MODULE   -- this module
        MANDATORY-GROUPS {
            juniHdlcGroup3 }
    ::= { juniHdlcCompliances 3 }                                  -- JUNOSe 3.1

juniHdlcCompliance4  MODULE-COMPLIANCE
    STATUS      current
    DESCRIPTION
        "The compliance statement for entities that implement the Juniper HDLC
        MIB."
    MODULE   -- this module
        MANDATORY-GROUPS {
            juniHdlcGroup4 }
    ::= { juniHdlcCompliances 4 }                                  -- JUNOSe 5.1


--
-- units of conformance
--
juniHdlcGroup  OBJECT-GROUP
    OBJECTS {
        juniHdlcNextIfIndex,

        juniHdlcIfRowStatus,
        juniHdlcIfLowerIfIndex,
        juniHdlcIfMtu,
        juniHdlcIfMru,
        juniHdlcIfCrcSize }
    STATUS      obsolete
    DESCRIPTION
        "Obsolete collection of objects providing management of HDLC interfaces
        in a Juniper product.  This group became obsolete when
        juniHdlcIfDataPolarity was added."
    ::= { juniHdlcGroups 1 }                                       -- JUNOSe 1.0

juniHdlcGroup2  OBJECT-GROUP
    OBJECTS {
        juniHdlcNextIfIndex,

        juniHdlcIfRowStatus,
        juniHdlcIfLowerIfIndex,
        juniHdlcIfMtu,
        juniHdlcIfMru,
        juniHdlcIfCrcSize,
        juniHdlcIfDataPolarity }
    STATUS      obsolete
    DESCRIPTION
        "Obsolete collection of objects providing management of HDLC interfaces
        in a Juniper product.  This group became obsolete when
        juniHdlcIfClockMode, juniHdlcIfClockRate, and juniHdlcIfForceDteAck were
        added."
    ::= { juniHdlcGroups 2 }                                       -- JUNOSe 1.1

juniHdlcGroup3  OBJECT-GROUP
    OBJECTS {
        juniHdlcNextIfIndex,

        juniHdlcIfRowStatus,
        juniHdlcIfLowerIfIndex,
        juniHdlcIfMtu,
        juniHdlcIfMru,
        juniHdlcIfCrcSize,
        juniHdlcIfDataPolarity,
        juniHdlcIfClockMode,
        juniHdlcIfClockRate,
        juniHdlcIfForceDteAck }
    STATUS      obsolete
    DESCRIPTION
        "Obsolete collection of objects providing management of HDLC interfaces
        in a Juniper product.  This group became obsolete when
        juniHdlcIfIdleCharacter was added."
    ::= { juniHdlcGroups 3 }                                       -- JUNOSe 3.1

juniHdlcGroup4  OBJECT-GROUP
    OBJECTS {
        juniHdlcNextIfIndex,

        juniHdlcIfRowStatus,
        juniHdlcIfLowerIfIndex,
        juniHdlcIfMtu,
        juniHdlcIfMru,
        juniHdlcIfCrcSize,
        juniHdlcIfDataPolarity,
        juniHdlcIfClockMode,
        juniHdlcIfClockRate,
        juniHdlcIfForceDteAck,
        juniHdlcIfIdleCharacter }
    STATUS      current
    DESCRIPTION
        "A collection of objects providing management of HDLC interfaces in a
        Juniper product."
    ::= { juniHdlcGroups 4 }                                       -- JUNOSe 5.1

END