1-- HP Enterprise Switch MIB
2
3
4NETSWITCH-MIB DEFINITIONS ::= BEGIN
5
6    IMPORTS
7        Counter
8            FROM RFC1155-SMI
9        OBJECT-TYPE
10            FROM RFC-1212
11        DisplayString
12            FROM RFC1213-MIB
13        hpSwitch
14            FROM HP-ICF-OID;
15
16    -- Icf Switch Specific
17
18    hpOpSystem    OBJECT IDENTIFIER ::= { hpSwitch 1 }
19
20    MacAddress ::= OCTET STRING (SIZE (6))    -- a 6 octet address
21                                              -- in the
22                                              -- "canonical"
23                                              -- order
24
25    -- HP Buffer group
26
27    -- The buffers group contains variables that describe the switch's use
28    -- of two types of global memory buffers: message buffers, which
29    -- facilitate internal process-to-process communication, and packet
30    -- buffers, which facilitate external communications by temporarily
31    -- storing incoming or outgoing data packets.
32
33    hpBuf       OBJECT IDENTIFIER ::= { hpOpSystem 1 }
34    hpMsgBuf    OBJECT IDENTIFIER ::= { hpBuf 1 }
35    hpPktBuf    OBJECT IDENTIFIER ::= { hpBuf 2 }
36
37    hpMsgBufTable OBJECT-TYPE
38        SYNTAX    SEQUENCE OF HpMsgBufEntry
39        ACCESS    not-accessible
40        STATUS    mandatory
41        DESCRIPTION
42                "A table that contains information on all the
43                Message buffers for each slot."
44        ::= { hpMsgBuf 1 }
45
46    hpMsgBufEntry OBJECT-TYPE
47        SYNTAX    HpMsgBufEntry
48        ACCESS    not-accessible
49        STATUS    mandatory
50        DESCRIPTION
51                "Information about a slot in a chassis"
52        INDEX      { hpMsgBufSlotIndex }
53        ::= { hpMsgBufTable 1 }
54
55    HpMsgBufEntry ::=
56        SEQUENCE {
57            hpMsgBufSlotIndex                  INTEGER,
58            hpMsgBufInit                       INTEGER,
59            hpMsgBufFree                       INTEGER,
60            hpMsgBufMin                        INTEGER,
61            hpMsgBufMiss                       Counter,
62            hpMsgBufSize                       INTEGER,
63            hpMsgBufCorrupted                  Counter
64        }
65
66    hpMsgBufSlotIndex OBJECT-TYPE
67        SYNTAX    INTEGER (1..16)
68        ACCESS    read-only
69        STATUS    mandatory
70        DESCRIPTION
71                "The slot number within the box for which this
72                entry contains information."
73        ::= { hpMsgBufEntry 1 }
74
75    hpMsgBufCorrupted OBJECT-TYPE
76        SYNTAX    Counter
77        ACCESS    read-only
78        STATUS    mandatory
79        DESCRIPTION
80                "The number of times a corrupted buffer was deleted."
81        ::= { hpMsgBufEntry 2 }
82
83    hpMsgBufFree OBJECT-TYPE
84        SYNTAX    INTEGER
85        ACCESS    read-only
86        STATUS    mandatory
87        DESCRIPTION
88                "The number of message buffers available for
89                internal VME transfers or external transfers,
90                respectively. Because switch operations and application
91                software modules impose some overhead on global memory
92                buffers, the number of buffers available for data
93                transfers is less than the total number of buffers
94                allocated when the switch boots."
95        ::= { hpMsgBufEntry 3 }
96
97    hpMsgBufInit OBJECT-TYPE
98        SYNTAX    INTEGER
99        ACCESS    read-only
100        STATUS    mandatory
101        DESCRIPTION
102                "The number of message buffers allocated when
103                the switch booted."
104        ::= { hpMsgBufEntry 4 }
105
106    hpMsgBufMin OBJECT-TYPE
107        SYNTAX    INTEGER
108        ACCESS    read-only
109        STATUS    mandatory
110        DESCRIPTION
111                "The smallest number of message buffers
112                available since the switch booted."
113        ::= { hpMsgBufEntry 5 }
114
115    hpMsgBufMiss OBJECT-TYPE
116        SYNTAX    Counter
117        ACCESS    read-only
118        STATUS    mandatory
119        DESCRIPTION
120                "The number of times that the switch was unable to obtain
121                a message buffer. Failure to obtain a buffer indicates
122                that buffers were busy. This parameter is directly
123                related to hpMsgBufMin. If hpMsgBufMiss is greater than 0,
124                hpMsgBufMin must equal 0. Conversely, if hpMsgBufMiss
125                equals 0, then hpMsgBufMin must be greater than 0."
126        ::= { hpMsgBufEntry 6 }
127
128    hpMsgBufSize OBJECT-TYPE
129        SYNTAX    INTEGER
130        ACCESS    read-only
131        STATUS    mandatory
132        DESCRIPTION
133                "The size of the message buffer in bytes."
134        ::= { hpMsgBufEntry 7 }
135
136    hpPktBufTable OBJECT-TYPE
137        SYNTAX    SEQUENCE OF HpPktBufEntry
138        ACCESS    not-accessible
139        STATUS    mandatory
140        DESCRIPTION
141                "A table that contains information on all the
142                Packet buffers for each slot."
143        ::= { hpPktBuf 1 }
144
145    hpPktBufEntry OBJECT-TYPE
146        SYNTAX    HpPktBufEntry
147        ACCESS    not-accessible
148        STATUS    mandatory
149        DESCRIPTION
150                "Information about a slot in a chassis"
151        INDEX      { hpPktBufSlotIndex }
152        ::= { hpPktBufTable 1 }
153
154    HpPktBufEntry ::=
155        SEQUENCE {
156            hpPktBufSlotIndex                  INTEGER,
157            hpPktBufInit                       INTEGER,
158            hpPktBufFree                       INTEGER,
159            hpPktBufMin                        INTEGER,
160            hpPktBufMiss                       Counter,
161            hpPktBufSize                       INTEGER,
162            hpPktBufCorrupted                  Counter
163        }
164
165    hpPktBufSlotIndex OBJECT-TYPE
166        SYNTAX    INTEGER (1..16)
167        ACCESS    read-only
168        STATUS    mandatory
169        DESCRIPTION
170                "The slot number within the box for which this
171                entry contains information."
172        ::= { hpPktBufEntry 1 }
173
174    hpPktBufCorrupted OBJECT-TYPE
175        SYNTAX    Counter
176        ACCESS    read-only
177        STATUS    mandatory
178        DESCRIPTION
179                "The number of times a corrupted buffer was deleted."
180        ::= { hpPktBufEntry 2 }
181
182    hpPktBufFree OBJECT-TYPE
183        SYNTAX    INTEGER
184        ACCESS    read-only
185        STATUS    mandatory
186        DESCRIPTION
187                "The number of packet buffers available for
188                internal VME transfers or external transfers,
189                respectively. Because switch operations and application
190                software modules impose some overhead on global memory
191                buffers, the number of buffers available for data
192                transfers is less than the total number of buffers
193                allocated when the switch boots."
194        ::= { hpPktBufEntry 3 }
195
196    hpPktBufInit OBJECT-TYPE
197        SYNTAX    INTEGER
198        ACCESS    read-only
199        STATUS    mandatory
200        DESCRIPTION
201                "The number of packet buffers allocated when
202                the switch booted."
203        ::= { hpPktBufEntry 4 }
204
205    hpPktBufMin OBJECT-TYPE
206        SYNTAX    INTEGER
207        ACCESS    read-only
208        STATUS    mandatory
209        DESCRIPTION
210                "The smallest number of packet buffers
211                available since the switch booted."
212        ::= { hpPktBufEntry 5 }
213
214    hpPktBufMiss OBJECT-TYPE
215        SYNTAX    Counter
216        ACCESS    read-only
217        STATUS    mandatory
218        DESCRIPTION
219                "The number of times that the switch was unable to obtain
220                a packet buffer. Failure to obtain a buffer indicates
221                that buffers were busy. This parameter is directly
222                related to hpPktBufMin. If hpPktBufMiss is greater than 0,
223                hpPktBufMin must equal 0. Conversely, if hpPktBufMiss
224                equals 0, then hpPktBufMin must be greater than 0."
225        ::= { hpPktBufEntry 6 }
226
227    hpPktBufSize OBJECT-TYPE
228        SYNTAX    INTEGER
229        ACCESS    read-only
230        STATUS    mandatory
231        DESCRIPTION
232                "The size of the packet buffer in bytes."
233        ::= { hpPktBufEntry 7 }
234
235    -- HP Memory group
236
237    -- The memory group contains variables that describe the switch's use
238    -- of two types of memory : local memory and global memory.  Depending
239    -- on the hardware platform these can have different meanings.
240    -- Typically local memory can be accessed by the network interface
241    -- chips and the main processor, while global memory can be accessed
242    -- by one or more main processors.
243
244    hpMem       OBJECT IDENTIFIER ::= { hpOpSystem 2 }
245    hpLocalMem  OBJECT IDENTIFIER ::= { hpMem 1 }
246    hpGlobalMem OBJECT IDENTIFIER ::= { hpMem 2 }
247
248    hpLocalMemTable OBJECT-TYPE
249        SYNTAX    SEQUENCE OF HpLocalMemEntry
250        ACCESS    not-accessible
251        STATUS    mandatory
252        DESCRIPTION
253                "A table that contains information on all the
254                local memory for each slot."
255        ::= { hpLocalMem 1 }
256
257    hpLocalMemEntry OBJECT-TYPE
258        SYNTAX    HpLocalMemEntry
259        ACCESS    not-accessible
260        STATUS    mandatory
261        DESCRIPTION
262                "Information about a slot in a chassis"
263        INDEX      { hpLocalMemSlotIndex }
264        ::= { hpLocalMemTable 1 }
265
266    HpLocalMemEntry ::=
267        SEQUENCE {
268            hpLocalMemSlotIndex                INTEGER,
269            hpLocalMemSlabCnt                  Counter,
270            hpLocalMemFreeSegCnt               Counter,
271            hpLocalMemAllocSegCnt              Counter,
272            hpLocalMemTotalBytes               INTEGER,
273            hpLocalMemFreeBytes                INTEGER,
274            hpLocalMemAllocBytes               INTEGER
275        }
276
277    hpLocalMemSlotIndex OBJECT-TYPE
278        SYNTAX    INTEGER (1..16)
279        ACCESS    read-only
280        STATUS    mandatory
281        DESCRIPTION
282                "The slot number within the box for which this
283                entry contains information."
284        ::= { hpLocalMemEntry 1 }
285
286    hpLocalMemSlabCnt OBJECT-TYPE
287        SYNTAX    Counter
288        ACCESS    read-only
289        STATUS    mandatory
290        DESCRIPTION
291                "The current number of discretely managed memory areas.
292                Each slab is further broken down into smaller contiguous
293                areas called segments."
294        ::= { hpLocalMemEntry 2 }
295
296    hpLocalMemFreeSegCnt OBJECT-TYPE
297        SYNTAX    Counter
298        ACCESS    read-only
299        STATUS    mandatory
300        DESCRIPTION
301                "The current number of free memory segments. A free memory
302                segment is an unused contiguous memory block of greater
303                than 16 bytes.  Generally, an increase in the number of
304                free memory segments indicates an increase in memory
305                fragmentation."
306        ::= { hpLocalMemEntry 3 }
307
308    hpLocalMemAllocSegCnt OBJECT-TYPE
309        SYNTAX    Counter
310        ACCESS    read-only
311        STATUS    mandatory
312        DESCRIPTION
313                "The number of currently allocated memory segments."
314        ::= { hpLocalMemEntry 4 }
315
316    hpLocalMemTotalBytes OBJECT-TYPE
317        SYNTAX    INTEGER
318        ACCESS    read-only
319        STATUS    mandatory
320        DESCRIPTION
321                "The number of currently installed bytes."
322        ::= { hpLocalMemEntry 5 }
323
324    hpLocalMemFreeBytes OBJECT-TYPE
325        SYNTAX    INTEGER
326        ACCESS    read-only
327        STATUS    mandatory
328        DESCRIPTION
329                "The number of available (unallocated) bytes."
330        ::= { hpLocalMemEntry 6 }
331
332    hpLocalMemAllocBytes OBJECT-TYPE
333        SYNTAX    INTEGER
334        ACCESS    read-only
335        STATUS    mandatory
336        DESCRIPTION
337                "The number of currently allocated bytes."
338        ::= { hpLocalMemEntry 7 }
339
340    hpGlobalMemTable OBJECT-TYPE
341        SYNTAX    SEQUENCE OF HpGlobalMemEntry
342        ACCESS    not-accessible
343        STATUS    mandatory
344        DESCRIPTION
345                "A table that contains information on all the
346                local memory for each slot."
347        ::= { hpGlobalMem 1 }
348
349    hpGlobalMemEntry OBJECT-TYPE
350        SYNTAX    HpGlobalMemEntry
351        ACCESS    not-accessible
352        STATUS    mandatory
353        DESCRIPTION
354                "Information about a slot in a chassis"
355        INDEX      { hpGlobalMemSlotIndex }
356        ::= { hpGlobalMemTable 1 }
357
358    HpGlobalMemEntry ::=
359        SEQUENCE {
360            hpGlobalMemSlotIndex                INTEGER,
361            hpGlobalMemSlabCnt                  Counter,
362            hpGlobalMemFreeSegCnt               Counter,
363            hpGlobalMemAllocSegCnt              Counter,
364            hpGlobalMemTotalBytes               INTEGER,
365            hpGlobalMemFreeBytes                INTEGER,
366            hpGlobalMemAllocBytes               INTEGER
367        }
368
369    hpGlobalMemSlotIndex OBJECT-TYPE
370        SYNTAX    INTEGER (1..16)
371        ACCESS    read-only
372        STATUS    mandatory
373        DESCRIPTION
374                "The slot number within the box for which this
375                entry contains information."
376        ::= { hpGlobalMemEntry 1 }
377
378    hpGlobalMemSlabCnt OBJECT-TYPE
379        SYNTAX    Counter
380        ACCESS    read-only
381        STATUS    mandatory
382        DESCRIPTION
383                "The current number of discretely managed memory areas.
384                Each slab is further broken down into smaller contiguous
385                areas called segments."
386        ::= { hpGlobalMemEntry 2 }
387
388    hpGlobalMemFreeSegCnt OBJECT-TYPE
389        SYNTAX    Counter
390        ACCESS    read-only
391        STATUS    mandatory
392        DESCRIPTION
393                "The current number of free memory segments. A free memory
394                segment is an unused contiguous memory block of greater
395                than 16 bytes.  Generally, an increase in the number of
396                free memory segments indicates an increase in memory
397                fragmentation."
398        ::= { hpGlobalMemEntry 3 }
399
400    hpGlobalMemAllocSegCnt OBJECT-TYPE
401        SYNTAX    Counter
402        ACCESS    read-only
403        STATUS    mandatory
404        DESCRIPTION
405                "The number of currently allocated memory segments."
406        ::= { hpGlobalMemEntry 4 }
407
408    hpGlobalMemTotalBytes OBJECT-TYPE
409        SYNTAX    INTEGER
410        ACCESS    read-only
411        STATUS    mandatory
412        DESCRIPTION
413                "The number of currently installed bytes."
414        ::= { hpGlobalMemEntry 5 }
415
416    hpGlobalMemFreeBytes OBJECT-TYPE
417        SYNTAX    INTEGER
418        ACCESS    read-only
419        STATUS    mandatory
420        DESCRIPTION
421                "The number of available (unallocated) bytes."
422        ::= { hpGlobalMemEntry 6 }
423
424    hpGlobalMemAllocBytes OBJECT-TYPE
425        SYNTAX    INTEGER
426        ACCESS    read-only
427        STATUS    mandatory
428        DESCRIPTION
429                "The number of currently allocated bytes."
430        ::= { hpGlobalMemEntry 7 }
431
432
433
434
435
436    hpSwitchOsVersion OBJECT-TYPE
437        SYNTAX    DisplayString
438        ACCESS    read-only
439        STATUS    mandatory
440        DESCRIPTION
441                "Contains the operating code version number (also
442                known as software or firmware). For example, a
443                software version such as A.08.01 is described as
444                follows:
445                    A    the function set available in your router
446                    08   the common release number
447                    01   updates to the current common release"
448        ::= { hpOpSystem 3 }
449
450    hpSwitchRomVersion OBJECT-TYPE
451        SYNTAX    DisplayString
452        ACCESS    read-only
453        STATUS    mandatory
454        DESCRIPTION
455                "Contains the ROM version number (such as A.08.01
456                is described as follows:
457                    A    the function set available in your router
458                    08   the common release number
459                    01   updates to the current common release"
460        ::= { hpOpSystem 4 }
461
462    hpSwitchSmartCardType OBJECT-TYPE
463        SYNTAX    INTEGER {
464                      none(1),
465                      fddi(2),
466                      atm(3),
467                      fddiAndATM(4),
468                      other(5)
469                  }
470        ACCESS    read-only
471        STATUS    mandatory
472        DESCRIPTION
473                "Return the type of Smart Cards in the system.
474                Some system may contains more than one types
475                of smart cards, such as FDDI and ATM"
476        ::= { hpOpSystem 5 }
477
478    hpSwitchBaseMACAddress OBJECT-TYPE
479        SYNTAX    MacAddress
480        ACCESS    read-only
481        STATUS    mandatory
482        DESCRIPTION
483                "Return the base MAC address of the switch.  This is
484                also the MAC address of the default vlan. "
485        ::= { hpOpSystem 6 }
486
487END
488