Subcommands and option switches for key management on CMM

The subcommands and option switches for FoD activation key management on CMM are listed in the following table.

Syntax

Table 1. Common subcommands and options for key management on CMM
Subcommand Command-line option (case sensitive) Argument Description
report_cmm_active_fod: This subcommand is used to report inventory information of installed activation key(s) on the CMM repository.

--help

None Output subcommand report_cmm_active_fod usage help screen to stdout.
  --host

userid:password
@hostip:[port]

This option is used for the device interface connection to the remote key repository (CMM). The default port is 5989.
Note: Requires a LAN connection.
install_cmm_fod: This subcommand downloads and installs activation key(s) to the CMM repository. --help None Output subcommand install_cmm_fod usage help screen to stdout.
  --ibmid

userid:
password

This option is used to specify the KMS ID credential for the interactive authorization by Lenovo Web site.
Note: Requires an Internet connection.
  --uid unique_id This option is the unique identifier information of FoD feature.
  --authcode [code] This option is used to specify the IBM authorization code and is optional. Once this switch is used, a key generation is performed by KMS.
  --mt machinetype This option is used to specify the machine type of the target device.
  --host

userid:password
@hostip:[port]

This option is used for the device interface connection to the remote key repository (CMM). The default port is 5989.
uninstall_cmm_fod: This subcommand is to uninstall specific activation key(s) from the CMM repository. --help None Output subcommand uninstall_cmm_fod usage help screen to stdout.
  --keyid keyid This option is used to specify the activation key ID returned from report command. If keyid is all, it will uninstall all keys.
  --host

userid:password
@hostip:[port]

This option is used for the device interface connection to the remote key repository (CMM). The default port is 5989.
Note: Requires a LAN connection.