Table 6-5 Command Menu Commands (continued)

Command

Description

SA

Sets access options

SNMP

Configures SNMP parameters

SO

Configures security options

SS

Displays system processor status

SYSREV

Displays all firmware revisions

TC

Resets through transfer of control (TOC)

TE

“Tell” (sends a message to other users)

UC

Displays a user configuration

WHO

Displays connected the iLO 2 MP users

XD

Diagnoses or resets the iLO 2 MP

The following is a quick reference list that provides MP Command mode activities:

To access the Command menu, enter CM at the MP Main Menu.

To see all the available commands, enter HE LI at the MP:CM> prompt.

To access the Command menu help, enter HE at the MP:CM> prompt. The Command menu help provides information on all the Command menu items.

To modify the inactivity timeout, enter the IT command. The inactivity timer aborts a command if you do not complete it within a certain time period.

To abort most commands, enter Q at the point when the iLO 2 MP is asking for input.

To return to the MP Main Menu from any of these commands, press Ctrl-B.

Command Line Interface Scripting

A command line interface is provided for all commands to assist you in scripting. This section provides syntax examples used in the iLO 2 MP command-line or scripted interface.

Typically, tools like Expect (see “Expect Script Example” (page 65)) and (http://expect.nist.gov/) are used to string together several commands to accomplish a task. These scripting tools enable you to write a script for one iLO 2 MP, and use it to apply the same commands to additional iLO

2 MPs. Scripting tools have capabilities that enable you to do the following:

Write scripts that make decisions based on the output of commands

Use variables in the script to customize it for each target automatically

Compensate for delays in output

Scripting tools and the command-line interfaces enable you to carry out commands to multiple iLO 2 MPs such as setting the IP address on 10 iLO 2 MPs pulled from a list of 10 IP addresses read from a file local to your script. To automatically administer any part of the system during any stage of its operation, you can use the scripting tool to log in to the iLO 2 MP, access the console, and send and receive commands in EFI or the OS.

64 Using iLO 2 MP

Page 64
Image 64
HP Integrity iLO 2 MP 5991-6005 manual Command Line Interface Scripting