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

35
To verify the integrity of a file, calculate the digest of the file and compare the result with that from an
authorized source, for example, the digest of the file advertised on HP Web pages.
Examples
# Calculate the digest of file cc.cfg.
<Sysname> crypto-digest sha256 cc.cfg
Computing digest...
SHA256 digest(cc.cfg)=
7bcb92458222f91f9a09a807c4c4567efd4d5dc4e4abc06c2a741df7045433eb
delete
Syntax
delete [ /unreserved ] file-url
View
User view
Default level
3: Manage level
Parameters
/unreserved: Permanently deletes the specified file, and the deleted file can never be restored.
file-url: Name of the file to be deleted. Asterisks (*) are acceptable as wildcards. For example, to remove
files with the extension of .txt in the current directory, you may use the delete *.txt command.
Description
Use delete file-url to temporarily delete a file. The deleted file is saved in the recycle bin. To restore it, use
the undelete command.
The dir /all command displays the files deleted from the current directory and moved to the recycle bin.
These files are enclosed in pairs of square brackets [ ]. To remove the files from the recycle bin, use the
reset recycle-bin command.
The delete /unreserved file-url command permanently deletes a file, and the deleted file cannot be
restored. Use it with caution.
CAUTION:
If you delete two files with the same filename in different directories, only the last one is retained in the
recycle bin.
Examples
# Remove file tt.cfg from the current directory.
<Sysname> delete tt.cfg
Delete flash0:/tt.cfg? [Y/N]:y
.
%Delete file flash0:/tt.cfg...Done.