iLO 2 Scripting and Command Line Guide
2 Command line
Command line interface overview
HP has worked with key industry partners within Distributed Management Task Force (DMTF), Inc.
to define an industry-standard set of commands. DMTF is working on a suite of specifications,
Systems Management Architecture for Server, to standardize manageability interfaces for servers.
The iLO 2 uses the command set defined in the Server Management Command Line Protocol
Specification, 1.00 Draft. The CLP is intended to replace the simple CLI.
Command line access
The iLO 2 features enable you to execute the supported commands from a command line. There
are two interfaces through which the command line option can be accessed:
• Serial port using one connection.
• Network using:
SSH enabling three simultaneous connections. IP address or DNS name, login name, and
password are required to start a session using SSH.
◦
◦ Telnet protocol using three simultaneous connections.
Any four network connections can be active simultaneously. After serial CLI is enabled on the
Global Settings screen, the iLO 2 CLI is invoked by pressing the ESC and the ESC key. The SSH
and Telnet sessions start the after authentication.
Using the command line
After initiating a command line session, the iLO CLI prompt appears. Each time you execute a
command (or you exit the Remote Console or VSP), you return to the CLI prompt as shown in the
following example:
hpiLO->
Each time a CLI command executes, the returned output follows this general format:
hpiLO-> CLI command
status=0
status_tag=COMMAND COMPLETED
… output returned…
hpiLO->
If an invalid command is entered, then the status and status_tag values reflect the error as
shown:
hpiLO-> boguscommand
status=2
status_tag=COMMAND PROCESSING FAILED
error_tag=COMMAND NOT RECOGNIZED
If an invalid parameter is given to a valid command, the response is slightly different:
hpiLO-> show /bad
status=2
status_tag=COMMAND PROCESSING FAILED
error_tag=COMMAND ERROR-UNSPECIFIED
Invalid property.
Command line interface overview 13










