Home >

Lunacm Command Reference Guide > LunaCM Commands > hsm > hsm factoryreset

hsm factoryreset

Reset the HSM to its factory configuration. Use this command to set the HSM back to factory default settings, clearing all contents (puts HSM in zeroized state). Because this is a destructive command, the user is asked to “proceed” unless the -force switch is provided at the command line. This command can be performed only at the local serial console.

Note:  This command resets settings and configuration, but does not perform firmware rollback and does not uninstall Capability Updates that have been installed since the HSM came from the factory.

Syntax

hsm factoryReset [-force]

Parameter Shortcut Description
-force -f Force the action without prompts. If this option is included in the list, the HSM will be zeroized without prompting the user for a confirmation of this destructive command.

Example

lunacm:>hsm factoryReset
 
CAUTION:  Are you sure you wish to reset this HSM to factory
default settings? All partitions and data will be erased
and HSM policies will be reverted to factory settings.
 
Type 'proceed' to return the HSM to factory default, or
'quit' to quit now.
 
> proceed
 
Command Result : 0 (success)