Telnet and SSH Commands
crypto key generate
Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x
467
38
Organization Name (eg, company) [Internet Widgits Pty Ltd]:
Organizational Unit Name (eg, section) []:
Common Name (eg, YOUR name) []:
Email Address []:
crypto key generate
To create a public and private DSA key (DSA key pair) or a public and private RSA
key (RSA key pair), use the crypto key generate Global Configuration mode
command.
Syntax
crypto key generate {dsa | rsa}
Parameters
•
dsa—Creates a DSA key pair.
•
rsa—Creates a RSA key pair.
Default Configuration
N/A
Command Mode
Global Configuration mode
User Guidelines
DSA keys are generated in pairs—one public DSA key and one private DSA key. If
the switch already has DSA keys, a warning is displayed with a prompt to replace
the existing keys with new keys.
RSA keys are generated in pairs—one public RSA key and one private RSA key. If
the switch already has RSA keys, a warning is displayed with a prompt to replace
the existing keys with new keys.
This command is not saved in the Running Configuration file. However, the keys
generated by this command are saved in a private configuration (which is never
displayed to the user or saved to another device).