1openipmicmd(1)             An IPMI Command Interface            openipmicmd(1)
2
3
4

NAME

6       openipmicmd - An IPMI Command Interface
7
8

SYNOPSIS

10       openipmicmd [-k entry-to-execute] <connection parms>
11
12

DESCRIPTION

14       The  openipmicmd program allows a user to execute direct IPMI commands.
15       It can work with direct interface with the OpenIPMI driver or with IPMI
16       LAN interfaces.
17
18

OPTIONS

20       -k entry-to-execute
21              Execute a single command an exit.
22
23
24       <connectionparms>
25              The parameters for the connection depend on the connection type.
26              These are all described in openipmi_conparms (7)
27
28

COMMANDS

30       Once up, you can execute commands in the  user  interface.   Note  that
31       commands  and  responses  are asynchronous, you issue a command and the
32       interface returns immediately.  When the response comes back,  it  will
33       be  dumped  on your console.  That's a little strange looking, but IPMI
34       is ansychronous underneath.  Note that the -k option is synchronous, it
35       will wait for the response or a timeout before returning.
36
37
38       0f lun netfn cmd [data1 [data2 ...]]
39              Send a command to the BMC you are connected to.
40
41
42       channel [ipmb] IPMB-addr lun netfn [seq] cmd [data1 [data2 ...]]
43              Send  a  command to a device on the IPMB bus.  The "ipmb" string
44              is optional.  The seq  must  be  provided  if  the  netfn  is  a
45              response  (an  odd number).  It must be the same sequence number
46              that came in on the command in the "Command Sequence = seq" part
47              of the command.
48
49
50       channel 00 IPMB-addr lun netfn cmd [data1 [data2 ...]]
51              Send a broadcast command to a device on the IPMB bus.
52
53
54       channel  lan  handle  remote-swid local-swid lun netfn cmd [data1 [data
55       ...]]
56              Send a command to a device over a LAN channel.  Note  that  this
57              not  the same as a LAN connection.  This sends a message through
58              a local BMC to a remote system that is hooked up with a LAN con‐
59              nection.
60
61
62       test_lat count command
63              Executes the given commands (one of the previous commands) count
64              times and gives the average time per command to  execute.   Note
65              that "count" is hexadecimal.
66
67
68       help   Display some help.
69
70
71       regcmd netfn cmd
72              Register  to  receive the given command.  If the driver receives
73              an external command, it will print it out.  This only works with
74              system  interface  connections,  it will not work on LAN connec‐
75              tions.
76
77
78       unregcmd netfn cmd
79              Remove a command registration.
80
81

SEE ALSO

83       ipmi_ui(1), ipmilan(8), openipmi_conparms(7)
84
85

KNOWN PROBLEMS

87       The asychronous nature of the program can be annoying.
88
89

AUTHOR

91       Corey Minyard <cminyard@mvista.org>
92
93
94
95OpenIPMI                           05/13/03                     openipmicmd(1)
Impressum