-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathONEACCESS-SNMP-CONFIG-MIB.mib
457 lines (390 loc) · 12.1 KB
/
ONEACCESS-SNMP-CONFIG-MIB.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
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
-- *****************************
-- * *
-- * ONEOS MIB *
-- * *
-- *****************************
--
-- ONEOS_MIB_STD_V05.1.R005_E001
--
-- Creation date : 07/08/2010
ONEACCESS-SNMP-CONFIG-MIB DEFINITIONS ::= BEGIN
IMPORTS
OBJECT-GROUP
FROM SNMPv2-CONF
IpAddress, Integer32, Counter32, Counter64, OBJECT-TYPE,
MODULE-IDENTITY
FROM SNMPv2-SMI
DisplayString, RowStatus, PhysAddress, TruthValue
FROM SNMPv2-TC
oacExpIMIpAcl, oacMIBModules, oacExpIMManagement
FROM ONEACCESS-GLOBAL-REG;
oacSnmpConfigMIB MODULE-IDENTITY
LAST-UPDATED "201107290000Z"
ORGANIZATION " OneAccess "
CONTACT-INFO
"Pascal KESTELOOT
Postal: ONE ACCESS
381 Avenue du Général de Gaulle
92140 Clamart, France
FRANCE
Tel: (+33) 01 41 87 70 00
Fax: (+33) 01 41 87 74 00
E-mail: [email protected]"
DESCRIPTION
"fixed compilation issues"
REVISION "201107290000Z"
DESCRIPTION
"Fixed the issues related to octet string range"
REVISION "201107260000Z"
DESCRIPTION
"Contact updated"
REVISION "201106150000Z"
DESCRIPTION
"Updated with review comments."
REVISION "201007080001Z"
DESCRIPTION
"OneOS can be managed via snmp. The snmp agent on the device
supports all the three formats v1, v2, and v3.
The current mib is an requirement to create snmpv3 users on the device
using snmp protocol. Hence this snmp configuration mib will provide
tables and scalars requried to configure an v3 user on ONE OS.
The snmpv3 user creation is dependent on the views and the snmp groups.
Hence the mib should support creating views and groups.
The user of this mib can configure the following using this mib
Configuring SNMP Views
Configuring Snmp Group
Snmpv3 User Table
EningeId "
::= { oacMIBModules 2002 }
--
-- Node definitions
--
-- 1.3.6.1.4.1.13191.1.10.3.4.20
oacSnmpConfig OBJECT IDENTIFIER ::= { oacExpIMManagement 20 }
-- 1.3.6.1.4.1.13191.1.10.3.4.20.1
oacSnmpConfigObjects OBJECT IDENTIFIER ::= { oacSnmpConfig 1 }
-- 1.3.6.1.4.1.13191.1.10.3.4.20.2
oacSnmpConfigConformance OBJECT IDENTIFIER ::= { oacSnmpConfig 2 }
--
-- Snmp Configuration
--
-- 1.3.6.1.4.1.13191.1.10.3.4.20.1.1
oacSnmpSource OBJECT-TYPE
SYNTAX OCTET STRING (SIZE(1..255))
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"snmp source { <interface> | any }"
DEFVAL { "any" }
::= { oacSnmpConfigObjects 1 }
-- 1.3.6.1.4.1.13191.1.10.3.4.20.1.2
oacSnmpTrapSource OBJECT-TYPE
SYNTAX OCTET STRING (SIZE(1..255))
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"snmp trap-source { <interface> | any }"
DEFVAL { "any" }
::= { oacSnmpConfigObjects 2 }
-- 1.3.6.1.4.1.13191.1.10.3.4.20.1.3
oacSnmpMibIfDescrShort OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"will display the interface name
with out spaces between the interface
and unit"
DEFVAL { false }
::= { oacSnmpConfigObjects 3 }
-- 1.3.6.1.4.1.13191.1.10.3.4.20.1.4
oacSnmpChassisId OBJECT-TYPE
SYNTAX OCTET STRING (SIZE(0..255))
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Chassis Id of this device."
::= { oacSnmpConfigObjects 4 }
-- 1.3.6.1.4.1.13191.1.10.3.4.20.1.5
oacSnmpMaxMsgSize OBJECT-TYPE
SYNTAX INTEGER
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"maximum size of the snmp message"
DEFVAL { 8192 }
::= { oacSnmpConfigObjects 5 }
--
-- Snmp v2 Community
--
-- 1.3.6.1.4.1.13191.1.10.3.4.20.1.6
oacSnmpCommunityConfigTable OBJECT-TYPE
SYNTAX SEQUENCE OF OacSnmpCommunityConfigEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table will hold the configuration required to
apply the SNMP view on a read/write V2C community."
::= { oacSnmpConfigObjects 6 }
-- 1.3.6.1.4.1.13191.1.10.3.4.20.1.6.1
oacSnmpCommunityConfigEntry OBJECT-TYPE
SYNTAX OacSnmpCommunityConfigEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A Entry will hold the view applied for a community."
INDEX { oacSnmpCommunityString, oacSnmpCommunityAccessType }
::= { oacSnmpCommunityConfigTable 1 }
OacSnmpCommunityConfigEntry ::=
SEQUENCE {
oacSnmpCommunityString
OCTET STRING,
oacSnmpCommunityAccessType
INTEGER,
oacSnmpCommunityAclType
INTEGER,
oacSnmpCommunityAclName
OCTET STRING,
oacSnmpCommunityV2GroupName
OCTET STRING,
oacSnmpCommunityisEncrypted
TruthValue,
oacSnmpCommunityRowStatus
RowStatus
}
-- 1.3.6.1.4.1.13191.1.10.3.4.20.1.6.1.1
oacSnmpCommunityString OBJECT-TYPE
SYNTAX OCTET STRING (SIZE(1..255))
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The community string"
::= { oacSnmpCommunityConfigEntry 1 }
-- 1.3.6.1.4.1.13191.1.10.3.4.20.1.6.1.2
oacSnmpCommunityAccessType OBJECT-TYPE
SYNTAX INTEGER
{
set-read-community(1),
set-write-community(2)
}
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This object identifies the type of
community for which this community
string is attached."
::= { oacSnmpCommunityConfigEntry 2 }
-- 1.3.6.1.4.1.13191.1.10.3.4.20.1.6.1.3
oacSnmpCommunityAclType OBJECT-TYPE
SYNTAX INTEGER
{
ipv4(1),
ipv6(2)
}
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"Ipv4 or Ipv6 Acl attached to this
snmp community string"
::= { oacSnmpCommunityConfigEntry 3 }
-- 1.3.6.1.4.1.13191.1.10.3.4.20.1.6.1.4
oacSnmpCommunityAclName OBJECT-TYPE
SYNTAX OCTET STRING (SIZE(0..255))
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"Ipv4 Acl attached to this snmp community string"
::= { oacSnmpCommunityConfigEntry 4 }
-- 1.3.6.1.4.1.13191.1.10.3.4.20.1.6.1.5
oacSnmpCommunityV2GroupName OBJECT-TYPE
SYNTAX OCTET STRING (SIZE(0..255))
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"Snmp group attached to this community string"
::= { oacSnmpCommunityConfigEntry 5 }
-- 1.3.6.1.4.1.13191.1.10.3.4.20.1.6.1.6
oacSnmpCommunityisEncrypted OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"if true the string should be encrypted.
If false it will be a plain text string."
::= { oacSnmpCommunityConfigEntry 6 }
-- 1.3.6.1.4.1.13191.1.10.3.4.20.1.6.1.7
oacSnmpCommunityRowStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"The row status for this entry"
::= { oacSnmpCommunityConfigEntry 7 }
-- 1.3.6.1.4.1.13191.1.10.3.4.20.1.7
oacSnmpEngineId OBJECT-TYPE
SYNTAX OCTET STRING (SIZE(1..255))
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"By default on OneOS the engineId is created by
using the mac address of FastEthernet Interface."
::= { oacSnmpConfigObjects 7 }
--
-- SNMP V3 INFORMS
--
-- 1.3.6.1.4.1.13191.1.10.3.4.20.1.8
oacSnmpRemoteAgentIpAddr OBJECT-TYPE
SYNTAX IpAddress
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"From the ip address provided remote agent's
engine id is discovered."
DEFVAL { '00000000'H }
::= { oacSnmpConfigObjects 8 }
-- 1.3.6.1.4.1.13191.1.10.3.4.20.1.9
oacSnmpRemoteEngineIdConfigTable OBJECT-TYPE
SYNTAX SEQUENCE OF OacSnmpRemoteEngineIdConfigEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table will hold the configuration for snmp traps."
::= { oacSnmpConfigObjects 9 }
-- 1.3.6.1.4.1.13191.1.10.3.4.20.1.9.1
oacSnmpRemoteEngineIdConfigEntry OBJECT-TYPE
SYNTAX OacSnmpRemoteEngineIdConfigEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A Entry will hold if a trap is enabled or disabled."
INDEX { oacSnmpRemoteEngineId }
::= { oacSnmpRemoteEngineIdConfigTable 1 }
OacSnmpRemoteEngineIdConfigEntry ::=
SEQUENCE {
oacSnmpRemoteEngineId
OCTET STRING,
oacSnmpRemoteEngineIpAddr
IpAddress,
oacSnmpRemoteEngineMaxMsgSize
INTEGER,
oacSnmpRemoteEngineRowstatus
RowStatus
}
-- 1.3.6.1.4.1.13191.1.10.3.4.20.1.9.1.1
oacSnmpRemoteEngineId OBJECT-TYPE
SYNTAX OCTET STRING (SIZE(1..255))
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Engine Id of the remote."
::= { oacSnmpRemoteEngineIdConfigEntry 1 }
-- 1.3.6.1.4.1.13191.1.10.3.4.20.1.9.1.2
oacSnmpRemoteEngineIpAddr OBJECT-TYPE
SYNTAX IpAddress
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"if true the string should be encrypted.
If false it will be a plain text string."
::= { oacSnmpRemoteEngineIdConfigEntry 2 }
-- 1.3.6.1.4.1.13191.1.10.3.4.20.1.9.1.3
oacSnmpRemoteEngineMaxMsgSize OBJECT-TYPE
SYNTAX INTEGER (484..8192)
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"if true the string should be encrypted. if false it will
be a plain text string."
DEFVAL { 8192 }
::= { oacSnmpRemoteEngineIdConfigEntry 3 }
-- 1.3.6.1.4.1.13191.1.10.3.4.20.1.9.1.4
oacSnmpRemoteEngineRowstatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"The row status for this entry"
::= { oacSnmpRemoteEngineIdConfigEntry 4 }
--
-- SNMP Trap Configuration Table
--
-- 1.3.6.1.4.1.13191.1.10.3.4.20.1.10
oacSnmpTrapConfigTable OBJECT-TYPE
SYNTAX SEQUENCE OF OacSnmpTrapConfigEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table will hold the configuration for snmp traps."
::= { oacSnmpConfigObjects 10 }
-- 1.3.6.1.4.1.13191.1.10.3.4.20.1.10.1
oacSnmpTrapConfigEntry OBJECT-TYPE
SYNTAX OacSnmpTrapConfigEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A Entry will hold if a trap is enabled or disabled."
INDEX { oacSnmpTrapConfigType }
::= { oacSnmpTrapConfigTable 1 }
OacSnmpTrapConfigEntry ::=
SEQUENCE {
oacSnmpTrapConfigType
INTEGER,
oacSnmpTrapConfigisEnabled
TruthValue,
oacSnmpTrapConfigRowStatus
RowStatus
}
-- 1.3.6.1.4.1.13191.1.10.3.4.20.1.10.1.1
oacSnmpTrapConfigType OBJECT-TYPE
SYNTAX INTEGER
{
standard(1),
acl(2),
bgp(3),
ipsec(4),
isakmp(5),
isdn(6),
nat(7),
pstn(8),
vrrp(9)
}
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The user can enable or disable the following traps:
1. standard, 2. acl, 3. bgp,
4. ipsec, 5. isakmp, 6. isdn,
7. nat, 8. pstn, 9. vrrp"
::= { oacSnmpTrapConfigEntry 1 }
-- 1.3.6.1.4.1.13191.1.10.3.4.20.1.10.1.2
oacSnmpTrapConfigisEnabled OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"if true the string should be encrypted.
if false it will be a plain text string."
::= { oacSnmpTrapConfigEntry 2 }
-- 1.3.6.1.4.1.13191.1.10.3.4.20.1.10.1.3
oacSnmpTrapConfigRowStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"The row status for this entry"
::= { oacSnmpTrapConfigEntry 3 }
-- 1.3.6.1.4.1.13191.1.10.3.4.20.2.1
oacSnmpConfigGroups OBJECT IDENTIFIER ::= { oacSnmpConfigConformance 1 }
-- 1.3.6.1.4.1.13191.1.10.3.4.20.2.1.1
oacSnmpConfigGroup OBJECT-GROUP
OBJECTS { oacSnmpTrapConfigisEnabled }
STATUS current
DESCRIPTION
"Group of SNMP objects"
::= { oacSnmpConfigGroups 1 }
-- 1.3.6.1.4.1.13191.1.10.3.4.20.2.2
oacSnmpCompls OBJECT IDENTIFIER ::= { oacSnmpConfigConformance 2 }
END
--
-- END OF ONE ACCESS SNMPV3 CONFIG MIB
--