HP rp3440 HP Integrity and HP 9000 iLO MP Operations Guide, Fifth Edition - Page 52

Command Line Interface Scripting, Table 6-3 Command Menu Commands and Descriptions

Page 52 highlights

Table 6-3 Command Menu Commands and Descriptions (continued) Command MS PC PG PR PS RB RS SA SNMP SO SS SYSREV TC TE UC VDP WHO XD Description Displays the modem status Controls the remote power Paging parameter setup Configures the power restore policy Displays the power management module status Resets the BMC Resets the system through the RST signal Sets access options Configures SNMP parameters Configures security options Displays the system processor status Displays all firmware revisions Resets through TOC Tell (send a message to other users) Displays a user configuration Displays the virtual diagnostic panel LEDs Displays the connected iLO MP users Diagnoses or resets the iLO 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 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 MP command-line or scripted interface. Typically, tools like Expect (see "Expect Script Example" (page 53)) 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 MP, and use it to apply the same commands to additional iLO 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 MPs such as setting the IP address on 10 iLO MPs pulled from a list of 10 IP addresses read 52 Using iLO

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140

Table 6-3 Command Menu Commands and Descriptions
(continued)
Description
Command
Displays the modem status
MS
Controls the remote power
PC
Paging parameter setup
PG
Configures the power restore policy
PR
Displays the power management module status
PS
Resets the BMC
RB
Resets the system through the RST signal
RS
Sets access options
SA
Configures SNMP parameters
SNMP
Configures security options
SO
Displays the system processor status
SS
Displays all firmware revisions
SYSREV
Resets through TOC
TC
Tell (send a message to other users)
TE
Displays a user configuration
UC
Displays the virtual diagnostic panel LEDs
VDP
Displays the connected iLO MP users
WHO
Diagnoses or resets the iLO MP
XD
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 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 MP command-line or scripted interface.
Typically, tools like Expect (see
“Expect Script Example” (page 53)
) and
)
are used to string together several commands to accomplish a task. These scripting tools enable
you to write a script for one iLO MP, and use it to apply the same commands to additional iLO
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 MPs such as setting the IP address on 10 iLO MPs pulled from a list of 10 IP addresses read
52
Using iLO