storekeycfg command
Use this command to configure the hostname or IP address and network port for a SKLM server.
You can configure up to four SKLM server targets. The storekeycfg command is also used to install and remove the certificates that are used by the IMM2 for authentication to the SKLM server.
The following table shows the arguments for the options.
Option | Description | Values |
---|---|---|
-add | Add the activation key | Values are -ip, -pn, -u, -pw, and -f command options |
-ip | Host name or IP address for the TFTP/SFTP server | Valid host name or IP address for TFTP/SFTP server |
-pn | Port number of the TFTP or SFTP server | Valid port number for TFTP/SFTP server (default value is 69/22) |
-u | User name for SFTP server | Valid user name for SFTP server |
-pw | Password for SFTP server | Valid password for SFTP server |
-f | File name for activation key | Valid file name for activation key file name |
-del | Use this command to delete the activation key by index number | Valid activation key index number from keycfg listing |
-dgrp | Add the device group | Device group name |
-sxip | Add the host name or IP address for the SKLM server | Valid host name or IP address for SKLM server. Numeric value of 1, 2, 3, or 4. |
-sxpn | Add the port number of the SKLM server | Valid port number for SKLM server. Numeric value of 1, 2, 3, or 4. |
-testx | Test the configuration and connection to the SKLM server | Numeric value of 1, 2, 3, or 4 |
-h | Display the command usage and options |
Syntax:
storekeycfg [<em className="ph i">options</em>]
options:
-add <em className="ph i">state</em>
-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>
-dgrp <em className="ph i">device_group_name</em>
-sxip <em className="ph i">ip_address</em>
-sxpn <em className="ph i">port_number</em>
-testx <em className="ph i">numeric value of SKLM server</em>
-h
Examples:
To import the SKLM server certificate, enter the following command:
system> storekeycfg
add -ip 192.168.70.200 -f tklm-server.der
system> ok
To configure the SKLM server address and port number, enter the following command:
system> storekeycfg
-s1ip 192.168.70.249
system> ok
To set the device group name, enter the following command:
system> storekeycfg
-dgrp IBM_SYSTEM_X_SED
system> ok
Give documentation feedback