public-key local destroy

Syntax

public-key local destroy { dsa | rsa }

View

System view

Default level

2: System level

Parameters

dsa: DSA key pair.

rsa: RSA key pair.

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