Destroying a local key pair

To avoid key compromise, destroy the local key pair and generate a new pair after any of the following conditions occurs:

To destroy a local key pair:

Step

Command

1. Enter system view.

system-view

2. Destroy a local key pair.

public-key local destroy { dsa | ecdsa | rsa } [ name key-name ]