# Platform Command

The platform command reports or changes some aspect of the platform’s state.

The platform subcommands fall into the following categories:

Subcommand Group | Description
--- | ---
platform console | Manages access to the platform serial console.
platform os state | Manages the current state of the operating system.
platform power state | Manages the state of the platform power.
platform get hostname | Displays the name of the current primary platform host.
platform get mac address | Returns the MAC address for the two on-board platform NICs.
platform get product id | Displays the product ID for the current system.

Notes

- Every command returns a return code upon completion.

Related Topics

System Management Commands

Glossary