The ecc local-key-pair destroy command deletes the local Elliptic Curves Cryptography (ECC) keys.
Usage Scenario
If you no longer need the local ECC key pairs, run the ecc local-key-pair destroy command to delete them.
Configuration Impact
After the ecc local-key-pair destroy command is run, the ECC key files on the master and slave main control boards are cleared. Exercise caution when running the command.
Precautions
The ecc local-key-pair create and ecc local-key-pair destroy commands are not saved in the configuration file. They only need to be run once and take effect even after the A string of 1 to 47 case-sensitive characters without any spaces. restarts.
Do not delete the ECC key file from the A string of 1 to 47 case-sensitive characters without any spaces.. If the ECC key file is deleted, the ECC key pair cannot be restored after the A string of 1 to 47 case-sensitive characters without any spaces. is restarted.
# Delete the local ECC host key pair and server key pair.
<sysname> system-view
[sysname] ecc local-key-pair destroy
Info: The name of the key which will be destroyed is sysname_Host_ECC.
Warning: These keys will be destroyed. Continue? [Y/N]:Y
Info: Deleting keys........
Info: Succeeded in destroying the ECC host keys.