update command
This command updates firmware using the uniform resource locator (URL) of a TFTP, FTP, HTTP, HTTPS, or SFTP server and displays information about firmware installed in Lenovo Flex System components.
- When the CMM is set to
Secure
security mode, only secure file transfer methods, such as HTTPS and SFTP, can be used for tasks involving file transfer when the CMM is acting as a server. Unsecure file transfer protocols, such as HTTP, FTP, and TFTP, are disabled when the CMM is acting as a server when the security mode is set toSecure
. Unsecure file transfer protocols remain available for a CMM acting as a client for all commands when the security mode is set toSecure
. - For information about how to specify a URL for file transfer, see Specifying a URL for file transfer.
- The CMM update command does not support updating compute node firmware. If an optional management device, such as the Lenovo XClarity Administrator or Flex System Manager management server is installed in the Lenovo Flex System chassis, you can update compute node firmware using the management device program (see Flex System Firmware Update Guides). Depending on your compute node type, other methods are available for updating compute node firmware. See the documentation for your compute node for information.
- For additional information about updating firmware for Lenovo Flex System, seeFlex System Firmware Update Guides (you might need to register to access this content).
If command syntax is not correctly entered, or if a command fails to run, an error message is returned. See Common errors for a list of error messages that apply to all commands or update command errors for a list of error messages that are specific to the update command.
Function | What it does | Command | Target (see paths in Command targets) |
---|---|---|---|
Display firmware attributes | Displays attributes of the firmware installed in the command target. Return values are:
Note
| update -a | Primary or standby CMM:
I/O module:
|
Update firmware using URL | Update firmware for the command target using a uniform resource locator (URL). Attention
Important Command authority definitions might change between firmware versions. Make sure that the command authority level set for each user is correct after updating Note
| update -u URL where URL is fully qualified uniform resource locator, including file name, of the tftp, ftp, http, https, or sftp server where the firmware update image is located. This command can only be run by users who have one or more of the following command authorities:
| Primary CMM:
I/O module:
|
Update firmware and reboot | Update firmware and reboot the CMM to use new firmware if the update succeeds. Attention
Important Command authority definitions might change between firmware versions. Make sure that the command authority level set for each user is correct after updating Note When the primary oldprimary image becomes the newbackup image. These changes do not take effect until the | update -u URL-r where URL is fully qualified uniform resource locator, including file name, of the tftp, ftp, http, https, or sftp server where the firmware update image is located. This command can only be run by users who have one or more of the following command authorities:
| Primary CMM:
|
Update firmware (verbose) | Update firmware for the command target, showing details of the firmware download and flash operations. The detailed information is not shown until the update is complete, which might take several minutes. Attention
Important Command authority definitions might change between firmware versions. Make sure that the command authority level set for each user is correct after updating Note
| update -u URL-v where URL is fully qualified uniform resource locator, including file name, of the tftp, ftp, http, https, or sftp server where the firmware update image is located. This command can only be run by users who have one or more of the following command authorities:
| Primary CMM:
I/O module:
|
Update I/O module firmware | Directly update I/O module firmware image. Attention Installing the wrong firmware update might cause the I/O module to malfunction. Before you install a firmware update, read any readme and change history files that are provided with the downloaded update. These files contain important information about the update and the procedure for installing the update, including any special procedure for updating from an early firmware version to the latest version. Note
| update -u URL -img img_index where:
This command can only be run by users who have one or more of the following command authorities:
| I/O module:
|
Update I/O module firmware (verbose) | Directly update I/O module firmware image, showing details of the firmware download and flash operations. The detailed information is not shown until the update is complete, which might take several minutes. Attention Installing the wrong firmware update might cause the I/O module to malfunction. Before you install a firmware update, read any readme and change history files that are provided with the downloaded update. These files contain important information about the update and the procedure for installing the update, including any special procedure for updating from an early firmware version to the latest version. Note
| update -u URL-img img_index -v where:
This command can only be run by users who have one or more of the following command authorities:
| I/O module:
|
Activate I/O module firmware | Directly activate I/O module firmware image. Note Only some I/O modules have this capability. | update -activate img_index where img_index is the image index you are activating. Use the update -a command to list available images and their index numbers. This command can only be run by users who have one or more of the following command authorities:
| I/O module:
|
Update and activate I/O module firmware | Directly update I/O module and activate the firmware image. Attention Installing the wrong firmware update might cause the I/O module to malfunction. Before you install a firmware update, read any readme and change history files that are provided with the downloaded update. These files contain important information about the update and the procedure for installing the update, including any special procedure for updating from an early firmware version to the latest version. Note
| update -u URL-img img_index-activate img_index where:
This command can only be run by users who have one or more of the following command authorities:
| I/O module:
|
update -u http://10.12.100.109/flash/cmefs.uxp -T mm[p] -v -r
The following example shows the information that is returned from the update command:
system> update -u http://10.12.100.109/flash/cmefs.uxp -T mm[p] -v -r
Flashing firmware to target device
Starting flash packet preparation.
Flash operation phase starting.
Flashing - packet percent complete 0.
Flashing - packet percent complete 0.
Flashing - packet percent complete 25.
Flashing - packet percent complete 25.
Flashing - packet percent complete 25.
Flashing - packet percent complete 25.
Flashing - packet percent complete 25.
Flashing - packet percent complete 70.
Flashing - packet percent complete 70.
Flashing - packet percent complete 70.
Flashing - packet percent complete 70.
Flashing - packet percent complete 90.
Flashing - packet percent complete 90.
Flashing - packet percent complete 90.
Flashing - packet percent complete 90.
Flashing - packet percent complete 90.
Flashing - packet percent complete 90.
Flashing - packet percent complete 90.
Flashing - packet percent complete 90.
Flashing - packet percent complete 90.
Flashing - packet percent complete 90.
Flashing - packet percent complete 90.
Flashing - packet percent complete 90.
Flashing - packet percent complete 90.
Flashing - packet percent complete 90.
Flashing - packet percent complete 90.
Flashing - packet percent complete 90.
successful
The new firmware will become active after the next reset of the MM.
Rebooting MM...
system>
system> update -T switch[3] -u sftp://USERID:Passw0rd@172.20.25.10/tftproot/v8.1.0b_pha/ -img 1 -v
Flashing firmware to target device
Starting flash packet preparation.
Flash operation phase starting.
Flashing - packet percent complete 0.
Flashing - packet percent complete 0.
Flashing - packet percent complete 25.
Flashing - packet percent complete 25.
Flashing - packet percent complete 25.
Flashing - packet percent complete 25.
Flashing - packet percent complete 25.
Flashing - packet percent complete 70.
Flashing - packet percent complete 70.
Flashing - packet percent complete 70.
Flashing - packet percent complete 70.
Flashing - packet percent complete 90.
Flashing - packet percent complete 90.
Flashing - packet percent complete 90.
Flashing - packet percent complete 90.
Flashing - packet percent complete 90.
Flashing - packet percent complete 90.
Flashing - packet percent complete 90.
Flashing - packet percent complete 90.
Flashing - packet percent complete 90.
Flashing - packet percent complete 90.
Flashing - packet percent complete 90.
Flashing - packet percent complete 90.
Flashing - packet percent complete 90.
Flashing - packet percent complete 90.
Flashing - packet percent complete 90.
Flashing - packet percent complete 90.
successful
The new firmware will become active after the next reset of the IOM.
Rebooting IOM...
system>