HP VPN Firewall Appliances System Management and Maintenance Command Reference

30
# Return to the upper directory. (A space is required after the keyword cd.)
<Sysname> cd ..
# Return to the root directory.
<Sysname> cd /
After you change the current directory by using the cd command, you can use the pwd command to view
the path of the current working directory.
copy
Use copy to copy a file.
Syntax
copy fileurl-source fileurl-dest
Views
User view
Default command level
3: Manage level
Parameters
fileurl-source: Name of the source file.
fileurl-dest: Name of the target file or folder.
Usage guidelines
If you specify a target folder, the system will copy the file to the specified folder and use the name of the
source file as the file name.
Examples
# Copy file testcfg.cfg in the current folder and save it as testbackup.cfg.
<Sysname> copy testcfg.cfg testbackup.cfg
Copy cfa0:/test.cfg to cfa0:/testbackup.cfg?[Y/N]:y
....
%Copy file cfa0:/test.cfg to cfa0:/testbackup.cfg...Done.
crypto-digest
Syntax
crypto-digest sha256 file file-url
View
User view
Default level
2: System level
Parameters
sha256: Specifies the SHA-256 algorithm.
file file-url: Name of a file.