14 key type, 15 reset – CANOGA PERKINS 9171 Command Reference User Manual
Page 680

CanogaOS Command Reference
40-9
Usage
Use the key string end command to exit the rsa key configuration mode.
Examples
The following example shows exit the rsa key configuration mode :
Switch(config)# rsa key KEY1
Switch(config-rsa-key)# key string end
Switch(config)#
Related Commands
rsa key
40.14 key type
To specify the key type, use the key type command in RSA key configuration mode.
Command Syntax
key type {public | private}
public
Specify key type as public key.
private
Specify key type as private key.
Command Mode
Rsa key configuration
Usage
Use the key type command to specify the type of the key.
Examples
The following example specifies the key type of KEY1 as public key:
Switch(config)# rsa key KEY1
Switch(config-rsa-key)# key type public
Related Commands
rsa key
40.15 reset
To clear all key configurations, use the reset command in RSA key configuration mode.
Command Syntax
reset