This repository has been archived by the owner. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 39
/
Copy pathHP-ICF-GPPC-MIB
563 lines (501 loc) · 24.6 KB
/
HP-ICF-GPPC-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
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
HP-ICF-GPPC-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY, OBJECT-TYPE, Integer32
FROM SNMPv2-SMI
MODULE-COMPLIANCE, OBJECT-GROUP
FROM SNMPv2-CONF
TEXTUAL-CONVENTION, RowStatus
FROM SNMPv2-TC
SnmpAdminString
FROM SNMP-FRAMEWORK-MIB
PortList
FROM Q-BRIDGE-MIB
hpSwitch
FROM HP-ICF-OID;
hpicfGppcMIB MODULE-IDENTITY
LAST-UPDATED "200709271125Z"
ORGANIZATION "Hewlett Packard Company,
Procurve Networking Business"
CONTACT-INFO "Hewlett Packard Company
8000 Foothills Blvd.
Roseville, CA 95747"
DESCRIPTION "This MIB module is for HP proprietary
General Purpose Packet Control (GPPC)"
REVISION "200709271125Z"
DESCRIPTION "Initial revision."
::= { hpSwitch 41 }
-- ***********************************************
-- TEXTUAL Conventions
-- ***********************************************
HpicfGppcPolicyName ::= TEXTUAL-CONVENTION
STATUS current
DESCRIPTION "Type definition for the name of a policy.
A policy name is a printable string consisting
of up to 64 characters from the ASCII character
set."
SYNTAX OCTET STRING (SIZE(1..32))
-- ***********************************************
-- Start of MIB Objects
-- ***********************************************
hpicfGppcConformance OBJECT IDENTIFIER ::= { hpicfGppcMIB 1 }
-- ***********************************************
-- GPPC application control table
-- ***********************************************
hpicfGppcAppControlTable OBJECT-TYPE
SYNTAX SEQUENCE OF HpicfGppcAppControlEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION "The application control table. This keeps track
of the applications that use GPPC, the policies
set by these applications, and information on
where/when/how to apply these policies.
This information includes the interfaces and VLANs
where the policy should be applied, whether it
should be applied at ingress or egress, and when it
should expire."
::= { hpicfGppcMIB 2 }
hpicfGppcAppControlEntry OBJECT-TYPE
SYNTAX HpicfGppcAppControlEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION "An entry in the application control table."
INDEX { hpicfGppcAcAppName,
hpicfGppcAcAppInstance,
hpicfGppcAcPolicyName }
::= { hpicfGppcAppControlTable 1 }
HpicfGppcAppControlEntry ::=
SEQUENCE {
hpicfGppcAcAppName SnmpAdminString,
hpicfGppcAcAppInstance SnmpAdminString,
hpicfGppcAcPolicyName HpicfGppcPolicyName,
hpicfGppcAcIngressIfList PortList,
hpicfGppcAcIngressVlanMap1k OCTET STRING,
hpicfGppcAcIngressVlanMap2k OCTET STRING,
hpicfGppcAcIngressVlanMap3k OCTET STRING,
hpicfGppcAcIngressVlanMap4k OCTET STRING,
hpicfGppcAcEgressIfList PortList,
hpicfGppcAcEgressVlanMap1k OCTET STRING,
hpicfGppcAcEgressVlanMap2k OCTET STRING,
hpicfGppcAcEgressVlanMap3k OCTET STRING,
hpicfGppcAcEgressVlanMap4k OCTET STRING,
hpicfGppcAcExpPolicy INTEGER,
hpicfGppcAcExpString OCTET STRING,
hpicfGppcAcLastErrorCode INTEGER,
hpicfGppcAcLastErrorString OCTET STRING,
hpicfGppcAcRowAdminStatus INTEGER,
hpicfGppcAcRowStatus RowStatus
}
hpicfGppcAcAppName OBJECT-TYPE
SYNTAX SnmpAdminString (SIZE(1..16))
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION "Name of the application that last modified this
row. All applications of the same type should use
the same name and should use different instance
identifiers to identify themselves uniquely.
This is a printable string up to 16 bytes in size."
::= { hpicfGppcAppControlEntry 1 }
hpicfGppcAcAppInstance OBJECT-TYPE
SYNTAX SnmpAdminString (SIZE(1..16))
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION "Instance identifier of the application. This is
used to distinguish between different instances of
the same application.
This is a printable string up to 16 bytes in size."
::= { hpicfGppcAppControlEntry 2 }
hpicfGppcAcPolicyName OBJECT-TYPE
SYNTAX HpicfGppcPolicyName
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION "Name of the policy. Each policy is uniquely
identified by its name. It is possible to apply the
same policy in different manners to different
interfaces and VLANs.
This is a printable string up to 64 characters in
size."
::= { hpicfGppcAppControlEntry 3 }
hpicfGppcAcIngressIfList OBJECT-TYPE
SYNTAX PortList
MAX-ACCESS read-create
STATUS current
DESCRIPTION "List of interfaces to which this policy applies at
ingress."
::= { hpicfGppcAppControlEntry 4 }
hpicfGppcAcIngressVlanMap1k OBJECT-TYPE
SYNTAX OCTET STRING (SIZE(0..128))
MAX-ACCESS read-create
STATUS current
DESCRIPTION "A string of octets containing one bit per VLAN for
VLANS with vlan index values of 0 through 1023.
The first octet corresponds to VLANs with
vlan index values of 0 through 7, the second
octet to VLANs 8 through 15, etc. The most
significant bit of each octet corresponds to the
lowest vlan index value in that octet.
For each VLAN that this policy should apply to
at ingress, the corresponding bit is set to '1'."
::= { hpicfGppcAppControlEntry 5 }
hpicfGppcAcIngressVlanMap2k OBJECT-TYPE
SYNTAX OCTET STRING (SIZE(0..128))
MAX-ACCESS read-create
STATUS current
DESCRIPTION "A string of octets containing one bit per VLAN for
VLANS with vlan index values of 1024 through 2047.
The first octet corresponds to VLANs with
vlan index values of 1024 through 1031, the second
octet to VLANs 1032 through 1039, etc. The most
significant bit of each octet corresponds to the
lowest vlan index value in that octet.
For each VLAN that this policy should apply to
at ingress, the corresponding bit is set to '1'."
::= { hpicfGppcAppControlEntry 6 }
hpicfGppcAcIngressVlanMap3k OBJECT-TYPE
SYNTAX OCTET STRING (SIZE(0..128))
MAX-ACCESS read-create
STATUS current
DESCRIPTION "A string of octets containing one bit per VLAN for
VLANS with vlan index values of 2048 through 3071.
The first octet corresponds to VLANs with
vlan index values of 2048 through 2055, the second
octet to VLANs 2056 through 2063, etc. The most
significant bit of each octet corresponds to the
lowest vlan index value in that octet.
For each VLAN that this policy should apply to
at ingress, the corresponding bit is set to '1'."
::= { hpicfGppcAppControlEntry 7 }
hpicfGppcAcIngressVlanMap4k OBJECT-TYPE
SYNTAX OCTET STRING (SIZE(0..128))
MAX-ACCESS read-create
STATUS current
DESCRIPTION "A string of octets containing one bit per VLAN for
VLANS with vlan index values of 3072 through 4095.
The first octet corresponds to VLANs with
vlan index values of 3072 through 3079, the second
octet to VLANs 3080 through 3087, etc. The most
significant bit of each octet corresponds to the
lowest vlan index value in that octet.
For each VLAN that this policy should apply to
at ingress, the corresponding bit is set to '1'."
::= { hpicfGppcAppControlEntry 8 }
hpicfGppcAcEgressIfList OBJECT-TYPE
SYNTAX PortList
MAX-ACCESS read-create
STATUS current
DESCRIPTION "List of interfaces to which this policy applies at
egress."
::= { hpicfGppcAppControlEntry 9 }
hpicfGppcAcEgressVlanMap1k OBJECT-TYPE
SYNTAX OCTET STRING (SIZE(0..128))
MAX-ACCESS read-create
STATUS current
DESCRIPTION "A string of octets containing one bit per VLAN for
VLANS with vlan index values of 0 through 1023.
The first octet corresponds to VLANs with
vlan index values of 0 through 7, the second
octet to VLANs 8 through 15, etc. The most
significant bit of each octet corresponds to the
lowest vlan index value in that octet.
For each VLAN that this policy should apply to
at egress, the corresponding bit is set to '1'."
::= { hpicfGppcAppControlEntry 10 }
hpicfGppcAcEgressVlanMap2k OBJECT-TYPE
SYNTAX OCTET STRING (SIZE(0..128))
MAX-ACCESS read-create
STATUS current
DESCRIPTION "A string of octets containing one bit per VLAN for
VLANS with vlan index values of 1024 through 2047.
The first octet corresponds to VLANs with
vlan index values of 1024 through 1031, the second
octet to VLANs 1032 through 1039, etc. The most
significant bit of each octet corresponds to the
lowest vlan index value in that octet.
For each VLAN that this policy should apply to
at egress, the corresponding bit is set to '1'."
::= { hpicfGppcAppControlEntry 11 }
hpicfGppcAcEgressVlanMap3k OBJECT-TYPE
SYNTAX OCTET STRING (SIZE(0..128))
MAX-ACCESS read-create
STATUS current
DESCRIPTION "A string of octets containing one bit per VLAN for
VLANS with vlan index values of 2048 through 3071.
The first octet corresponds to VLANs with
vlan index values of 2048 through 2055, the second
octet to VLANs 2056 through 2063, etc. The most
significant bit of each octet corresponds to the
lowest vlan index value in that octet.
For each VLAN that this policy should apply to
at egress, the corresponding bit is set to '1'."
::= { hpicfGppcAppControlEntry 12 }
hpicfGppcAcEgressVlanMap4k OBJECT-TYPE
SYNTAX OCTET STRING (SIZE(0..128))
MAX-ACCESS read-create
STATUS current
DESCRIPTION "A string of octets containing one bit per VLAN for
VLANS with vlan index values of 3072 through 4095.
The first octet corresponds to VLANs with
vlan index values of 3072 through 3079, the second
octet to VLANs 3080 through 3087, etc. The most
significant bit of each octet corresponds to the
lowest vlan index value in that octet.
For each VLAN that this policy should apply to
at egress, the corresponding bit is set to '1'."
::= { hpicfGppcAppControlEntry 13 }
hpicfGppcAcExpPolicy OBJECT-TYPE
SYNTAX INTEGER { permanent(1) }
MAX-ACCESS read-create
STATUS current
DESCRIPTION "Expiration policy. This indicates whether a policy
should expire automatically.
'permanent' means a policy should never expire
automatically."
::= { hpicfGppcAppControlEntry 14 }
hpicfGppcAcExpString OBJECT-TYPE
SYNTAX OCTET STRING (SIZE(0..24))
MAX-ACCESS read-create
STATUS current
DESCRIPTION "Expiration string. This is used in conjuntion with
hpicfGppcAcExpPolicy to indicate when a policy
should expire automatically.
The value stored in this object is interpreted
differently for different expiration policies. When
the expiration policy is 'permanent', this value is
ignored."
::= { hpicfGppcAppControlEntry 15 }
hpicfGppcAcLastErrorCode OBJECT-TYPE
SYNTAX INTEGER {
no-error(0),
gppc-generic-error(1),
gppc-length-error(2),
gppc-name-error(3),
gppc-parameter-error(4),
gppc-not-implemented(5),
gppc-malloc-error(6),
gppc-too-many-apps(7),
gppc-too-many-policies(8),
gppc-already-reserved(9),
gppc-entry-not-found(10),
gppc-entry-exists(11),
gppc-platform-error(12),
gppc-app-using-policy(13),
gppc-invalid-policy-type(14),
gppc-not-reserved(15),
gppc-no-policy(16),
gppc-policy-not-active(17),
gppc-policy-has-rules(18),
gppc-rule-exists(19),
gppc-mac-mirror-mac-exists(30),
gppc-mac-mirror-dir-both-conflict(31),
gppc-mac-mirror-dir-src-conflict(32),
gppc-mac-mirror-dir-dst-conflict(33),
gppc-mac-mirror-invalid-session(34),
gppc-mac-mirror-invalid-direction(35),
gppc-mac-mirror-no-entry(36),
gppc-mac-mirror-convert-error(37),
gppc-mac-mirror-table-full(38),
gppc-cfg-generic-error(50),
gppc-cfg-entry-not-found(51),
gppc-cfg-set-error(52),
gppc-cfg-get-error(53),
gppc-cfg-no-record(54),
gppc-cfg-add-record-error(55),
gppc-cfg-invalid(56),
gppc-cfg-malloc-error(57)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION "Error code of the last error that occurred. A
non-zero value indicates that the last operation
performed by this instance of the application on the
named policy did not succeed. A detailed
description of the error is available in
hpicfGppcAcLastErrorString."
::= { hpicfGppcAppControlEntry 16 }
hpicfGppcAcLastErrorString OBJECT-TYPE
SYNTAX OCTET STRING (SIZE(0..255))
MAX-ACCESS read-only
STATUS current
DESCRIPTION "Description of the last error that occurred. This
is a printable ASCII string that describes the error
in some detail."
::= { hpicfGppcAppControlEntry 17 }
hpicfGppcAcRowAdminStatus OBJECT-TYPE
SYNTAX INTEGER {
disabled(1),
enabled(2)
}
MAX-ACCESS read-create
STATUS current
DESCRIPTION "Administrative status of this row. The named policy
in this row is applied to the interfaces and/or
VLANs by this instance of the application only when
the administrative status is enabled. This is the
main on/off switch for the row. The row status must
be active for this switch to have an effect."
::= { hpicfGppcAppControlEntry 18 }
hpicfGppcAcRowStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-create
STATUS current
DESCRIPTION "Status of this row. Row status must be active, and
the admin status (see hpicfGppcAcRowAdminStatus)
must be enabled for this row to be activated."
::= { hpicfGppcAppControlEntry 19 }
-- ***********************************************
-- GPPC named policy table
-- ***********************************************
hpicfGppcNamedPolicyTable OBJECT-TYPE
SYNTAX SEQUENCE OF HpicfGppcNamedPolicyEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION "The named policy table. This table lists the name
and type of all policies that are applied via GPPC."
::= { hpicfGppcMIB 3 }
hpicfGppcNamedPolicyEntry OBJECT-TYPE
SYNTAX HpicfGppcNamedPolicyEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION "An entry in the named policy table."
INDEX { hpicfGppcNpPolicyName }
::= { hpicfGppcNamedPolicyTable 1 }
HpicfGppcNamedPolicyEntry ::=
SEQUENCE {
hpicfGppcNpPolicyName HpicfGppcPolicyName,
hpicfGppcNpPolicyType INTEGER,
hpicfGppcNpRowStatus RowStatus
}
hpicfGppcNpPolicyName OBJECT-TYPE
SYNTAX HpicfGppcPolicyName
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION "Name of the policy. The name of a policy is its
unique identification. It is a printable string
in ASCII characters. It can be up to 64 characters
in length"
::= { hpicfGppcNamedPolicyEntry 1 }
hpicfGppcNpPolicyType OBJECT-TYPE
SYNTAX INTEGER { mac-based-mirroring(1) }
MAX-ACCESS read-create
STATUS current
DESCRIPTION "Type of the policy. A policy type of
'mac-based-mirroring' indicates that the policy is
used to mirror traffic based on the MAC address of
the source or destination."
::= { hpicfGppcNamedPolicyEntry 2 }
hpicfGppcNpRowStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-create
STATUS current
DESCRIPTION "Status of this row. The named policy must be
active before rules can be added to it or removed
from it. A newly created policy will remain in
notReady state until it is given a valid policy type
(see hpicfGppcNpPolicyType).
A row in the named policy table can not be deleted
if the named policy is referenced by a row in the
application control table. The application
control entries that refer to this row must be
deleted before this row can be deleted."
::= { hpicfGppcNamedPolicyEntry 3 }
-- ***********************************************
-- GPPC policy rules table
-- ***********************************************
hpicfGppcPolicyRulesTable OBJECT-TYPE
SYNTAX SEQUENCE OF HpicfGppcPolicyRulesEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION "The policy rules table. A policy can consist of
multiple rules. All of the rules of a policy are
listed in this table. Each rule consists of a
string and a numeric identifier - the rule id."
::= { hpicfGppcMIB 4 }
hpicfGppcPolicyRulesEntry OBJECT-TYPE
SYNTAX HpicfGppcPolicyRulesEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION "An entry in the policy rules table."
INDEX { hpicfGppcNpPolicyName,
hpicfGppcPrRuleId }
::= { hpicfGppcPolicyRulesTable 1 }
HpicfGppcPolicyRulesEntry ::=
SEQUENCE {
hpicfGppcPrRuleId Integer32,
hpicfGppcPrPolicyRule OCTET STRING,
hpicfGppcPrRowStatus RowStatus
}
hpicfGppcPrRuleId OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION "Numeric identifier of the rule. The rules in a
policy are processed sequentially in increasing
order of their rule ids. These numeric ids are
generated by the application that creates the
policy. Rules within a policy have unique rule
ids."
::= { hpicfGppcPolicyRulesEntry 1 }
hpicfGppcPrPolicyRule OBJECT-TYPE
SYNTAX OCTET STRING (SIZE(0..128))
MAX-ACCESS read-create
STATUS current
DESCRIPTION "Rule string. This is a string that represents one
rule in the policy. A policy can consist of one or
many rules."
::= { hpicfGppcPolicyRulesEntry 2 }
hpicfGppcPrRowStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-create
STATUS current
DESCRIPTION "Status of this row. A rule must have an active row
status in order to take effect. Only active rules
within the named policy are applied when an
application applies the policy. It is possible to
use this row status as an on/off switch for enabling
or disabling selected rules within a policy.
A newly created rule will remain in notReady state
until it is given a valid rule string (see
hpicfGppcPrPolicyRule)."
::= { hpicfGppcPolicyRulesEntry 3 }
-- **********************************************************************
-- Conformance Information
-- **********************************************************************
hpicfGppcMIBCompliances OBJECT IDENTIFIER ::= { hpicfGppcConformance 1 }
hpicfGppcMIBGroups OBJECT IDENTIFIER ::= { hpicfGppcConformance 2 }
hpicfGppcMIBCompliance MODULE-COMPLIANCE
STATUS current
DESCRIPTION "The compliance statement for HP routers
implementing the HP-ICF-GPPC-MIB."
MODULE
MANDATORY-GROUPS { hpicfGppcGroup }
GROUP hpicfGppcGroup
DESCRIPTION "Support for this group is required for HP routers
that implement GPPC."
::= { hpicfGppcMIBCompliances 1 }
hpicfGppcGroup OBJECT-GROUP
OBJECTS {
hpicfGppcAcIngressIfList,
hpicfGppcAcIngressVlanMap1k,
hpicfGppcAcIngressVlanMap2k,
hpicfGppcAcIngressVlanMap3k,
hpicfGppcAcIngressVlanMap4k,
hpicfGppcAcEgressIfList,
hpicfGppcAcEgressVlanMap1k,
hpicfGppcAcEgressVlanMap2k,
hpicfGppcAcEgressVlanMap3k,
hpicfGppcAcEgressVlanMap4k,
hpicfGppcAcExpPolicy,
hpicfGppcAcExpString,
hpicfGppcAcLastErrorCode,
hpicfGppcAcLastErrorString,
hpicfGppcAcRowAdminStatus,
hpicfGppcAcRowStatus,
hpicfGppcNpPolicyType,
hpicfGppcNpRowStatus,
hpicfGppcPrPolicyRule,
hpicfGppcPrRowStatus
}
STATUS current
DESCRIPTION "A collection of HP proprietary objects to support
GPPC."
::= { hpicfGppcMIBGroups 1 }
END