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.
Option | Description | Values |
---|---|---|
-add | Add activation key | Values for the -ip, -pn, -u, -pw, and -f command options |
-ip | IP address of TFTP server with activation key to add | Valid IP address for TFTP server |
-pn | Port number for TFTP/SFTP server with activation key to add | Valid port number for TFTP/SFTP server (default 69/22) |
-u | User name for SFTP server with activation key to add | Valid user name for SFTP server |
-pw | Password for SFTP server with activation key to add | Valid password for SFTP server |
-f | File name for activation key to add | Valid file name for activation key file |
-del | Delete activation key by index number | Valid activation key index number from keycfg listing |
-deltype | Delete activation key by key type | Valid 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.
Give documentation feedback