The check file-integrity command checks whether a file is consistent with the corresponding signature file.
Parameter |
Description |
Value |
---|---|---|
filename |
Specifies the name of a file to be checked. The file must exist. |
The value is a string of 4 to 64 case-insensitive characters without spaces. The file name extension can be .cc, .pat, .zip, .mod, or .7z. |
signature-filename |
Specifies the name of the signature file corresponding to the file to be checked. The signature file must exist. |
The value is a string of 5 to 64 case-insensitive characters without spaces. The file name extension must be .asc. |
Usage Scenario
You can run this command to check whether a file is consistent with the corresponding signature file. If the check fails, the file cannot be used as the system software, patch file, web page file, or mod file.
Signature files are released with each version. Each valid system software, patch file, web page file, or mod file has a corresponding signature file. You need to upload the signature file to the switch before using this command.