-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmchip.mib
385 lines (328 loc) · 11.2 KB
/
mchip.mib
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
-- PICDEM.net control MIB.
--
-- Author Date Comment
-- ==================================================================
-- Nilesh Rajbharti 5/21/03 Initial
--
Microchip DEFINITIONS ::= BEGIN
IMPORTS
enterprises, IpAddress, Gauge, TimeTicks FROM RFC1155-SMI
DisplayString FROM RFC1213-MIB
OBJECT-TYPE FROM RFC-1212
TRAP-TYPE FROM RFC-1215
SnmpSecurityModel,
SnmpMessageProcessingModel,
SnmpSecurityLevel,
SnmpAdminString FROM SNMP-FRAMEWORK-MIB
KeyChange FROM SNMP-USER-BASED-SM-MIB
TEXTUAL-CONVENTION FROM SNMPv2-TC;
microchip OBJECT IDENTIFIER ::= { enterprises 17095 }
product OBJECT IDENTIFIER ::= { microchip 1 }
setup OBJECT IDENTIFIER ::= { microchip 2 }
control OBJECT IDENTIFIER ::= { microchip 3 }
snmpUsm OBJECT IDENTIFIER ::= { microchip 4 }
snmpTrap OBJECT IDENTIFIER ::= { microchip 5 }
snmpv3PvtObject OBJECT IDENTIFIER ::= { microchip 6 }
ON-OFF ::= INTEGER { ON(1), OFF(0) }
MCHPUsmAuthPrivProtocol ::= TEXTUAL-CONVENTION
STATUS current
DESCRIPTION
"This textual convention enumerates the authentication and privledge
protocol for USM configuration.
"
SYNTAX INTEGER
{
noAuthProtocol(1),
hmacMD5Auth(2),
hmacSHAAuth(3),
noPrivProtocol(4),
desPrivProtocol(5),
aesPrivProtocol(6)
}
name OBJECT-TYPE
SYNTAX DisplayString
ACCESS read-only
STATUS mandatory
DESCRIPTION
"Name of product. e.g. PICDEM.net etc."
::= { product 1 }
version OBJECT-TYPE
SYNTAX DisplayString
ACCESS read-only
STATUS mandatory
DESCRIPTION
"Version string. e.g. 1.0"
::= { product 2 }
date OBJECT-TYPE
SYNTAX DisplayString
ACCESS read-only
STATUS mandatory
DESCRIPTION
"Date of version"
::= { product 3 }
ledD5 OBJECT-TYPE
SYNTAX INTEGER { OFF(0), ON(1) }
ACCESS read-write
STATUS mandatory
DESCRIPTION
"D5 LED connected LATA2"
::= { control 1 }
ledD6 OBJECT-TYPE
SYNTAX INTEGER { OFF(0), ON(1) }
ACCESS read-write
STATUS mandatory
DESCRIPTION
"D6 LED connected to LATA3"
::= { control 2 }
pushButton OBJECT-TYPE
SYNTAX INTEGER { OPEN(1), CLOSED(0) }
ACCESS read-only
STATUS mandatory
DESCRIPTION
"8-bit A/D value"
::= { control 3 }
analogPot0 OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"10-bit A/D value"
::= { control 4 }
analogPot1 OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"10-bit A/D value"
::= { control 5 }
lcdDisplay OBJECT-TYPE
SYNTAX DisplayString (SIZE (0..15))
ACCESS read-write
STATUS mandatory
DESCRIPTION
"Second line of LCD on PICDEM.net board"
::= { control 6 }
traps OBJECT-TYPE
SYNTAX SEQUENCE OF TrapEntry
ACCESS not-accessible
STATUS mandatory
DESCRIPTION
"Trap table"
::= { setup 1 }
trapEntry OBJECT-TYPE
SYNTAX TrapEntry
ACCESS not-accessible
STATUS mandatory
DESCRIPTION
"Single trap entry containing trap receiver info."
INDEX { trapReceiverNumber }
::= { traps 1 }
trapEntry ::=
SEQUENCE {
trapReceiverNumber
INTEGER,
trapEnabled
INTEGER,
trapReceiverIPAddress
IpAddress,
trapCommunity
DisplayString
}
trapReceiverNumber OBJECT-TYPE
SYNTAX INTEGER (0.. 4)
ACCESS not-accessible
STATUS mandatory
DESCRIPTION
"Index of trap receiver"
::= { trapEntry 1 }
trapEnabled OBJECT-TYPE
SYNTAX INTEGER { Yes(1), No(0) }
ACCESS read-write
STATUS mandatory
DESCRIPTION
"Indicates if this trap entry is enabled or not."
::= { trapEntry 2 }
trapReceiverIPAddress OBJECT-TYPE
SYNTAX IpAddress
ACCESS read-write
STATUS mandatory
DESCRIPTION
"Trap receiver IP address"
::= { trapEntry 3 }
trapCommunity OBJECT-TYPE
SYNTAX DisplayString (SIZE (0..7))
ACCESS read-write
STATUS mandatory
DESCRIPTION
"Trap community to be used by agent to send trap"
::= { trapEntry 4 }
mchpUsmUserTable OBJECT-TYPE
SYNTAX SEQUENCE OF MchpUsmUserEntry
ACCESS not-accessible
STATUS mandatory
DESCRIPTION "This table is used to configure microchip USM.
To get the SNMPv3 access, One need to configure security
name,authentication,auth password,priv protocol and priv
password.
"
::= { snmpUsm 1 }
mchpUsmUserEntry OBJECT-TYPE
SYNTAX MchpUsmUserEntry
ACCESS not-accessible
STATUS mandatory
DESCRIPTION "A user configured for the User-based
Security Model.
"
INDEX { usmIndex }
::= { mchpUsmUserTable 1 }
MchpUsmUserEntry ::= SEQUENCE {
usmIndex INTEGER,
usmSecurityName SnmpAdminString,
usmAuthProtocol MCHPUsmAuthPrivProtocol,
usmAuthKey KeyChange,
usmPrivProtocol MCHPUsmAuthPrivProtocol,
usmPrivKey KeyChange
}
usmIndex OBJECT-TYPE
SYNTAX INTEGER (1..3)
ACCESS not-accessible
STATUS mandatory
DESCRIPTION "Usm configuration index. "
::= { mchpUsmUserEntry 1 }
usmSecurityName OBJECT-TYPE
SYNTAX SnmpAdminString
ACCESS read-write
STATUS mandatory
DESCRIPTION "A human readable string representing the user in
Security Model independent format.
The default transformation of the User-based Security
Model dependent security ID to the securityName and
vice versa is the identity function so that the
securityName is the same as the userName.
"
::= { mchpUsmUserEntry 2 }
usmAuthProtocol OBJECT-TYPE
SYNTAX MCHPUsmAuthPrivProtocol
ACCESS read-write
STATUS mandatory
DESCRIPTION "Authentication support to the SNMPv3.
If usmAuthProtocol == NoAuthProtocol, then SNMPv3 supports
with no authentication.
If usmAuthProtocol == HMACMD5Auth , supports MD5 auth
If usmAuthProtocol == HMACSHAAuth, supports SHA Auth
If a set operation tries to set the value to the
NoAuthProtocol while the usmPrivProtocol value
in the same row is not equal to NoPrivProtocol,
then an 'inconsistentValue' error must be returned.
That means that an SNMP command generator application
must first ensure that the usmPrivProtocol is set
to the NoPrivProtocol value before it can set
the usmAuthProtocol value to NoAuthProtocol.
"
::= { mchpUsmUserEntry 3 }
usmAuthKey OBJECT-TYPE
SYNTAX KeyChange -- typically (SIZE (0 | 32)) for HMACMD5
-- typically (SIZE (0 | 40)) for HMACSHA
ACCESS read-write
STATUS mandatory
DESCRIPTION "An object, Associated protocol is usmAuthProtocol
and a secret key is used to establish a connection
for the snmp agent and manager commnucation.
"
::= { mchpUsmUserEntry 4 }
usmPrivProtocol OBJECT-TYPE
SYNTAX MCHPUsmAuthPrivProtocol
ACCESS read-write
STATUS mandatory
DESCRIPTION " A privacy protocol to provide encryption and decryption
SNMPv3 pdu.
"
::= { mchpUsmUserEntry 5 }
usmPrivKey OBJECT-TYPE
SYNTAX KeyChange -- typically (SIZE (0 | 32)) for DES
ACCESS read-write
STATUS mandatory
DESCRIPTION "An object, Associated protocol is usmPrivProtocol
and a secret key is used to establish a connection
for the snmp agent and manager commnucation.
"
::= { mchpUsmUserEntry 6 }
-- Target MIB
mchpTargetTable OBJECT-TYPE
SYNTAX SEQUENCE OF MchpTargetEntry
ACCESS not-accessible
STATUS mandatory
DESCRIPTION
"A table of SNMP target information to be used
in the generation of SNMP trap messages."
::= { snmpTrap 1 }
mchpTargetEntry OBJECT-TYPE
SYNTAX MchpTargetEntry
ACCESS not-accessible
STATUS mandatory
DESCRIPTION
"A set of SNMP target information.
"
INDEX { snmpTargetIndex }
::= { mchpTargetTable 1 }
MchpTargetEntry ::= SEQUENCE {
snmpTargetIndex INTEGER,
snmpTargetMPModel SnmpMessageProcessingModel,
snmpTargetSecurityModel SnmpSecurityModel,
snmpTargetSecurityName SnmpAdminString,
snmpTargetSecurityLevel SnmpSecurityLevel
}
snmpTargetIndex OBJECT-TYPE
SYNTAX INTEGER(1..8)
ACCESS not-accessible
STATUS mandatory
DESCRIPTION
"The locally arbitrary, but unique identifier associated
with this mchpTargetEntry."
::= { mchpTargetEntry 1 }
snmpTargetMPModel OBJECT-TYPE
SYNTAX SnmpMessageProcessingModel
ACCESS read-write
STATUS mandatory
DESCRIPTION
"The Message Processing Model to be used when generating
SNMP messages using this entry."
::= { mchpTargetEntry 2 }
snmpTargetSecurityModel OBJECT-TYPE
SYNTAX SnmpSecurityModel (1..2147483647)
ACCESS read-write
STATUS mandatory
DESCRIPTION
"The Security Model to be used when generating SNMP
messages using this entry. An implementation may
choose to return an inconsistentValue error if an
attempt is made to set this variable to a value
for a security model which the implementation does
not support."
::= { mchpTargetEntry 3 }
snmpTargetSecurityName OBJECT-TYPE
SYNTAX SnmpAdminString
ACCESS read-write
STATUS mandatory
DESCRIPTION
"The securityName which identifies the Principal on
whose behalf SNMP messages will be generated using
this entry."
::= { mchpTargetEntry 4 }
snmpTargetSecurityLevel OBJECT-TYPE
SYNTAX SnmpSecurityLevel
ACCESS read-write
STATUS mandatory
DESCRIPTION
"The Level of Security to be used when generating
SNMP messages using this entry."
::= { mchpTargetEntry 5 }
snmpv3PvtDemoObject OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"This object is used to give support of a SNMPV3 variable
with readonly value."
::= { snmpv3PvtObject 1 }
END