R3303-HP HSR6800 Routers Security Command Reference

231
Press CTRL+C to abort.
Input the bits of the modulus[default = 1024]:
Generating Keys...
++++++++++++++++
+++++++
+++++++++
+++
Related commands
public-key local destroy
display public-key local public
public-key local destroy
Use public-key local destroy to destroy a local asymmetric key pair.
Syntax
public-key local destroy { dsa | rsa } [ name key-name ]
Views
System view
Default command level
2: System level
Parameters
dsa: Specifies the DSA key pair.
rsa: Specifies the RSA key pair.
name key-name: Specifies a local key pair by its name. The key-name argument is a case-insensitive
string of 1 to 64 characters, including letters, digits, and hyphens (-). If no name is specified, the
command destroys default key pair of the specified type.
Examples
# Destroy the local RSA key pair with the default name.
<Sysname> system-view
[Sysname] public-key local destroy rsa
Warning: Confirm to destroy these keys? [Y/N]:y
# Destroy the local DSA key pair with the default name.
<Sysname> system-view
[Sysname] public-key local destroy dsa
Warning: Confirm to destroy these keys? [Y/N] :y
# Destroy the local RSA key pair named rsa1.
<Sysname> system-view
[Sysname] public-key local destroy rsa name rsa1
Warning: Destroy the key pair. Continue? [Y/N]:y
Related commands
public-key local create