Skip to main content

keycfg command

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

Activation keys control access to optional IMM2 Features on Demand (FoD) features.
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 [<em className="ph i">options</em>]
option:
-add
-ip <em className="ph i">ip_address</em>
-pn <em className="ph i">port_number</em>
-u <em className="ph i">username</em>
-pw <em className="ph i">password</em>
-f <em className="ph i">filename</em>
-del <em className="ph i">key_index</em>
-deltype <em className="ph i">key_type</em>
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 System x TKLM
Activation for Secure
Drive Encryption"
system>
Note
The Description field for ID number 3 is displayed on separate lines due to space limitations.