Key commands

Key mode provides the commands to create or modify a key object.

To enter the mode, use the crypto key command. To delete a key object, use the no key command.

While in this mode, use the commands in the following table to define the key object.

  • To view the current configuration, use the show command.
  • To restore default values, use the reset command.
  • To exit this configuration mode without saving changes to the running configuration, use the cancel command.
  • To exit this configuration mode and save changes to the running configuration, use the exit command.
Table 1. Key commands
Command Purpose
admin-state This command sets the administrative state for the configuration.
file-name This command specifies the location of the file that defines the private key.
password-alias This command specifies the password alias to access the key file for the private key.
summary This command specifies the brief, descriptive summary for the object instance.