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
  • 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.
Syntax:
keycfg [-options]
Table 1. keycfg options
OptionDescriptionValues
-addAdd activation key
  • -ip: IP address of TFTP/SFTP server with activation key to add
  • -pn: Port number for TFTP/SFTP server with activation key to add (default 69/22)
  • -u: User name for SFTP server with activation key to add
  • -pw: Password for SFTP server with activation key to add
  • -f: Filename for activation key to add
-delDelete activation key by index numberValid activation key index number from keycfg listing
-deltypeDelete activation key by key typeValid key type value

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.

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.