12
AT-9800 Series Switch
C613-03059-00 REV F
Testing a CompactFlash card
To display information about the basic state of a CompactFlash card, including
card size, file count and serial number, insert the card and enter the command:
show cflash
To display cluster ranges on a card, insert the card and enter the command:
show cflash test
The following figure is an example of output from the
show cflash test
command when no test is running.
To test a card, insert the card and enter the command:
enable cflash test start=startnumber end=endnumber
where
startnumber
and
endnumber
are positive integers within a cluster range.
The
endnumber
must be higher than the
startnumber
. Cluster ranges are
displayed in the output of the
show cflash test
command.
The test software will read the file allocation table and display a list of free
sectors. Sectors can be tested as single sectors or as a range. The test will consist
of a write/read/verify cycle.
To stop the test, use the command:
disable cflash test
To display the test status while a test is in progress, use the command:
show cflash test
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 due to the
card being removed or an error in the card.
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