R3721-F3210-F3171-HP High-End Firewalls System Management and Maintenance Command Reference-6PW101

44
Description
Use format to format a storage medium.
To format a partitioned storage medium, you must format each partition by using this command.
CAUTION:
Formatting a storage medium results in loss of all the files on the storage medium and these files cannot be
restored. In particular, if a startup configuration file exists on a storage medium, formatting the storage
medium results in loss of the startup configuration file.
The following matrix shows the keyword and firewall compatibility:
Ke
y
word F1000-A-EI/S-EI
F1000-E
F5000 Firewall module
[ FAT16 | FAT32 ] No Yes Yes Yes
Examples
# Format the flash.
<Sysname> format flash0:
All data on flash0: will be lost, proceed with format? [Y/N]:y
./
%Format flash0: completed.
# Format the CF card by using the FAT16 format when the CF card does not support partitioning.
<Sysname> format cfa0: FAT16
# Format the third partition of the CF card.
<Sysname> format cfa2:
All data on cfa2: will be lost, proceed with format? [Y/N]:y
./
%Format cfa2: completed.
mkdir
Syntax
mkdir directory
View
User view
Default level
3: Manage level
Parameters
directory: Name of a folder.
Description
Use mkdir to create a folder under a specified directory on the storage medium.
The name of the folder to be created must be unique in the specified directory. Otherwise, you will fail
to create the folder in the directory.