26
x900 Series Switch and SwitchBlade
®
x908
C613-03092-00 REV J
The following figure is an example of output from the show cflash test
command when no test is running.
Testing a CFlash card
It is important to fully test the hardware interface of the switch to the CFlash
card. This test consists of reading vendor information and reading and writing
to every part of the card.
To test the card, insert it in the CF slot and enter the command:
enable cflash test start=
startnumber
end=
endnumber
where startnumber and endnumber are positive integers within a cluster range.
The end number must be higher than the start number. Cluster ranges are
displayed in the output of the show cflash test command.
The test software reads the file allocation table and displays a list of free
sectors. Sectors can be tested as single sectors or as a range. The test consists of
a write/read/verify cycle.
To stop the test, use the disable cflash test command. To display test results
while a test is in process, enter the show cflash test command. Also, use this
command when testing is not active to display the blank clusters range on the
card.
The following is example output from the show cflash test command when a
test is running.
Error messages are displayed when a file write fails. Failure could be because
of the card being removed or an error in the card itself. For more information
about these test commands and others for CFlash, see the Managing the File
System chapter in the AlliedWare
®
Operating System Software Reference.
Clusters available for testing
Ranges:
[42645--61944]
Number of free clusters = 19300
Number of ranges = 1
Number of used clusters = 42645
Test Progress
Starting cluster = 700
Ending cluster = 1700
Current cluster = 1185
Passed clusters number = 485
Passed sectors number = 1940
Failed clusters number = 0
Failed sectors number = 0
Used Clusters encountered = 0
Duration................ 4417 ms