# Platform Set OS State Update BIOS Subcommand

access: Administrators, Managers

This command allows you to update the BIOS with a new local or remote BIOS image.

> platform set os state update-bios {-f|--filename} BIOS IMAGE {-i|--ipaddress} REMOTE_ADDRESS {-r|--remote} REMOTE_VERSION [{-p|--port} REMOTE_PORT] [{-W|--nowait}] [{-q|--quiet}]

> Arguments

> Argument | Description
> --- | ---
> {-f|--filename} | The name of the BIOS image file.
> {-i|--ipaddress} | The IP address of the server on which the update server is running.
> {-r|--remote} | Specify a verison Vx.x.x.x or use LATEST to update with the latest version available on the update server.
> [{-p|--port} ] | The port number on the remote server on which the update server is listening for SP flash update requests. If the port number is not provided, the command tries to connect to the default port. The default port number is 52708.
> [{-W|--nowait}] | If specified, the command returns immediately instead of waiting for the operation to complete.
> [{-q|--quiet}] | Suppresses interative warning messages. (No error messages are blocked.)

> Return Codes

> Return | Code | Description
> --- | --- | ---
> NWSE_Success | 0 | Command completed successfully.
> NWSE_InvalidUsage | 1 | Invalid usage: bad parameter usage, conflicting options specified.
> NWSE_RPCTimeout | 2 | Request was issued, but was not serviced by the server. RPC procedure timed out and the request may or may not have been serviced by the server.
> NWSE_RPCNotConnected | 3 | Unable to connect to the RPC server.
> NWSE_NotFound | 5 | Entity (user, service, file, path, etc.) was not found.
> NWSE_NoPermission | 6 | Not authorized to perform this operation.
> NWSE_FileError | 18 | File open, missing, or read or write error occurred.
> NWSE_InvalidOpForState | 22 | Invalid operation for current state. Force is required because the platform is in a transitional state (shutting down, booting, etc.) or the platform is already on.
> NWSE_ServiceNotAvailable | 24 | Requested service is not available.

Notes

- When the platform is in the Communicating state (in which the operating system is communicating with the Service Processor), if the platform drivers are uninstalled, the Service Processor remains in the Communicating state even though it can no longer communicate with the platform. Refer to platform get os state for a list of possible states.

Related Topics

System Management Commands

Platform Command