/
A3COM-HUAWEI-FLASH-MAN-MIB
executable file
·1219 lines (1032 loc) · 34.7 KB
/
A3COM-HUAWEI-FLASH-MAN-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
-- =================================================================
-- Copyright (c) 2004-2011 Hangzhou H3C Tech. Co., Ltd. All rights reserved.
--
-- Description: flash management mib
-- Reference:
-- Version: V3.0
-- History:
-- V1.0 initial version 2002-12-20
-- V1.1 2004-6-15 add delete(4) to h3cFlhOperType
-- V1.2 2004-7-15 add some H3cFlashOperationStatus types:
-- opAuthFail(17),
-- opTimeout(18),
-- opDeleteFileOpenError(20),
-- opDeleteInvalidDevice(21),
-- opDeleteInvalidFunction(22),
-- opDeleteOperationError(23),
-- opDeleteInvalidFileName(24),
-- opDeleteDeviceBusy(25),
-- opDeleteParaError(26),
-- opDeleteInvalidPath(27)
-- V1.21 2004-8-19 modify the DESCRIPTION of h3cFlhMinPartitionSize
-- by fanxiaoxun
-- V2.0 2004-10-12 updated by gaolong
-- Fix h3cFlhMIBCompliance MODULE name to A3COM-HUAWEI-FLASH-MAN-MIB
-- V2.1 2004-11-22 modify the SYNTAX of h3cFlhSupportNum and h3cFlhIndex
-- by wangpengju
-- V2.2 2005-01-11 updated by gaolong and weixinzhe
-- File description updated
-- V2.3 2005-01-11 add 'rename' operation type for h3cFlhOperType,
-- by wangpengju
-- V2.4 2005-06-06 add enum value in SYNTAX of h3cFlhOperProtocol
-- by jinyongfeng. Adjust file format by gaolong
-- V2.5 2005-08-18 change the value range of h3cFlhFileIndex
-- from (1..32) to (1..2147483647), by wangpengju
-- V2.6 2006-03-03 updated by yangjianfeng
-- correct some error words which are obvious clerical error.
-- V2.7 2009-05-05 Add h3cFlhOperServerPort by jinyi
-- V2.8 2010-06-05 add h3cFlhOperFailReason by shuaixiaojuan
-- add h3cFlhKbyteSize by jinyi
-- V2.9 2010-10-30 Deprecated h3cFlhOperServerAddress,
-- added enum in H3cFlashOperationStatus,
-- added h3cFlhOperSrvAddrType, h3cFlhOperSrvAddrRev and
-- h3cFlhOperSrvVPNName by songhao.
-- V3.0 2011-10-13 Modify syntax of h3cFlhName and h3cFlhPartName by shuaixiaojuan.
-- =================================================================
A3COM-HUAWEI-FLASH-MAN-MIB DEFINITIONS ::= BEGIN
IMPORTS
PhysicalIndex
FROM ENTITY-MIB
huaweiUtility
FROM A3COM-HUAWEI-OID-MIB
OBJECT-GROUP, MODULE-COMPLIANCE, NOTIFICATION-GROUP
FROM SNMPv2-CONF
TimeTicks, IpAddress, Integer32, Gauge32, Counter32,
OBJECT-TYPE, MODULE-IDENTITY, NOTIFICATION-TYPE
FROM SNMPv2-SMI
InetAddressType, InetAddress
FROM INET-ADDRESS-MIB
DisplayString, TimeStamp, TruthValue, RowStatus, TEXTUAL-CONVENTION
FROM SNMPv2-TC;
h3cFlash MODULE-IDENTITY
LAST-UPDATED "201006050000Z" -- July 01, 2002 at 00:00 GMT
ORGANIZATION
"Hangzhou H3C Tech. Co., Ltd."
CONTACT-INFO
"Platform Team Hangzhou H3C Tech. Co., Ltd.
Hai-Dian District Beijing P.R. China
http://www.h3c.com
Zip:100085"
DESCRIPTION
"This MIB contains objects to manage flash cards and flash
card operations.
There are no constraints on this MIB."
::= { huaweiUtility 9 }
--
-- Textual conventions
--
H3cFlashOperationStatus ::= TEXTUAL-CONVENTION
STATUS current
DESCRIPTION
"The status of the specified operation can be one of
the following.
opInProgress : The operation is in process.
opSuccess : The operation has been completed successfully.
opInvalid : The command is invalid or command-protocol-device
combination is unsupported by the system.
opInvalidProtocol : Invalid protocol is specified.
opInvalidSourceName : Invalid source file name is specified.
opInvalidDestName : Invalid target name is specified.
opInvalidServerAddress : Invalid server address is specified.
opDeviceBusy : The device is in use and locked by another process.
opDeviceOpenError : Invalid device name is specified.
opDeviceError : Device read, write or erase error.
opDeviceNotProgrammable : Device is read-only but a write or
erase operation was specified.
opDeviceFull : Device is filled to capacity.
opFileOpenError : Invalid file name; file not found in partition.
opFileTransferError : File transfer was unsuccessful.
opFileChecksumError : File checksum in Flash is invalid.
opNoMemory : System is running in low on memory.
opUnknownFailure : Failure which is unknown.
opDeleteFileOpenError : File is in used by another process.
opDeleteInvalidDevice : Invalid device name is specified.
opDeleteInvalidFunction : Deleted operation is unsupported
by the device.
opDeleteOperationError : Operation is in a low error.
opDeleteInvalidFileName : Invalid file name is specified.
pDeleteDeviceBusy : The device is in use and locked
by another process.
opDeleteParaError : The parameters are invalid.
opDeleteInvalidPath : The file path is invalid.
opDeleteFileNotExistInSlave : Failed to delete file, because the file
is not exist in the slave.
opDeleteFileFailedInSlave : Operation is fail when delete file in the slave.
opSlaveFull : Operation is fail for the slave don't have enough space.
opCopyToSlaveFailure : Operation is fail when copy file to the slave.
"
SYNTAX INTEGER
{
opInProgress(1),
opSuccess(2),
opInvalid(3),
opInvalidProtocol(4),
opInvalidSourceName(5),
opInvalidDestName(6),
opInvalidServerAddress(7),
opDeviceBusy(8),
opDeviceOpenError(9),
opDeviceError(10),
opDeviceNotProgrammable(11),
opDeviceFull(12),
opFileOpenError(13),
opFileTransferError(14),
opFileChecksumError(15),
opNoMemory(16),
opAuthFail(17),
opTimeout(18),
opUnknownFailure(19),
opDeleteFileOpenError(20),
opDeleteInvalidDevice(21),
opDeleteInvalidFunction(22),
opDeleteOperationError(23),
opDeleteInvalidFileName(24),
opDeleteDeviceBusy(25),
opDeleteParaError(26),
opDeleteInvalidPath(27),
opDeleteFileNotExistInSlave(28),
opDeleteFileFailedInSlave(29),
opSlaveFull(30),
opCopyToSlaveFailure(31)
}
H3cFlashPartitionUpgradeMode ::= TEXTUAL-CONVENTION
STATUS current
DESCRIPTION
"
Flash partition upgrade method, i.e., method by which
new files can be downloaded into the partition.
FLH stands for Flash Load Helper, a feature provided
on run-from-Flash systems for upgrading Flash. This
feature uses the bootstrap code in ROMs to help in
automatic download.
This object should be retrieved if the partition
status is runFromFlash(2).
If the partition status is readOnly(1), the upgrade
method would depend on the reason for the readOnly
status. For example, it may simply be a matter of installing
the programming jumper, or it may require execution of a
later version of software that supports the Flash chips.
unknown - the current system image does not know
how Flash can be programmed. A possible
method would be to reload the ROM image
and perform the upgrade manually.
rxbootFLH - the Flash Load Helper is available to
download files to Flash. A copy-to-flash
command can be used and this system image
will automatically reload the Rxboot image
in ROM and direct it to carry out the
download request.
direct - will be done directly by this image.
"
SYNTAX INTEGER
{
unknown(1),
rxbootFLH(2),
direct(3)
}
H3cFlashPartitionStatus ::= TEXTUAL-CONVENTION
STATUS current
DESCRIPTION
"If device is not programmable the value of it will be
'readOnly'; If the current image is running from
this partition the value of it will be 'runFromFlash'
If device is programmable the value of it will be 'readWrite'.
"
SYNTAX INTEGER
{
readOnly(1),
runFromFlash(2),
readWrite(3)
}
--
-- Node definitions
--
h3cFlashManMIBObjects OBJECT IDENTIFIER ::= { h3cFlash 1 }
-- The flash device information.
h3cFlashDevice OBJECT IDENTIFIER ::= { h3cFlashManMIBObjects 1 }
h3cFlhSupportNum OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"
Specifies the total number of flash which the
system supported.
The MIB should not be loaded if there is no flash
in the system and so the value here will be a
minimum of 1.
"
::= { h3cFlashDevice 1 }
h3cFlashTable OBJECT-TYPE
SYNTAX SEQUENCE OF H3cFlashEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"
This table gives the properties of all the flashes on
the system.
"
::= { h3cFlashDevice 2 }
h3cFlashEntry OBJECT-TYPE
SYNTAX H3cFlashEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The entry of h3cFlashTable."
INDEX { h3cFlhIndex }
::= { h3cFlashTable 1 }
H3cFlashEntry ::=
SEQUENCE {
h3cFlhIndex Integer32,
h3cFlhSize Integer32,
h3cFlhPos PhysicalIndex,
h3cFlhName DisplayString,
h3cFlhChipNum Integer32,
h3cFlhDescr DisplayString,
h3cFlhInitTime TimeStamp,
h3cFlhRemovable TruthValue,
h3cFlhPartitionBool TruthValue,
h3cFlhMinPartitionSize Integer32,
h3cFlhMaxPartitions Integer32,
h3cFlhPartitionNum Integer32,
h3cFlhKbyteSize Integer32
}
h3cFlhIndex OBJECT-TYPE
SYNTAX Integer32 (1..2147483647)
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"
The index of h3cFlashTable. There are two parts for this index
depicted as follows:
31 15 0
+++++++++++++++++++++++++++++++++++++++++
+ entity index + random index +
+ ( bit 16..31 ) ( bit 0..15 ) +
+++++++++++++++++++++++++++++++++++++++++
From bit0 to bit15 (two bytes), it has a minimum value of 1, and
maximum value of the same as the value of h3cFlhSupportNum.
From bit16 to bit31 (two bytes), it is the physical index the same as the
entPhysicalIndex specified in ENTITY-MIB.
"
::= { h3cFlashEntry 1 }
h3cFlhSize OBJECT-TYPE
SYNTAX Integer32
UNITS "bytes"
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"
Specifies the total size of the flash device indexed
by h3cFlhIndex. The value should be zero if the flash is
removed for a removable device.
"
::= { h3cFlashEntry 2 }
h3cFlhPos OBJECT-TYPE
SYNTAX PhysicalIndex
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"
The position of the flash device in system. This object is
an index of entPhysicalTable in ENTITY-MIB.
If the value of this object is 0,
the main processor is indicated.
"
::= { h3cFlashEntry 3 }
h3cFlhName OBJECT-TYPE
SYNTAX DisplayString (SIZE (0..255))
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The flash name within the system."
::= { h3cFlashEntry 4 }
h3cFlhChipNum OBJECT-TYPE
SYNTAX Integer32 (1..64)
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The chip numbers in the flash."
::= { h3cFlashEntry 5 }
h3cFlhDescr OBJECT-TYPE
SYNTAX DisplayString (SIZE (0..64))
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Description of the purpose of the flash in the system."
::= { h3cFlashEntry 6 }
h3cFlhInitTime OBJECT-TYPE
SYNTAX TimeStamp
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"
The initialization time for the flash component or partition,
recorded using the system time. This will be the boot time for
a fixed device. For a removable component or a partition,
it will be the initialization time.
"
::= { h3cFlashEntry 8 }
h3cFlhRemovable OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"
The value indicates whether the flash indexed can be removed
or not.
The true(1) value indicates the flash device CAN be removed.
"
::= { h3cFlashEntry 9 }
h3cFlhPartitionBool OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"
The value indicates whether the flash indexed can be partitioned
or not.
The true(1) value indicates the flash CAN be partitioned.
"
::= { h3cFlashEntry 11 }
h3cFlhMinPartitionSize OBJECT-TYPE
SYNTAX Integer32
UNITS "bytes"
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"
Minimum partition size supported.
If h3cFlhDevicePartitionBool is false, the value
of this object is the same as h3cFlhSize.
"
::= { h3cFlashEntry 12 }
h3cFlhMaxPartitions OBJECT-TYPE
SYNTAX Integer32 (1..8)
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"
The maximum count of partitions which the system supports
for this flash. If h3cFlhPartitionBool is false,
the object value is 1.
"
::= { h3cFlashEntry 13 }
h3cFlhPartitionNum OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"
The actual number of partitions supported by the system for
this flash. If h3cFlhPartitionBool is false, this value is 1.
"
::= { h3cFlashEntry 14 }
h3cFlhKbyteSize OBJECT-TYPE
SYNTAX Integer32
UNITS "kbytes"
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"
Specifies the total size of the flash device indexed
by h3cFlhIndex. The value should be zero if the flash is
removed for a removable device.
"
::= { h3cFlashEntry 15 }
h3cFlashChips OBJECT IDENTIFIER ::= { h3cFlashDevice 3 }
h3cFlhChipTable OBJECT-TYPE
SYNTAX SEQUENCE OF H3cFlhChipEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"
Table of properties for all flash chips.
Used mainly for diagnostics.
"
::= { h3cFlashChips 1 }
h3cFlhChipEntry OBJECT-TYPE
SYNTAX H3cFlhChipEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The entry of h3cFlhChipTable"
INDEX { h3cFlhIndex, h3cFlhChipSerialNo }
::= { h3cFlhChipTable 1 }
H3cFlhChipEntry ::=
SEQUENCE {
h3cFlhChipSerialNo Integer32,
h3cFlhChipID DisplayString,
h3cFlhChipDescr DisplayString,
h3cFlhChipWriteTimesLimit Integer32,
h3cFlhChipWriteTimes Counter32,
h3cFlhChipEraseTimesLimit Integer32,
h3cFlhChipEraseTimes Counter32
}
h3cFlhChipSerialNo OBJECT-TYPE
SYNTAX Integer32 (1..64)
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Index of h3cFlhChipTable."
::= { h3cFlhChipEntry 1 }
h3cFlhChipID OBJECT-TYPE
SYNTAX DisplayString (SIZE (0..5))
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"
The manufacturer code (the upper byte) and
device code (the lower byte) for a chip.
Unknown chip code is presented as 00:00.
"
::= { h3cFlhChipEntry 2 }
h3cFlhChipDescr OBJECT-TYPE
SYNTAX DisplayString (SIZE (0..32))
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"
The description of the flash chip.
"
::= { h3cFlhChipEntry 3 }
h3cFlhChipWriteTimesLimit OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"
The limit for the number of write times (retries)
for a flash chip. If the limit
is exceeded an error should be reported by the management
station.
"
::= { h3cFlhChipEntry 4 }
h3cFlhChipWriteTimes OBJECT-TYPE
SYNTAX Counter32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"
A count of write times (retries) for the flash chip since
initialization.
A count of 25 or more for a single chip indicates a write error.
Management stations should note the value of this MIB before and
after a write operation,
and report any errors accordingly.
"
::= { h3cFlhChipEntry 5 }
h3cFlhChipEraseTimesLimit OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"
The limit for the number of erase times (retries) for a flash
chip.
If the limit is exceeded an error should be reported by the
management station.
"
::= { h3cFlhChipEntry 6 }
h3cFlhChipEraseTimes OBJECT-TYPE
SYNTAX Counter32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"
A count of erase times (retries) for the flash chip since
initialization.
A count of 2000 or more for a single chip indicates a write
error.
Management stations should note the value of this MIB before and
after an erase operation, and report any errors accordingly.
"
::= { h3cFlhChipEntry 7 }
h3cFlashPartitions OBJECT IDENTIFIER ::= { h3cFlashDevice 4 }
h3cFlhPartitionTable OBJECT-TYPE
SYNTAX SEQUENCE OF H3cFlhPartitionEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"
Properties for the flash partitions. Minimum of one entry in
this table.
"
::= { h3cFlashPartitions 1 }
h3cFlhPartitionEntry OBJECT-TYPE
SYNTAX H3cFlhPartitionEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"
An entry of the h3cFlhPartitionTable.Indexed by flash
number and partition number.
"
INDEX { h3cFlhIndex, h3cFlhPartIndex }
::= { h3cFlhPartitionTable 1 }
H3cFlhPartitionEntry ::=
SEQUENCE {
h3cFlhPartIndex Integer32,
h3cFlhPartFirstChip Integer32,
h3cFlhPartLastChip Integer32,
h3cFlhPartSpace Integer32,
h3cFlhPartSpaceFree Gauge32,
h3cFlhPartFileNum Integer32,
h3cFlhPartChecksumMethod INTEGER,
h3cFlhPartStatus H3cFlashPartitionStatus,
h3cFlhPartUpgradeMode H3cFlashPartitionUpgradeMode,
h3cFlhPartName DisplayString,
h3cFlhPartRequireErase TruthValue,
h3cFlhPartFileNameLen Integer32
}
h3cFlhPartIndex OBJECT-TYPE
SYNTAX Integer32 (1..8)
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"
An index which specifies a sequenced partition in the system.
"
::= { h3cFlhPartitionEntry 1 }
h3cFlhPartFirstChip OBJECT-TYPE
SYNTAX Integer32 (1..64)
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"
The first chip's sequence number in the
partition, by which a chip can be indexed in
chip table.
"
::= { h3cFlhPartitionEntry 2 }
h3cFlhPartLastChip OBJECT-TYPE
SYNTAX Integer32 (1..64)
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"
The last chip's sequence number in the
partition, by which a chip can be indexed in
chip table.
"
::= { h3cFlhPartitionEntry 3 }
h3cFlhPartSpace OBJECT-TYPE
SYNTAX Integer32
UNITS "bytes"
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"
The total space of the flash partition.
The following should be satisfied:
h3cFlhPartSpace = n*h3cFlhMinPartitionSize
"
::= { h3cFlhPartitionEntry 4 }
h3cFlhPartSpaceFree OBJECT-TYPE
SYNTAX Gauge32
UNITS "bytes"
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The flash partition's free space."
::= { h3cFlhPartitionEntry 5 }
h3cFlhPartFileNum OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The number of all the files in the flash partition."
::= { h3cFlhPartitionEntry 6 }
h3cFlhPartChecksumMethod OBJECT-TYPE
SYNTAX INTEGER
{
simpleChecksum(1),
undefined(2),
simpleCRC(3)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The Checksum method which the file system uses."
::= { h3cFlhPartitionEntry 7 }
h3cFlhPartStatus OBJECT-TYPE
SYNTAX H3cFlashPartitionStatus
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The flash partition status."
::= { h3cFlhPartitionEntry 8 }
h3cFlhPartUpgradeMode OBJECT-TYPE
SYNTAX H3cFlashPartitionUpgradeMode
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The upgrade mode of the Flash partition"
::= { h3cFlhPartitionEntry 9 }
h3cFlhPartName OBJECT-TYPE
SYNTAX DisplayString (SIZE (0..255))
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The name of the flash partition given by the system."
::= { h3cFlhPartitionEntry 10 }
h3cFlhPartRequireErase OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"
Shows whether a write operation is conditional on partition
erase.
"
::= { h3cFlhPartitionEntry 11 }
h3cFlhPartFileNameLen OBJECT-TYPE
SYNTAX Integer32 (1..256)
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The maximum length of file name supported in the system."
::= { h3cFlhPartitionEntry 12 }
h3cFlhFiles OBJECT IDENTIFIER ::= { h3cFlashPartitions 2 }
h3cFlhFileTable OBJECT-TYPE
SYNTAX SEQUENCE OF H3cFlhFileEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Table of file information."
::= { h3cFlhFiles 1 }
h3cFlhFileEntry OBJECT-TYPE
SYNTAX H3cFlhFileEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"
An entry representing a file. Indexed using flash number,
partition number, and file number.
"
INDEX { h3cFlhIndex, h3cFlhPartIndex, h3cFlhFileIndex }
::= { h3cFlhFileTable 1 }
H3cFlhFileEntry ::=
SEQUENCE {
h3cFlhFileIndex Integer32,
h3cFlhFileName DisplayString,
h3cFlhFileSize Integer32,
h3cFlhFileStatus INTEGER,
h3cFlhFileChecksum OCTET STRING
}
h3cFlhFileIndex OBJECT-TYPE
SYNTAX Integer32 (1..2147483647)
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Index of the table, whose range is from 1 to 2147483647"
::= { h3cFlhFileEntry 1 }
h3cFlhFileName OBJECT-TYPE
SYNTAX DisplayString (SIZE (1..255))
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"A valid file name supported by the file system."
::= { h3cFlhFileEntry 2 }
h3cFlhFileSize OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"
The file size in bytes excluding the file
header of file system. The value should be greater than zero.
"
::= { h3cFlhFileEntry 3 }
h3cFlhFileStatus OBJECT-TYPE
SYNTAX INTEGER
{
deleted(1),
invalidChecksum(2),
valid(3)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"
The status should be as follows:
deleted(1): The file is in recycle bin.
invalidChecksum(2): The checksum of file is invalid;
valid(3): A valid file.
"
::= { h3cFlhFileEntry 4 }
h3cFlhFileChecksum OBJECT-TYPE
SYNTAX OCTET STRING
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The file checksum in the header of file."
::= { h3cFlhFileEntry 5 }
-- The operation on the flash.
h3cFlashOperate OBJECT IDENTIFIER ::= { h3cFlashManMIBObjects 2 }
h3cFlhOpTable OBJECT-TYPE
SYNTAX SEQUENCE OF H3cFlhOpEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Table used to operate flash."
::= { h3cFlashOperate 1 }
h3cFlhOpEntry OBJECT-TYPE
SYNTAX H3cFlhOpEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"
Note an operation can not be stopped until it is finished.
If notification is configured, NMS will receive a notification
at the end of the operation.
Entries in the table will be removed automatically in 5 minutes.
It can also be deleted by NMS directly.
"
INDEX { h3cFlhOperIndex }
::= { h3cFlhOpTable 1 }
H3cFlhOpEntry ::=
SEQUENCE {
h3cFlhOperIndex Integer32,
h3cFlhOperType INTEGER,
h3cFlhOperProtocol INTEGER,
h3cFlhOperServerAddress IpAddress,
h3cFlhOperServerUser DisplayString,
h3cFlhOperPassword DisplayString,
h3cFlhOperSourceFile DisplayString,
h3cFlhOperDestinationFile DisplayString,
h3cFlhOperStatus H3cFlashOperationStatus,
h3cFlhOperEndNotification TruthValue,
h3cFlhOperProgress TimeTicks,
h3cFlhOperRowStatus RowStatus,
h3cFlhOperServerPort Integer32,
h3cFlhOperFailReason DisplayString,
h3cFlhOperSrvAddrType InetAddressType,
h3cFlhOperSrvAddrRev InetAddress,
h3cFlhOperSrvVPNName DisplayString
}
h3cFlhOperIndex OBJECT-TYPE
SYNTAX Integer32 (1..2147483647)
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"
Specifies the index of an entry. It is a
random value when creating an entry.
"
::= { h3cFlhOpEntry 1 }
h3cFlhOperType OBJECT-TYPE
SYNTAX INTEGER
{
net2FlashWithErase(1),
net2FlashWithoutErase(2),
flash2Net(3),
delete(4),
rename(5)
}
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"
Specifies the operation to be executed.
net2FlashWithErase Copy a file to flash; erase
flash beforehand.
net2FlashWithoutErase Copy a file to flash; do not erase flash
beforehand.
flash2Net Copy a file from flash.
delete Delete a file from flash, the file name is
specified by h3cFlhOperSourceFile;
rename Change a file's name.
"
::= { h3cFlhOpEntry 2 }
h3cFlhOperProtocol OBJECT-TYPE
SYNTAX INTEGER
{
ftp(1),
tftp(2),
clusterftp(3),
clustertftp(4)
}
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"
Specifies the protocol used to transfer file.
The default protocol is ftp.
when 'clusterftp' or 'clustertftp' is selected,
the h3cFlhOperServerAddress needn't be set,
the server address can be acquired automatically, the value of
h3cFlhOperServerAddress is uncertain during operation.
Both member switch and commander switch can use them if they
support HGMP v2.
"
DEFVAL { ftp }
::= { h3cFlhOpEntry 3 }
h3cFlhOperServerAddress OBJECT-TYPE
SYNTAX IpAddress
MAX-ACCESS read-create
STATUS deprecated
DESCRIPTION
"
The address of remote host acting as server for operation.
The default value is 255.255.255.255
This object is replaced by h3cFlhOperSrvAddrRev for it only support IPv4.
"
DEFVAL { 'FFFFFFFF'h }
::= { h3cFlhOpEntry 4 }
h3cFlhOperServerUser OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"
When using ftp to transfer files, the user name must be
specified through this node.
"
::= { h3cFlhOpEntry 5 }
h3cFlhOperPassword OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-create
STATUS current
DESCRIPTION
"
Remote user password for copying via ftp protocol. Optionally,
This object may be ignored for protocols other than ftp. "