R3166-R3206-HP High-End Firewalls System Management and Maintenance Command Reference-6PW101

34
Parameters
device: Name of a storage medium.
FAT16: Formats a storage medium using the FAT16 format. FAT16 does not support Tab matching but
needs to be input completely if used.
FAT32: Formats a storage medium using the FAT32 format. FAT32 does not support Tab matching but
needs to be input completely if used.
Description
Use the format command to format a storage medium.
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.
Examples
# Format the CF card.
<Sysname> format cfa0: FAT16
mkdir
Syntax
mkdir directory
View
User view
Default level
3: Manage level
Parameters
directory: Name of a folder.
Description
Use the mkdir command 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.
To use this command to create a folder, the specified directory must exist. For example, to create folder
cfa0:/test/mytest, the test folder must exist. Otherwise, you will fail to create the mytest folder.
Examples
# Create a folder named test in the current directory.
<Sysname> mkdir test
....
%Created dir cfa0:/test
# Create folder test/subtest in the current directory.
<Sysname> mkdir test/subtest
....