forked from simonjj/SnmpMibs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CISCO-BULK-FILE-MIB.mib
1021 lines (848 loc) · 34.8 KB
/
CISCO-BULK-FILE-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
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
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
-- *****************************************************************
-- CISCO-BULK-FILE-MIB.my: Bulk file creation MIB
--
-- August 1997, Bob Stewart
-- June 2001, Thai Dang
-- August 2001, A S Kiran Koushik
-- April 2002, David L. Battle
-- Jun 2002, Kapil Kataria
--
-- Copyright (c) 1997, 1998, 2001, 2002 by cisco Systems, Inc.
-- All rights reserved.
--
-- *****************************************************************
CISCO-BULK-FILE-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY, OBJECT-TYPE,
NOTIFICATION-TYPE, zeroDotZero,
Counter32, Gauge32, Unsigned32 FROM SNMPv2-SMI
RowStatus, DisplayString,
TruthValue,
TimeStamp FROM SNMPv2-TC
MODULE-COMPLIANCE, OBJECT-GROUP,
NOTIFICATION-GROUP FROM SNMPv2-CONF
ciscoMgmt FROM CISCO-SMI;
ciscoBulkFileMIB MODULE-IDENTITY
LAST-UPDATED "200206100000Z"
ORGANIZATION "Cisco Systems, Inc."
CONTACT-INFO "Cisco Systems
Customer Service
Postal: 170 W Tasman Drive
San Jose, CA 95134
USA
Tel: +1 800 553-NETS
E-mail: [email protected]"
DESCRIPTION
"The MIB module for creating and deleting bulk files of
SNMP data for file transfer."
REVISION "200206100000Z"
DESCRIPTION
"Added enum 'forcedCreate' for object 'cbfDefineFileNow'
for forced creation of configuration files."
REVISION "200205150000Z"
DESCRIPTION
"Added default values for all read-write objects in table to
simplify creation of table rows."
REVISION "200108220000Z"
DESCRIPTION
"Modified description of objects
cbfDefineObjectTableInstance and
cbfDefineObjectLastPolledInst in cbfDefineObjectTable
to accept/represent Full OIDs instead of partial OIDs."
REVISION "200108010000Z"
DESCRIPTION
"Enhanced the MIB for selective row transfer from
MIBS. Added a notification to indicate bulk file creation
or error(during creation of the file).
Added object cbfDefineFileNotifyOnCompletion to
cbfDefineFileTable.
Added the objects cbfDefineObjectTableInstance,
cbfDefineObjectLastPolledInst and
cbfDefineObjectNumEntries to cbfDefineObjectTable.
Added cbfDefineFileCompletion notification."
REVISION "200106261700Z"
DESCRIPTION
"Added the following enumerations variantBERWithCksum(4) and
variantBinWithCksum(5) in cbfDefineFileFormat"
REVISION "9810291700Z"
DESCRIPTION
"Initial version of this MIB module."
::= { ciscoMgmt 81 }
ciscoBulkFileMIBObjects OBJECT IDENTIFIER ::= { ciscoBulkFileMIB 1 }
cbfDefine OBJECT IDENTIFIER ::= { ciscoBulkFileMIBObjects 1 }
cbfStatus OBJECT IDENTIFIER ::= { ciscoBulkFileMIBObjects 2 }
--
-- Bulk File Formats
--
-- There are five bulk transfer file formats:
-- . ASN.1/BER variable bindings - standard BER, just like you'd
-- find it in the varbinds section of a Response PDU.
-- . Bulk binary - a binary form designed for fast, sequential
-- processing and minimum redundancy.
-- . Bulk ASCII - the binary form, mechanically translated to
-- human-readable ASCII.
-- . Variant ASN.1/BER with Checksum - designed for more
-- efficient data encoding to reduce the file size.
-- . Variant Binary with Checksum - designed for speed and
-- file size efficiency.
-- The ASN.1/BER format is identical to SNMP variable bindings, that is,
-- each object has a full OID and a fully tagged value. The file
-- content is similar to what would be obtained with a GetBulk request
-- except that it does not overshoot for uninstantiated values. In
-- other words, the file contains no data at all for scalars or
-- columns that could not be read.
-- The Variant ASN.1/BER is different from the standard ASN.1/BER
-- in the way it encodes each object and the checksum
-- value it attaches at the end of the file. Here
-- is the content structure of the Variant ASN.1/BER file:
--
-- Checksum signature (4 bytes)
-- Data (encoded in ASN.1/BER)
-- Checksum signature (4 bytes)
-- Checksum value (4 bytes)
--
-- Here is an example of how the objects get encoded:
-- 1) Common table subidentifier (share among multiple tables)
-- 2) Common object subidentifier (share among object instances
-- of a table)
-- 3) Object instances
-- Example: to encode ifDescr 1.3.6.1.2.1.2.2.1.2
-- ifType 1.3.6.1.2.1.2.2.1.3
-- ifName 1.3.6.1.2.1.31.1.1.1.1
-- using variant ASN.1/BER:
-- 1) Common table subidentifier is 1.3.6.1.2.1
-- 2) Common object subidentifier for ifDescr and ifType
-- are 2.1.2.2.1
-- Common object subidentifier for ifName is 31.1.1.1
-- 3) Object instance for
-- ifDescr is 2.ifIndex
-- ifType is 3.ifIndex
-- ifName is 1.ifIndex
--
-- The content of the the file encoded as:
-- 1) 4 bytes checksum signature
-- 2) Common table subidentifier encoded as private class
-- OID type
-- 3) Common object subidentifier for ifDesc encoded as
-- private class OID type
-- 4) ifDescr instance encoded as OID type
-- 5) ifDescr value encdoded
-- 6) ifType instance encoded as OID type
-- 7) ifType value encoded
-- 8) Repeat step 4-7 if the table contains multiple rows
-- 9) Common object subidentifier for ifName encoded
-- 10) ifName instance encoded as OID type
-- 11) ifName value encoded
-- 12) Repeat step 10-11 if the table contains multiple rows
-- 13) 4 bytes checksum signature
-- 14) 4 bytes checksum value
--
-- Notes: Step 2 through step 12 are data
-- The Variant Binary with Checksum is designed for fast
-- processing and file size efficiency. The content of the the
-- file is as follow:
--
-- Checksum signature (4 bytes)
-- Data
-- Checksum signature (4 bytes)
-- Checksum value (4 bytes)
--
-- The data is store in 16 bytes blocks. Each block has
-- 4 objects. Here is an example of the data:
-- <ifIndex><vpi><vci><uploadCounter>
-- The remainder of this description applies to the bulk binary and bulk
-- ASCII formats, not to the ASN.1/BER format.
-- The file contains two types of fields: tags and data. Tags identify
-- portions of the file and are discussed in detail below. All other
-- information is in data fields.
-- Note: For efficiency and compactness data fields are not tagged
-- with a type. The interpreter of the data must thus know or have
-- access to appropriate MIB syntax descriptions to understand the file.
-- All data fields are positional relative to a tag and every data field
-- has a length prefix. All initial length prefixes are one byte. For
-- any data type the distinguished length value 255 indicates that the
-- data content is null, that is, no data content value was
-- available and there are no additional bytes in the data field.
-- INTEGER data fields include all data that maps to ASN.1 INTEGER,
-- regardless of length and whether signed or unsigned. They have a
-- length prefix value of zero to eight, followed by that many bytes of
-- data, high-order byte first. High order bytes that are all zero are
-- omitted, thus a length of zero indicates a value of zero. For signed
-- numbers, leading bytes of all ones (hex FF) are omitted if the next
-- remaining byte has the high bit on. This implies that the
-- file parser must know the difference between signed and unsigned
-- integers.
-- OCTET STRING values have a length prefix value of zero to two for a
-- subsequent unsigned byte count for the number of bytes in the OCTET
-- STRING itself, which immediately follows the byte count. The byte
-- count can thus range from zero to 65,535.
-- OBJECT IDENTIFIER values have a length of zero to 128, for the number
-- of sub-identifiers. Each subsequent sub-identifier is encoded as an
-- unsigned INTEGER of 0-4 bytes.
-- The bulk binary file layout directly reflects the contents of the
-- cbfDefineFileObjectTable. It has tagged sections corresponding to
-- cbfDefineObjectClass with a few additional tags for utility purposes.
-- A tag is one byte with one of the following values:
-- -2 row
-- -1 prefix
-- 0 reserved
-- 1 object
-- 2 table
-- The prefix tag changes the default OID prefix that is assumed to
-- precede all OIDs that are not MIB object data values. The prefix tag
-- may appear anywhere another tag could appear. A prefix tag is
-- followed by one OID data field. The default prefix is 1.3.6.1.
-- A file need not set the prefix to the default value. Note that
-- when changing the prefix, the default portion must be included
-- at the beginning of the new prefix. Typically the prefix will
-- change for each table or group of scalar objects.
-- An object tag is followed by one OID data field and one data field
-- appropriate to the syntax of the object. This OID is the full
-- OID for the object minus the current prefix.
-- A table tag is followed by one INTEGER data field whose value is the
-- number of columns in the table, as implemented by the agent. This is
-- followed by one OID data field for each column. This is the OID for
-- the column minus the prefix and the instance (typically one
-- subidentifier).
-- The OIDs are then followed by one row for each row in the table.
-- A row starts with a row tag and one OID data field containing
-- only the instance portion of the OIDs for the objects in that row.
-- Following this is one data field of appropriate type for each
-- column.
-- The bulk ASCII form mechanically translates bulk binary into
-- human-readable text.
-- The indicator for a null value is "~".
-- An INTEGER becomes the integer value with a preceding "-" for
-- negative values and no leading zeros.
-- An OCTET STRING becomes the byte values in hexadecimal, lower case,
-- two characters per byte (that is, with leading zeros), no delimiters
-- between bytes.
-- An OBJECT IDENTIFIER becomes the usual dotted decimal form.
-- A tag becomes the tag's name, spelled out fully in lower case,
-- followed by one blank and the data field(s) for the tag, separated
-- by spaces and ending with a carriage return/line feed. All tags
-- are at the beginning of a "line" that is terminated with a carriage
-- return/line feed that immediately precedes the next tag or the end
-- of file.
--
-- File Definition and Creation Control
--
-- Definition Resource Management
cbfDefineMaxFiles OBJECT-TYPE
SYNTAX Unsigned32 (0..4294967295)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The maximum number of file definitions this system
can hold in cbfDefineFileTable. A value of 0 indicates no
configured limit.
This object may be read-only on some systems.
Changing this number does not disturb existing entries."
::= { cbfDefine 1 }
cbfDefineFiles OBJECT-TYPE
SYNTAX Gauge32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The current number of file definitions in cbfDefineFileTable."
::= { cbfDefine 2 }
cbfDefineHighFiles OBJECT-TYPE
SYNTAX Gauge32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The maximum value of cbfDefineFiles since system
initialization."
::= { cbfDefine 3 }
cbfDefineFilesRefused OBJECT-TYPE
SYNTAX Counter32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The number of attempts to create a file definition that
failed due to exceeding cbfDefineMaxFiles."
::= { cbfDefine 4 }
cbfDefineMaxObjects OBJECT-TYPE
SYNTAX Unsigned32 (0..4294967295)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The maximum total number of object selections to go with
file definitions this system, that is, the total number
of objects this system can hold in cbfDefineObjectTable. A
value of 0 indicates no configured limit.
This object may be read-only on some systems.
Changing this number does not disturb existing entries."
::= { cbfDefine 5 }
cbfDefineObjects OBJECT-TYPE
SYNTAX Gauge32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The current number of object selections in
cbfDefineObjectTable."
::= { cbfDefine 6 }
cbfDefineHighObjects OBJECT-TYPE
SYNTAX Gauge32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The maximum value of cbfDefineObjects since system
initialization."
::= { cbfDefine 7 }
cbfDefineObjectsRefused OBJECT-TYPE
SYNTAX Counter32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The number of attempts to create an object selection that
failed due to exceeding cbfDefineMaxObjects."
::= { cbfDefine 8 }
-- File Definition Table
cbfDefineFileTable OBJECT-TYPE
SYNTAX SEQUENCE OF CbfDefineFileEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A table of bulk file definition and creation controls."
::= { cbfDefine 9 }
cbfDefineFileEntry OBJECT-TYPE
SYNTAX CbfDefineFileEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Information for creation of a bulk file.
To creat a bulk file an application creates an entry in this
table and corresponding entries in cbfDefineObjectTable.
When the entry in this table and the corresponding
entries in cbfDefineObjectTable are 'active' the
appliction uses cbfDefineFileNow to create the file
and a corresponding entry in cbfStatusFileTable.
Deleting an entry in cbfDefineFileTable deletes all
corresponding entries in cbfDefineObjectTable and
cbfStatusFileTable.
An entry may not be modified or deleted while its
cbfDefineFileNow has the value 'running'."
INDEX { cbfDefineFileIndex }
::= { cbfDefineFileTable 1 }
CbfDefineFileEntry ::= SEQUENCE {
cbfDefineFileIndex Unsigned32,
cbfDefineFileName DisplayString,
cbfDefineFileStorage INTEGER,
cbfDefineFileFormat INTEGER,
cbfDefineFileNow INTEGER,
cbfDefineFileEntryStatus RowStatus,
cbfDefineFileNotifyOnCompletion TruthValue
}
cbfDefineFileIndex OBJECT-TYPE
SYNTAX Unsigned32 (1..4294967295)
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An arbitrary integer to uniquely identify this entry. To
create an entry a management application should pick a
random number."
::= { cbfDefineFileEntry 1 }
cbfDefineFileName OBJECT-TYPE
SYNTAX DisplayString (SIZE (0..255))
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"The file name which is to be created.
Explicit device or path choices in the value of this object
override cbfDefineFileStorage."
DEFVAL { "" }
::= { cbfDefineFileEntry 2 }
cbfDefineFileStorage OBJECT-TYPE
SYNTAX INTEGER { ephemeral(1), volatile(2), permanent(3) }
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"The type of file storage to use:
ephemeral data exists in small amounts until read
volatile data exists in volatile memory
permanent data survives reboot
An ephemeral file is suitable to be read only one time.
Note that this value is taken as advisory and may be overridden
by explicit device or path choices in cbfDefineFile.
A given system may support any or all of these."
DEFVAL { ephemeral }
::= { cbfDefineFileEntry 3 }
cbfDefineFileFormat OBJECT-TYPE
SYNTAX INTEGER { standardBER(1),
bulkBinary(2),
bulkASCII(3),
variantBERWithCksum(4),
variantBinWithCksum(5) }
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"The format of the data in the file:
StandardBER standard SNMP ASN.1 BER
bulkBinary a binary format specified with this MIB
bulkASCII a human-readable form of bulkBinary
variantBERWithCksum ASN.1 BER encoding with checksum
variantBinWithCksum a binary format with checksum
A given system may support any or all of these."
DEFVAL { bulkBinary }
::= { cbfDefineFileEntry 4 }
cbfDefineFileNow OBJECT-TYPE
SYNTAX INTEGER { notActive(1),
ready(2),
create(3),
running(4),
forcedCreate(5) }
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"The control to cause file creation. The only values that can
be set are 'create' and 'forcedCreate'. These can be set only
when the value is 'ready'. Setting it to 'create' begins a
file creation and creates a corresponding entry in
cbfStatusFileTable. The system may choose to use an already
existing copy of the file instead of creating a new one. This
may happen if there has been no configuration change on the
system and a request to recreate the file is received.
Setting this object to 'forcedCreate' forces the system to
create a new copy of the file.
The value is 'notActve' as long as cbfDefineFileEntryStatus or
any corresponding cbfDefineObjectEntryStatus is not active.
When cbfDefineFileEntryStatus becomes active and all
corresponding cbfDefineObjectEntryStatuses are active this
object automatically goes to 'ready'."
DEFVAL { notActive }
::= { cbfDefineFileEntry 5 }
cbfDefineFileEntryStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"The control that allows creation, modification, and deletion
of entries. For detailed rules see the DESCRIPTION for
cbfDefineFileEntry."
::= { cbfDefineFileEntry 6 }
cbfDefineFileNotifyOnCompletion OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"This controls the cbfDefineFileCompletion notification.
If true, cbfDefineFileCompletion notification
will be generated. It is the responsibility of the
management entity to ensure that the SNMP administrative
model is configured in such a way as to allow the
notification to be delivered."
DEFVAL { false }
::= { cbfDefineFileEntry 7 }
-- File Object Table
cbfDefineObjectTable OBJECT-TYPE
SYNTAX SEQUENCE OF CbfDefineObjectEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A table of objects to go in bulk files."
::= { cbfDefine 10 }
cbfDefineObjectEntry OBJECT-TYPE
SYNTAX CbfDefineObjectEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Information about one object for a particular file.
An application uses cbfDefineObjectEntryStatus to create entries
in this table in correspondence with entries in
cbfDefineFileTable, which must be created first.
Entries in this table may not be changed, created or deleted
while the corresponding value of cbfDefineFileNow is 'running'."
INDEX { cbfDefineFileIndex, cbfDefineObjectIndex }
::= { cbfDefineObjectTable 1 }
CbfDefineObjectEntry ::= SEQUENCE {
cbfDefineObjectIndex Unsigned32,
cbfDefineObjectClass INTEGER,
cbfDefineObjectID OBJECT IDENTIFIER,
cbfDefineObjectEntryStatus RowStatus,
cbfDefineObjectTableInstance OBJECT IDENTIFIER,
cbfDefineObjectNumEntries Unsigned32,
cbfDefineObjectLastPolledInst OBJECT IDENTIFIER
}
cbfDefineObjectIndex OBJECT-TYPE
SYNTAX Unsigned32 (1..4294967295)
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An arbitrary integer to uniquely identify this entry.
The numeric order of the entries controls the order of
the objects in the file."
::= { cbfDefineObjectEntry 1 }
cbfDefineObjectClass OBJECT-TYPE
SYNTAX INTEGER {
object(1),
lexicalTable(2),
leastCpuTable(3)
}
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"The meaning of each object class is given below:
object a single MIB object is retrieved.
lexicalTable an entire table or partial table
is retrieved in lexical order of rows.
leastCpuTable an entire table is retrieved with
lowest CPU utilization.
Lexical ordering of rows may not be
maintained and is dependent upon
individual MIB implementation."
DEFVAL { leastCpuTable }
::= { cbfDefineObjectEntry 2 }
cbfDefineObjectID OBJECT-TYPE
SYNTAX OBJECT IDENTIFIER
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"The object identifier of a MIB object to be included in
the file.
If cbfDefineObjectClass is 'object' this must be a full OID,
including all instance information.
If cbfDefineObjectClass is 'lexicalTable' or 'leastCpuTable'
this must be the OID of the table-defining SEQUENCE OF
registration point."
DEFVAL { zeroDotZero }
::= { cbfDefineObjectEntry 3 }
cbfDefineObjectEntryStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"The control that allows creation, modification, and deletion
of entries. For detailed rules see the DESCRIPTION for
cbfDefineObjectEntry."
::= { cbfDefineObjectEntry 4 }
cbfDefineObjectTableInstance OBJECT-TYPE
SYNTAX OBJECT IDENTIFIER
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"If cbfDefineObjectClass is 'lexicalTable', then this object
represents the starting instance in the cbfDefineObjectID
table. The file created will have entries starting from
the lexicographically next instance of the OID represented
by this object.
For Eg:
-------
Let us assume we are polling ifTable and we
have information till the second row(ifIndex.2). Now
we may be interested in 10 rows lexically following
the second row.
So, we set cbfDefineObjectTableInstance as ifIndex.2
and cbfDefineObjectNumEntries as 10.
We will get information for the next 10 rows or
if there are less than 10 populated rows, we will
receive information till the end of the table is
reached.
The default value for this object is zeroDotZero.
If this object has the value of zeroDotZero and
cbfDefineObjectNumEntries has value 0, then the whole
table(represented by cbfDefineObjectID) is retrieved.
If this object has the value of zeroDotZero,
cbfDefineObjectNumEntries has value n (>0) and there are
m(>0) entries in the table(represented by cbfDefineObjectID)
then the first n entries in the table are retrieved if n < m.
If n >= m, then the whole table is retrieved.
When the value of cbfDefineObjectNumEntries is 0,
it means all the entries in the table(represented
by cbfDefineObjectID) which lexicographically follow
cbfDefineObjectTableInstance are retrieved.
This object is irrelevent if cbfDefineObjectClass is not
'lexicalTable'."
DEFVAL { zeroDotZero }
::= { cbfDefineObjectEntry 5 }
cbfDefineObjectNumEntries OBJECT-TYPE
SYNTAX Unsigned32 (0..4294967295)
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"If cbfDefineObjectClass is 'lexicalTable', then this object
represents the maximum number of entries which will be
populated in the file starting from the lexicographically
next instance of the OID represented by
cbfDefineObjectTableInstance.
This object is irrelevent if cbfDefineObjectClass is not
'lexicalTable'.
Refer to the description of cbfDefineObjectTableInstance for
examples and different scenarios relating to this object."
DEFVAL { 0 }
::= { cbfDefineObjectEntry 6 }
cbfDefineObjectLastPolledInst OBJECT-TYPE
SYNTAX OBJECT IDENTIFIER
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This object represents the last polled instance in the
table.
The value represented by this object will be relevent only
if the corresponding cbfStatusFileState is emptied(3) for
ephemeral files or ready(2) for volatile or permanent files.
A value of zeroDotZero indicates an absence of last polled
object.
An NMS can use the value of this object and populate the
cbfDefineObjectTableInstance to retrieve a contiguous set
of rows in a table."
::= { cbfDefineObjectEntry 7 }
--
-- File Status
--
-- Resource Control
cbfStatusMaxFiles OBJECT-TYPE
SYNTAX Unsigned32 (0..4294967295)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The maximum number of file statuses this system
can hold in cbfStatusFileTable. A value of 0 indicates no
configured limit.
This object may be read-only on some systems.
Changing this number deletes the oldest finished entries until
the new limit is satisfied."
::= { cbfStatus 1 }
cbfStatusFiles OBJECT-TYPE
SYNTAX Gauge32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The current number of file statuses in cbfStatusFileTable."
::= { cbfStatus 2 }
cbfStatusHighFiles OBJECT-TYPE
SYNTAX Gauge32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The maximum value of cbfStatusFiles since system
initialization."
::= { cbfStatus 3 }
cbfStatusFilesBumped OBJECT-TYPE
SYNTAX Counter32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The number times the oldest entry was deleted due to exceeding
cbfStatusMaxFiles."
::= { cbfStatus 4 }
-- File Table
cbfStatusFileTable OBJECT-TYPE
SYNTAX SEQUENCE OF CbfStatusFileEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A table of bulk file status."
::= { cbfStatus 5 }
cbfStatusFileEntry OBJECT-TYPE
SYNTAX CbfStatusFileEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Status for a particular file.
An entry exists in this table for each time cbfDefineFileNow
has been set to 'create' and the corresponding entry here
has not been explicitly deleted by the application or bumped
to make room for a new entry.
Deleting an entry with cbfStatusFileState 'running' aborts
the file creation attempt.
It is implementation and file-system specific whether deleting
the entry also deletes the file."
INDEX { cbfDefineFileIndex, cbfStatusFileIndex }
::= { cbfStatusFileTable 1 }
CbfStatusFileEntry ::= SEQUENCE {
cbfStatusFileIndex Unsigned32,
cbfStatusFileState INTEGER,
cbfStatusFileCompletionTime TimeStamp,
cbfStatusFileEntryStatus RowStatus
}
cbfStatusFileIndex OBJECT-TYPE
SYNTAX Unsigned32 (1..4294967295)
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An arbitrary integer to uniquely identify this file.
The numeric order of the entries implies the creation
order of the files."
::= { cbfStatusFileEntry 1 }
cbfStatusFileState OBJECT-TYPE
SYNTAX INTEGER {
running(1),
ready(2),
emptied(3),
noSpace(4),
badName(5),
writeErr(6),
noMem(7),
buffErr(8),
aborted(9)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The file state:
running data is being written to the file
ready the file is ready to be read
emptied an ephemeral file was successfully consumed
noSpace no data due to insufficient file space
badName no data due to a name or path problem
writeErr no data due to fatal file write error
noMem no data due to insufficient dynamic memory
buffErr implementation buffer too small
aborted short terminated by operator command
Only the 'ready' state implies that the file is available
for transfer.
The disposition of files after an error is implementation
and file-syste specific."
::= { cbfStatusFileEntry 2 }
cbfStatusFileCompletionTime OBJECT-TYPE
SYNTAX TimeStamp
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The value of sysUpTime when the creation attempt completed.
A value of 0 indicates not complete. For ephemeral files this
is the time when cbfStatusFileState goes to 'emptied'. For
others this is the time when the state leaves 'running'."
::= { cbfStatusFileEntry 3 }
cbfStatusFileEntryStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The control that allows deletion of entries. For detailed rules
see the DESCRIPTION for cbfStatusFileEntry.
This object may not be set to any value other than 'destroy'."
::= { cbfStatusFileEntry 4 }
-- Notifications
ciscoBulkFileMIBNotificationPrefix OBJECT IDENTIFIER ::= {
ciscoBulkFileMIB 2 }
ciscoBulkFileMIBNotifications OBJECT IDENTIFIER ::= {
ciscoBulkFileMIBNotificationPrefix 0 }
cbfDefineFileCompletion NOTIFICATION-TYPE
OBJECTS
{
cbfStatusFileState,
cbfStatusFileCompletionTime
}
STATUS current
DESCRIPTION
"A cbfDefineFileCompletion notification is sent on
the following conditions :
- completion of a file consumption operation in case of
ephemeral files.
- completion of file creation operation in case of
volatile or permanent files.
- any error during file creation."
::= { ciscoBulkFileMIBNotifications 1 }
--
-- Conformance
--
ciscoBulkFileMIBConformance OBJECT IDENTIFIER ::= { ciscoBulkFileMIB 3 }
ciscoBulkFileMIBCompliances OBJECT IDENTIFIER ::=
{ ciscoBulkFileMIBConformance 1 }
ciscoBulkFileMIBGroups OBJECT IDENTIFIER ::=
{ ciscoBulkFileMIBConformance 2 }
-- Compliance
ciscoBulkFileMIBCompliance MODULE-COMPLIANCE
STATUS deprecated
DESCRIPTION
"The compliance statement for entities which implement
the Cisco Bulk File MIB. Implementation of this MIB
is based on individual product needs."
MODULE -- this module
MANDATORY-GROUPS {
ciscoBulkFileDefineGroup,
ciscoBulkFileStatusGroup,
ciscoBulkFileNotiGroup
}
::= { ciscoBulkFileMIBCompliances 1 }
ciscoBulkFileMIBComplianceRev1 MODULE-COMPLIANCE
STATUS current
DESCRIPTION
"The compliance statement for entities which implement
the Cisco Bulk File MIB. Implementation of this MIB
is based on individual product needs."
MODULE -- this module
MANDATORY-GROUPS {
ciscoBulkFileDefineGroupRev1,
ciscoBulkFileStatusGroup,
ciscoBulkFileNotiGroup
}
::= { ciscoBulkFileMIBCompliances 2 }
-- Units of Conformance
ciscoBulkFileDefineGroup OBJECT-GROUP
OBJECTS {
cbfDefineMaxFiles,
cbfDefineFiles,
cbfDefineHighFiles,
cbfDefineFilesRefused,
cbfDefineMaxObjects,
cbfDefineObjects,
cbfDefineHighObjects,
cbfDefineObjectsRefused,
cbfDefineFileName,
cbfDefineFileStorage,
cbfDefineFileFormat,
cbfDefineFileNow,
cbfDefineFileEntryStatus,
cbfDefineFileNotifyOnCompletion,
cbfDefineObjectClass,
cbfDefineObjectID,
cbfDefineObjectEntryStatus
}
STATUS deprecated
DESCRIPTION
"Bulk file definition management."
::= { ciscoBulkFileMIBGroups 1 }
ciscoBulkFileStatusGroup OBJECT-GROUP
OBJECTS {
cbfStatusMaxFiles,
cbfStatusFiles,
cbfStatusHighFiles,
cbfStatusFilesBumped,
cbfStatusFileState,
cbfStatusFileCompletionTime,
cbfStatusFileEntryStatus
}
STATUS current
DESCRIPTION
"Bulk file status management."
::= { ciscoBulkFileMIBGroups 2 }
ciscoBulkFileNotiGroup NOTIFICATION-GROUP
NOTIFICATIONS {
cbfDefineFileCompletion
}
STATUS current
DESCRIPTION
"A collection of notification objects for supporting
Bulk file notification management."
::= { ciscoBulkFileMIBGroups 3 }
ciscoBulkFileDefineGroupRev1 OBJECT-GROUP
OBJECTS {
cbfDefineMaxFiles,
cbfDefineFiles,
cbfDefineHighFiles,
cbfDefineFilesRefused,
cbfDefineMaxObjects,
cbfDefineObjects,
cbfDefineHighObjects,
cbfDefineObjectsRefused,
cbfDefineFileName,
cbfDefineFileStorage,
cbfDefineFileFormat,
cbfDefineFileNow,