sysconf config clear
Deletes all the configuration backup files in the file system, in the internal HSM, or in an external backup token. This command does not delete the initial factory configuration file in the file system.
If the -devicetype parameter is not specified, the files in the file system are deleted.
-serialnumber is required if -devicetype is "token" and optional if -devicetype is "hsm".
-serialnumber is not required and is ignored if -devicetype is not specified.
SO login is required before running this command if -devicetype is "hsm" or "token".
User Privileges
Users with the following privileges can perform this command:
>Admin
Syntax
sysconf config clear [-force] [-devicetype <devicetype>] [-serialnumber <serialnum>]
Argument(s) | Shortcut | Description |
---|---|---|
-devicetype <devicetype> | -d |
Specifies whether to delete configuration backup files in the internal HSM or an external backup token. Valid values: hsm,token |
-force | -f | Force the action without prompting. |
-serialnumber <serialnum> | -s |
Specifies the serial number of the token where backup files are to be deleted. Required if -devicetype is "token", optional if "hsm". |
Example
lunash:>sysconf config clear WARNING !! This command deletes all the configuration backup files except the initial factory configuration file. If you are sure that you wish to proceed, then type 'proceed', otherwise type 'quit'. > proceed Proceeding... Command Result : 0 (Success)