1ICMD(8) System Manager's Manual ICMD(8)
2
3
4
6 ipmiutil cmd - a tool to send specific IPMI commands via the command
7 line.
8
9
11 ipmiutil cmd [-qsx -NUPREFJTVY] bus rsSa netFn/lun cmd [data bytes]
12
13
15 This ipmiutil cmd tool sends specific IPMI commands to the firmware.
16 The commands are composed as hex values on the command line. This tool
17 was written to allow in-band use to match the DOS CMDTOOL.EXE or IPMI‐
18 TOOL.EXE program which is distributed with many Intel servers. Certain
19 scripts or pre-written commands may have been supplied for the DOS tool
20 that can now be used while the system is running Linux or Windows.
21
22 This utility can use either the /dev/ipmi0 driver from OpenIPMI, the
23 /dev/imb driver from Intel, the /dev/ipmikcs driver from valinux,
24 direct user-space IOs, or the IPMI LAN interface if -N.
25
26 This tool should only be used if you are familiar with the IPMI 1.5
27 specification, or you have specific pre-written commands to send.
28
29
30
32 Command line options are described below.
33
34 -q Quiet mode. Show only minimal header information.
35
36 -s Skips the GetDeviceID command
37
38 -x Causes extra debug messages to be displayed.
39
40 -N nodename
41 Nodename or IP address of the remote target system. If a node‐
42 name is specified, IPMI LAN interface is used. Otherwise the
43 local system management interface is used.
44
45 -U rmt_user
46 Remote username for the nodename given. The default is a null
47 username.
48
49 -P/-R rmt_pswd
50 Remote password for the nodename given. The default is a null
51 password.
52
53 -E Use the remote password from Environment variable IPMI_PASSWORD.
54
55 -F drv_t
56 Force the driver type to one of the followng: imb, va, open,
57 gnu, landesk, lan, lan2, lan2i, kcs, smb. Note that lan2i means
58 lan2 with intelplus. The default is to detect any available
59 driver type and use it.
60
61 -J Use the specified LanPlus cipher suite (0 thru 14):
62 0=none/none/none, 1=sha1/none/none, 2=sha1/sha1/none,
63 3=sha1/sha1/cbc128, 4=sha1/sha1/xrc4_128, 5=sha1/sha1/xrc4_40,
64 6=md5/none/none, ... 14=md5/md5/xrc4_40. Default is 3.
65
66 -T Use a specified IPMI LAN Authentication Type: 0=None, 1=MD2,
67 2=MD5, 4=Straight Password, 5=OEM.
68
69 -V Use a specified IPMI LAN privilege level. 1=Callback level,
70 2=User level, 3=Operator level, 4=Administrator level (default),
71 5=OEM level.
72
73 -Y Yes, do prompt the user for the IPMI LAN remote password.
74 Alternatives for the password are -E or -P.
75
76
78 The following parameters are used by icmd. Each is represented as a
79 two-digit hex byte. The parameters have no default values.
80
81
82 bus This byte contains the bus number for this command, usually 00.
83
84
85 rsSa This is the resource slave address, usually 0x20 for the BMC.
86
87
88 netFn/lun
89 This byte combines the net Function and Lun. The 2 low-order
90 bits are the Lun and the 6 high-order bits are the net Function.
91 This representation is consistent with the DOS CMDTOOL/IPMITOOL.
92
93
94 cmd This byte contains the IPMI command.
95
96
97 [data bytes]
98 This is a sequence of zero to 16 bytes that represent data bytes
99 specific to this command.
100
101
103 icmd 00 20 18 01
104 Sends the GetDevice ID command to the BMC.
105
106 icmd 00 20 28 43 00 00 ff ff 00 ff
107 Sends a Get SEL entry command for the last entry in the firmware log.
108
109
111 ipmiutil(8) ialarms(8) iconfig(8) idiscover(8) ievents(8) ifru(8)
112 igetevent(8) ihealth(8) ilan(8) ireset(8) isel(8) isensor(8) iserial(8)
113 isol(8) iwdt(8)
114
115
117 See http://ipmiutil.sourceforge.net/ for the latest version of ipmiutil
118 and any bug fix list.
119
120
122 Copyright (C) 2009 Kontron America, Inc.
123
124 See the file COPYING in the distribution for more details regarding
125 redistribution.
126
127 This utility is distributed in the hope that it will be useful, but
128 WITHOUT ANY WARRANTY.
129
130
132 Andy Cress <arcress at users.sourceforge.net>
133
134
135
136
137 Version 1.0: 10 Aug 2004 ICMD(8)