Verifying File Integrity; Batch Operations; Storage Medium Operations; Managing The Space Of A Storage Medium - HP 5120 series Configuration Manual

Gigabit ethernet switches
Table of Contents

Advertisement

To do...
Delete the file in the current
directory and in the recycle bin

Verifying file integrity

The digest of a file can be used to verify the file integrity. For example, you can calculate the digest of a
software image file and compare it with that the file digest provided on the HP website to verify whether
the file has been tampered with.
To do...
Verify the correctness
and integrity of a file.

Batch operations

A batch file is a set of executable commands. Executing a batch file is the same as executing the
commands in the batch file one by one.
Before executing a batch file, edit the batch file on your PC, and then download the batch file to the
device. If the suffix of the file is not .bat, use the rename command to change the suffix to .bat.
Follow these steps to execute a batch file:
To do...
Enter system view
Execute a batch file
CAUTION:
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 satisfied, this command
fails to be executed, and the system skips the command to the next one.

Storage medium operations

Managing the space of a storage medium

When the space of a storage medium becomes inaccessible due to abnormal operations, you can use
the fixdisk command to restore it. The execution of the format command formats the storage medium,
and all the data on the storage medium is deleted.
Use the following commands to manage the space of a storage medium:
Use the command...
reset recycle-bin [ /force ]
Use the command...
crypto-digest sha256 file file-url
Use the command...
system-view
execute filename
103
Remarks
Required
Available in user view
Remarks
Available in user view
Remarks
Required

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents