RSA and Certificate Commands
821
OL-32830-01 Command Line Interface Reference Guide
43
Use the no form of the command to remove the user key and generate a new
default in its place.
Syntax
crypto key import {dsa | rsa}
encrypted crypto key import {dsa | rsa}
no crypto key {
dsa
|
rsa
}
Parameters
N/A
Default Configuration
DSA and RSA key pairs do not exist.
Command Mode
Global Configuration mode
User Guidelines
DSA/RSA keys are imported in pairs - one public DSA/RSA key and one private
DSA/RSA key.
If the device already has DSA/RSA keys, a warning is displayed with a prompt to
replace the existing keys with new keys.
This command is saved in the Running Configuration file.
When using the encrypted key-word, the private key is imported in its encrypted
form.
Example
switchxxxxxx(config)#
encrypted crypto key import rsa
---- BEGIN SSH2 ENCRYPTED PRIVATE KEY ----
switchxxxxxx(config)#
encrypted crypto key import rsa
---- BEGIN SSH2 ENCRYPTED PRIVATE KEY ----
Comment: RSA Private Key
84et9C2XUfcRlpemuGINAygnLwfkKJcDM6m2OReALHScqqLhi0wMSSYNlT1IWFZP1kEVHH
Fpt1aECZi7HfGLcp1HaXBtQjPDiEtbpScXqrg6ml1/OEnwpFK2TrmUy0Iifwk8
Summary of Contents for 300 Series
Page 2: ......