1
.TH ipmicmd 8 05/13/03 OpenIPMI "An IPMI Command Interface"
4
ipmicmd \- An IPMI Command Interface
9
.IR "entry-to-execute" ]
14
.IR "entry-to-execute" ]
18
.I auth privilege username password
23
program allows a user to execute direct IPMI commands. It can work
24
with direct interface with the OpenIPMI driver or with IPMI LAN
29
.BI \-k\ entry-to-execute
30
Execute a single command an exit.
34
The SMI number to connect to, for systems with more than on system
35
interface. Generally, this is '\fB0\fP'.
39
The IP address of the LAN interface.
43
The UDP port of the LAN interface, general \fB623\fP.
47
Some systems support multiple IP connections, this specified the
48
second address and is optional. If specified, OpenIPMI will use both
49
IP addresses and fail over to the working one if one of them fails.
53
The port for the second IP connection, generally \fB623\fP.
57
The authorization to use for the connection, either "\fBnone\fP",
58
"\fBstraight\fP", "\fBmd5\fP", or "\fBmd2\fP".
62
The privilege to use for the connection, either "\fBcallback\fP", "\fBuser\fP",
63
"\fBoperator\fP", or "\fBadmin\fP". Note that some IPMI operations will fail
64
without the correct privilege.
68
The user name to use for the connection. If using this anonymous
69
user, this should be the empty string "".
73
The password to use for the connection.
78
Once up, you can execute commands in the user interface. Note that
79
commands and responses are asynchronous, you issue a command and the
80
interface returns immediately. When the response comes back, it will
81
be dumped on your console. That's a little strange looking, but IPMI
82
is ansychronous underneath. Note that the \fB\-k\fP option is synchronous,
83
it will wait for the response or a timeout before returning.
86
\fB0f\fP \fIlun\fP \fInetfn\fP \fIcmd\fP [\fIdata1\fP [\fIdata2\fP ...]]
87
Send a command to the BMC you are connected to.
90
\fIchannel\fP [\fBipmb\fP] \fIIPMB-addr\fP \fIlun\fP \fInetfn\fP \fIcmd\fP [\fIdata1\fP [\fIdata2\fP ...]]
91
Send a command to a device on the IPMB bus. The "\fBipmb\fP" string is optional.
94
\fIchannel\fP \fB00\fP \fIIPMB-addr\fP \fIlun\fP \fInetfn\fP \fIcmd\fP [\fIdata1\fP [\fIdata2\fP ...]]
95
Send a broadcast command to a device on the IPMB bus.
98
\fIchannel\fP \fBlan\fP \fIhandle\fP \fIremote-swid\fP \fIlocal-swid\fP \fIlun\fP \fInetfn\fP \fIcmd\fP [\fIdata1\fP [\fIdata\fP ...]]
99
Send a command to a device over a LAN channel. Note that this not the
100
same as a LAN connection. This sends a message through a local BMC to
101
a remote system that is hooked up with a LAN connection.
104
\fBtest_lat\fP \fIcount\fP \fIcommand\fP
105
Executes the given \fIcommands\fP (one of the previous commands) \fIcount\fP times
106
and gives the average time per command to execute. Note that "\fIcount\fP"
114
\fBregcmd\fP \fInetfn\fP \fIcmd\fP
115
Register to receive the given command. If the driver receives an
116
external command, it will print it out. This only works with system
117
interface connections, it will not work on LAN connections.
120
\fBunregcmd\fP \fInetfn\fP \fIcmd\fP
121
Remove a command registration.
128
The asychronous nature of the program can be annoying.
132
Corey Minyard <cminyard@mvista.org>