/
A3COM-HUAWEI-IP-ADDRESS-MIB
executable file
·437 lines (393 loc) · 13.9 KB
/
A3COM-HUAWEI-IP-ADDRESS-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
-- ====================================================================
-- Copyright (c) 2004-2011 Hangzhou H3C Tech. Co., Ltd. All rights reserved.
--
-- Description: IPv4 address MIB
-- Reference:
-- Version: V1.5
-- History:
-- V1.0 2005-11-22 Created by Wang Hui and Liu Jinguang
-- Initial version
-- V1.1 2006-03-16 Modify by Yu Hongqiang
-- Modify the description of some objects.
-- V1.2 2007-12-18 Modify by Zhangyinfei
-- Add enmu 'vrrp' for h3cIpAddrReadSourceType and h3cIpAddrReadCatalog
-- V1.3 2009-8-11 Modify by lifei
-- Add ip address change notify trap
-- V1.4 2010-03-06 Modify by Jianzhuang Ge
-- Add ipv4 address management table h3cIpv4AddrTable
-- V1.5 2011-11-28 Modify by zhangshuai
-- Add h3cIpAddrFirstTrapTime
-- ====================================================================
A3COM-HUAWEI-IP-ADDRESS-MIB DEFINITIONS ::= BEGIN
IMPORTS
h3cCommon
FROM A3COM-HUAWEI-OID-MIB
Integer32, IpAddress, OBJECT-TYPE, MODULE-IDENTITY, NOTIFICATION-TYPE,
TimeTicks
FROM SNMPv2-SMI
RowStatus
FROM SNMPv2-TC
InetAddressType,InetAddress
FROM INET-ADDRESS-MIB
ifIndex
FROM IF-MIB;
h3cIpAddrMIB MODULE-IDENTITY
LAST-UPDATED "200511220000Z"
ORGANIZATION
"H3C Technologies Co., Ltd."
CONTACT-INFO
"Platform Team H3C Technologies Co., Ltd.
Hai-Dian District Beijing P.R. China
http://www.h3c.com
Zip:100085
"
DESCRIPTION
"The MIB module for managing IPv4 address."
REVISION "200511220000Z"
DESCRIPTION
"The initial revision of this MIB module."
::= { h3cCommon 67 }
--
-- Node definitions
--
h3cIpAddressObjects OBJECT IDENTIFIER ::= { h3cIpAddrMIB 1 }
h3cIpAddressConfig OBJECT IDENTIFIER ::= { h3cIpAddressObjects 1 }
h3cIpAddrSetTable OBJECT-TYPE
SYNTAX SEQUENCE OF H3cIpAddrSetEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The table of address information is relevant to this
entity's IPv4 addresses for setting. The address information
that can be read and set in this table is a subset of the
address information that can be read in h3cIpAddrReadTable
and ipAddrTable in IP-MIB. This table is used to configure IPv4
addresses of an interface identified by h3cIpAddrSetIfIndex.
When users create or delete an entry in this table, the agent also
increases or reduces a corresponding entry in the
h3cIpAddrReadTable and ipAddrTable in IP-MIB.
When an interface which has been assigned IPv6 address is deleted,
the agent also deletes the entry corresponding to the interface
in this table and h3cIpAddrReadTable.
All IPv4 addresses in this table will also show in ipAddrTable in
IP-MIB.
"
REFERENCE
"RFC 2011"
::= { h3cIpAddressConfig 1 }
h3cIpAddrSetEntry OBJECT-TYPE
SYNTAX H3cIpAddrSetEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Define the IPv4 address information.
"
INDEX { h3cIpAddrSetIfIndex, h3cIpAddrSetAddrType, h3cIpAddrSetAddr }
::= { h3cIpAddrSetTable 1 }
H3cIpAddrSetEntry ::=
SEQUENCE
{
h3cIpAddrSetIfIndex
Integer32,
h3cIpAddrSetAddrType
InetAddressType,
h3cIpAddrSetAddr
InetAddress,
h3cIpAddrSetMask
IpAddress,
h3cIpAddrSetSourceType
INTEGER,
h3cIpAddrSetCatalog
INTEGER,
h3cIpAddrSetRowStatus
RowStatus
}
h3cIpAddrSetIfIndex OBJECT-TYPE
SYNTAX Integer32 (1..2147483647)
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The index value which uniquely identifies the interface to
which this entry is applicable. The interface identified by
a particular value of this index is the same interface as
identified by the same value of RFC 1573's ifIndex.
"
::= { h3cIpAddrSetEntry 1 }
h3cIpAddrSetAddrType OBJECT-TYPE
SYNTAX InetAddressType
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The IP address type to which this entry's address information
pertains. The value must be ipv4.
"
::= { h3cIpAddrSetEntry 2 }
h3cIpAddrSetAddr OBJECT-TYPE
SYNTAX InetAddress
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The IPv4 address to which this entry's address information
pertains.
"
::= { h3cIpAddrSetEntry 3 }
h3cIpAddrSetMask OBJECT-TYPE
SYNTAX IpAddress
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"The subnet mask associated with the IPv4 address of this
entry. The value of the mask is an IPv4 address with all the
network bits set to 1 and all the hosts bits set to 0.
"
::= { h3cIpAddrSetEntry 4 }
h3cIpAddrSetSourceType OBJECT-TYPE
SYNTAX INTEGER
{
assignedIp(1)
}
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"Indicate the type of source of the IPv4 address."
DEFVAL { assignedIp }
::= { h3cIpAddrSetEntry 5 }
h3cIpAddrSetCatalog OBJECT-TYPE
SYNTAX INTEGER
{
primary(1),
sub(2)
}
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"Indicate the category of the IPv4 address."
DEFVAL { primary }
::= { h3cIpAddrSetEntry 6 }
h3cIpAddrSetRowStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object is used to create a new row or delete an
existing row in this table, only support active,
createAndGo and destroy.
"
::= { h3cIpAddrSetEntry 7 }
h3cIpAddrReadTable OBJECT-TYPE
SYNTAX SEQUENCE OF H3cIpAddrReadEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The table of address information is relevant to this
entity's IP addresses for reading. This is the extension
of the ipAddrTable in IP-MIB.
All IPv4 addresses in this table will also show in ipAddrTable
in IP-MIB.
"
REFERENCE
"RFC 2011"
::= { h3cIpAddressConfig 2 }
h3cIpAddrReadEntry OBJECT-TYPE
SYNTAX H3cIpAddrReadEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Define the IPv4 address information.
"
INDEX { h3cIpAddrReadIfIndex, h3cIpAddrReadAddrType, h3cIpAddrReadAddr }
::= { h3cIpAddrReadTable 1 }
H3cIpAddrReadEntry ::=
SEQUENCE
{
h3cIpAddrReadIfIndex
Integer32,
h3cIpAddrReadAddrType
InetAddressType,
h3cIpAddrReadAddr
InetAddress,
h3cIpAddrReadMask
IpAddress,
h3cIpAddrReadSourceType
INTEGER,
h3cIpAddrReadCatalog
INTEGER
}
h3cIpAddrReadIfIndex OBJECT-TYPE
SYNTAX Integer32 (1..2147483647)
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The index value which uniquely identifies the interface to
which this entry is applicable. The interface identified by
a particular value of this index is the same interface as
identified by the same value of RFC 1573's ifIndex.
"
::= { h3cIpAddrReadEntry 1 }
h3cIpAddrReadAddrType OBJECT-TYPE
SYNTAX InetAddressType
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The IP address type to which this entry's address information
pertains. The value must be ipv4.
"
::= { h3cIpAddrReadEntry 2 }
h3cIpAddrReadAddr OBJECT-TYPE
SYNTAX InetAddress
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The IPv4 address to which this entry's address information
pertains.
"
::= { h3cIpAddrReadEntry 3 }
h3cIpAddrReadMask OBJECT-TYPE
SYNTAX IpAddress
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The subnet mask associated with the IPv4 address of this
entry. The value of the mask is an IPv4 address with all the
network bits set to 1 and all the hosts bits set to 0.
"
::= { h3cIpAddrReadEntry 4 }
h3cIpAddrReadSourceType OBJECT-TYPE
SYNTAX INTEGER
{
assignedIp(1),
cluster(2),
dhcp(3),
bootp(4),
negotiate(5),
unnumbered(6),
vrrp(7)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Indicate the type of source of the IPv4 address."
::= { h3cIpAddrReadEntry 5 }
h3cIpAddrReadCatalog OBJECT-TYPE
SYNTAX INTEGER
{
primary(1),
sub(2),
cluster(3),
vrrp(4)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Indicate the category of the IPv4 address."
::= { h3cIpAddrReadEntry 6 }
h3cIpv4AddrTable OBJECT-TYPE
SYNTAX SEQUENCE OF H3cIpv4AddrEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"This table is used to configure primary IPv4 address of an
interface identified by ifIndex."
::= { h3cIpAddressConfig 3 }
h3cIpv4AddrEntry OBJECT-TYPE
SYNTAX H3cIpv4AddrEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Define the IPv4 address information.
"
INDEX { ifIndex }
::= { h3cIpv4AddrTable 1 }
H3cIpv4AddrEntry ::=
SEQUENCE
{
h3cIpv4AddrAddr
IpAddress,
h3cIpv4AddrMask
IpAddress,
h3cIpv4AddrRowStatus
RowStatus
}
h3cIpv4AddrAddr OBJECT-TYPE
SYNTAX IpAddress
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"The IPv4 address to which this entry's address information
pertains.
"
::= { h3cIpv4AddrEntry 1 }
h3cIpv4AddrMask OBJECT-TYPE
SYNTAX IpAddress
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"The subnet mask associated with the IPv4 address of this
entry. The value of the mask is an IPv4 address with all the
network bits set to 1 and all the hosts bits set to 0.
"
::= { h3cIpv4AddrEntry 2 }
h3cIpv4AddrRowStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This object is used to create a new row or delete an
existing row in this table, only support active,
notInService, createAndGo and destroy.
"
::= { h3cIpv4AddrEntry 3 }
--
-- Define the IP Address Traps.
--
h3cIpAddrNotify OBJECT IDENTIFIER ::= { h3cIpAddrMIB 2 }
-- Scalar Objects for Notify
h3cIpAddrNotifyScalarObjects OBJECT IDENTIFIER ::= { h3cIpAddrNotify 1 }
h3cIpAddrNotifyIfIndex OBJECT-TYPE
SYNTAX Integer32 (1..2147483647)
MAX-ACCESS accessible-for-notify
STATUS current
DESCRIPTION
"The IP address IfIndex of specified interface on the device."
::= { h3cIpAddrNotifyScalarObjects 1 }
h3cIpAddrOldIpAddress OBJECT-TYPE
SYNTAX InetAddress
MAX-ACCESS accessible-for-notify
STATUS current
DESCRIPTION
"The Old IP address of specified interface on the device."
::= { h3cIpAddrNotifyScalarObjects 2 }
h3cIpAddrNewIpAddress OBJECT-TYPE
SYNTAX InetAddress
MAX-ACCESS accessible-for-notify
STATUS current
DESCRIPTION
"The New IP address of specified interface on the device."
::= { h3cIpAddrNotifyScalarObjects 3 }
h3cIpAddrFirstTrapTime OBJECT-TYPE
SYNTAX TimeTicks
MAX-ACCESS accessible-for-notify
STATUS current
DESCRIPTION
"Represents the first trap time."
::= { h3cIpAddrNotifyScalarObjects 4 }
-- Notification Objects
h3cIpAddrNotifyObjects OBJECT IDENTIFIER ::= { h3cIpAddrNotify 2 }
h3cIpAddrNotifyObjectsPrefix OBJECT IDENTIFIER ::= { h3cIpAddrNotifyObjects 0 }
h3cIpAddressChangeNotify NOTIFICATION-TYPE
OBJECTS
{
h3cIpAddrNotifyIfIndex,
h3cIpAddrOldIpAddress,
h3cIpAddrNewIpAddress,
h3cIpAddrFirstTrapTime
}
STATUS current
DESCRIPTION
"This notification will be generated when the IP address of interface
is changed. The change maybe originate from NMS, DHCP server or
administrator.
This notification announces useful IP address change. So it
is triggered by significative IP address change."
::= { h3cIpAddrNotifyObjectsPrefix 1 }
END