Destroy enco key, Alliedware plus command – Allied Telesis AT-S63 User Manual

Page 770

Advertising
background image

Chapter 41: Encryption Key Commands

770

Section IX: Management Security

DESTROY ENCO KEY

Syntax

destroy enco key=

key-id

Parameter

key

Specifies the ID number of the key pair to be deleted
from the key database.

Description

This command deletes an encryption key pair from the key database. This
command also deletes a key’s corresponding ”.UKF” file from the file
system. After a key pair is deleted, any SSL certificate created using the
public key of the key pair will be invalid and cannot be used to manage the
switch. To view the keys, see “SHOW ENCO” on page 772.

You cannot delete a key pair if it is being used by SSL or SSH. You must
first either disable the SSL or SSH server software on the switch or
reconfigure the software by specifying another key.

Example

The following command destroys the encryption key pair with the key ID 4:

destroy enco key=4

AlliedWare Plus

Command

Syntax

no crypto key pubkey-chain knownhosts

key-id

Mode

Configure mode

Description

This AlliedWare Plus command is identical to the standard command.

Example

This example deletes the encryption key pair with the key ID 5:

awplus> enable
awplus# configure terminal
awplus(config)# no crypto key pubkey-chain knownhosts 5

Command

Available

AlliedWare Plus

Advertising