Getting the key from the Lenovo website

This topic explains how to use the ASU command line utility to generate and download activation keys from the Lenovo website without logging on to the website.

From the ASU command line, specify your activation key information as necessary. See the command options parameters in the following table. Then you can download activation keys from the Lenovo website by using a command such as the following:
asu fodcfg acquirekey --kmsid restuser@invalid.domain:pasword --auth DEBAAAAAAAAA1654810000 
-u 78704bc1234
Table 1. Command options parameters
Parameter Required Description
--kmsid <userid:pwd> Yes The Lenovo ID credential for the interactive Lenovo website.
-u <unique id> Yes Unique identifier information.
-m <MT/DC> Yes The machine type and device code. For the system/option feature, specify the system machine type (MT). For the IOM switch, specify the device code (DC).
--auth <code> Optional The Lenovo authorization code. If no authcode is provided, ASU gets the key without generating it.
-d <dir> Optional Download the key file to the <dir> location. The default value is the current folder.
-r Optional Install the downloaded activation key.

Values -u and -m specify the system information. Value -u is a unique identifier and -m is the system server type or switch device code. To get the keys that are installed on the IMM/CMM, enter the server type -m. For the switch keys, enter the device code. The available switch device codes are shown below.

When no authorization code is entered, ASUdownloads the keys for that system directly. If --auth is specified, ASU tries to generate and then download the keys for that system using the authorization code.

You can specify -r by using the acquirekey command to generate and download keys and install them automatically. If -r is not specified, ASU gets the key and puts it in the local folder without installing it. To install the key automatically, you must specify every element (except for -f), as shown in the following example: asu fodcfg installkey.

Table 2. Available switch device codes
Feature description Install on system Device code Unique ID format
Lenovo Flex System Fabric EN4093 10 Gb Scalable Switch (Upgrade 1) Lenovo Flex System Enterprise Chassis [8721] FCA1EL Lenovo Switch Serial Number (12 characters)
Lenovo Flex System Enterprise Chassis [7893] FC3597
Lenovo Flex System Fabric EN4093 10 Gb Scalable Switch (Upgrade 2) Lenovo Flex System Enterprise Chassis [8721] FCA1EM Lenovo Switch Serial Number (12 characters)
Lenovo Flex System Enterprise Chassis [7893] FC3597
Lenovo Flex System EN2092 1 Gb Ethernet Scalable Switch (Upgrade 1) Lenovo Flex System Enterprise Chassis [7893] FC3599 Lenovo Switch Serial Number (12 characters)
Lenovo Flex System Enterprise Chassis [8721] FCA1QW
Lenovo Flex System EN2092 1 Gb Ethernet Scalable Switch (10Gb Uplinks) Lenovo Flex System Enterprise Chassis [8721] FCA1EN Lenovo Switch Serial Number (12 characters)
Lenovo Flex System Enterprise Chassis [7893] FC3594
Lenovo Flex System IB6131 Infiniband Switch (FDR Upgrade) Lenovo Flex System Enterprise Chassis [8721] FCA1QX Lenovo Switch Serial Number (19 characters)
Lenovo Flex System FC5022 16 Gb SAN Scalable Switch (Upgrade 1) Lenovo Flex System Enterprise Chassis [8721] FCA1EP Lenovo Switch World Wide Name (23 characters)
Lenovo Flex System FC5022 16 Gb SAN Scalable Switch (Upgrade 1) Lenovo Flex System Enterprise Chassis [7893] FC3772 Lenovo Switch World Wide Name (23 characters)
Lenovo Flex System FC5022 16 Gb SAN Scalable Switch (Upgrade 2) Lenovo Flex System Enterprise Chassis [8721] FCA1EQ Lenovo Switch World Wide Name (23 characters)
Lenovo Flex System FC5022 16 Gb SAN Scalable Switch (Upgrade 2) Lenovo Flex System Enterprise Chassis [7893] FC3773 Lenovo Switch World Wide Name (23 characters)
Lenovo Flex System FC5022 16 Gb Fabric Watch Upgrade Lenovo Flex System Enterprise Chassis [8721] FCA3HN Lenovo Switch World Wide Name (23 characters)
Lenovo Flex System FC5022 16 Gb ISL/Trunking Upgrade Lenovo Flex System Enterprise Chassis [8721] FCA3HP Lenovo Switch World Wide Name (23 characters)
Lenovo Flex System EN4023 10 Gb Scalable Switch (FoD 1) Lenovo Flex System Enterprise Chassis [8721] FCESWE Lenovo Switch World Wide Name (23 characters)
Lenovo Flex System EN4023 10 Gb Scalable Switch (FoD 2) Lenovo Flex System Enterprise Chassis [8721] FCESWF Lenovo Switch World Wide Name (23 characters)
Lenovo Flex System EN4023 10 Gb Scalable Switch FCoE Upgrade (FoD 3) Lenovo Flex System Enterprise Chassis [8721] FCESWG Lenovo Switch World Wide Name (23 characters)