1openipmicmd(8) An IPMI Command Interface openipmicmd(8)
2
3
4
6 openipmicmd - An IPMI Command Interface
7
8
10 openipmicmd [-k entry-to-execute] <connection parms>
11
12
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
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
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 cmd [data1 [data2 ...]]
43 Send a command to a device on the IPMB bus. The "ipmb" string
44 is optional.
45
46
47 channel 00 IPMB-addr lun netfn cmd [data1 [data2 ...]]
48 Send a broadcast command to a device on the IPMB bus.
49
50
51 channel lan handle remote-swid local-swid lun netfn cmd [data1 [data
52 ...]]
53 Send a command to a device over a LAN channel. Note that this
54 not the same as a LAN connection. This sends a message through
55 a local BMC to a remote system that is hooked up with a LAN con‐
56 nection.
57
58
59 test_lat count command
60 Executes the given commands (one of the previous commands) count
61 times and gives the average time per command to execute. Note
62 that "count" is hexadecimal.
63
64
65 help Display some help.
66
67
68 regcmd netfn cmd
69 Register to receive the given command. If the driver receives
70 an external command, it will print it out. This only works with
71 system interface connections, it will not work on LAN connec‐
72 tions.
73
74
75 unregcmd netfn cmd
76 Remove a command registration.
77
78
80 ipmi_ui(1), ipmilan(8), openipmi_conparms(7)
81
82
84 The asychronous nature of the program can be annoying.
85
86
88 Corey Minyard <cminyard@mvista.org>
89
90
91
92OpenIPMI 05/13/03 openipmicmd(8)