Skip to main content

keycfg command

Use this command to display, add, or delete activation keys.

Activation keys control access to optional IMM functionality.
Note
  • When the keycfg command is run without any options, the list of installed activation keys is displayed. Key information displayed includes an index number for each activation key, the type of activation key, the date through which the key is valid, the number of uses remaining, the key status, and a key description.
  • Add new activation keys through file transfer.
  • Delete old keys by specifying the number of the key or the type of key. When deleting keys by type, only the first key of a given type is deleted.

The following table shows the arguments for the options.

Table 1. keycfg command.

The following table is a multi-row three column table consisting of the options, option descriptions, and associated values for the options.

OptionDescriptionValues
-addAdd activation keyValues for the -ip, -pn, -u, -pw, and -f command options
-ipIP address of TFTP server with activation key to addValid IP address for TFTP server
-pnPort number for TFTP/SFTP server with activation key to addValid port number for TFTP/SFTP server (default 69/22)
-uUser name for SFTP server with activation key to addValid user name for SFTP server
-pwPassword for SFTP server with activation key to addValid password for SFTP server
-fFile name for activation key to addValid file name for activation key file
-delDelete activation key by index numberValid activation key index number from keycfg listing
-deltypeDelete activation key by key typeValid key type value
Syntax:
keycfg [options]
option:
-add
-ip tftp/sftp server ip address
-pn pn port number of tftp/sftp server (default 69/22)
-u username for sftp server
-pw password for sftp server
-f filename
-del n ( where n is a valid ID number from listing)
-deltype x ( where x is a Type value)
Example:
system> keycfg
ID Type Valid Uses Status Description
1 4 10/10/2010 5 "valid" "IMM remote presence"
2 3 10/20/2010 2 "valid" "IMM feature
3 32796 NO CONSTRAINTS NO CONSTRAINTS "valid" "IBM Security Key Lifecycle Manager for SEDs FoD"
system>
Note
The Description field for ID number 3 is displayed on separate lines due to space limitations.