HP VPN Firewall Appliances System Management and Maintenance Configuration Guide

28
Hardware Feature com
p
atible
F1000-A-EI/F1000-S-EI Yes
F1000-E No
F5000 No
F5000-S/F5000-C No
VPN firewall modules No
20-Gbps VPN firewall modules No
The physical space of the NAND Flash memory is divided into multiple blocks, each of which is
subdivided into multiple pages. The NAND Flash memory is erased on a block basis and read on a
page basis; the memory spaces are allocated on a page basis.
Displaying and repairing bad blocks
Bad block ratio varies with products of different vendors. Bad blocks cannot be used to store data, and
the system has to skip the bad blocks when it allocates storage spaces to files. You can get the locations
of bad blocks and repair them at the CLI.
To display and repair bad blocks:
Ste
Command
Remarks
1. Display the number and
location of bad blocks in the
NAND Flash memory.
display nandflash badblock-location
[ | { begin | exclude | include }
regular-expression ]
Available in any view.
2. Repair bad blocks.
fixdisk medium-name Available in user view.
Checking files
After files are written to the NAND Flash memory, use the following commands together to check the
content of these files.
To check files, execute one of the following commands in any view:
Task Command
Display the space distribution of the specified file in
the NAND Flash memory
display nandflash file-location filename [ | { begin |
exclude | include } regular-expression ]
Display data on the specified physical page.
display nandflash page-data page-value [ | { begin |
exclude | include } regular-expression ]
Performing batch operations
A batch file comprises a set of executable commands. Executing a batch file is the same as executing the
commands one by one. However, execution of a batch file does not guarantee successful execution of
every command in the batch file. If a command has error settings or the conditions for executing the
command are not met, the system skips this command.
You can edit a batch file on your PC, and then upload or download it to the device. If the extension of
the file is not .bat, use the rename command to change it to .bat.