public-key local destroy
Syntax
public-key local destroy { dsa | ecdsa | rsa }
View
System view
Default level
2: System level
Parameters
dsa: Specifies the DSA key pair type.
ecdsa: Specifies the ECDSA key pair type.
rsa: Specifies the RSA key pair type.
Description
Use public-key local destroy to destroy the local asymmetric key pairs.
Related commands: public-key local create.
Examples
# Destroy the local RSA key pairs.
<Sysname> system-view [Sysname] public-key local destroy rsa Warning: Confirm to destroy these keys? [Y/N]:y
# Destroy the local DSA key pair.
<Sysname> system-view [Sysname] public-key local destroy dsa Warning: Confirm to destroy these keys? [Y/N] :y