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 [-pqsx -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 -p Port to use. Defaults to RMCP port 623.
35
36 -q Quiet mode. Show only minimal header information.
37
38 -s Skips the GetDeviceID command
39
40 -x Causes extra debug messages to be displayed.
41
42 -N nodename
43 Nodename or IP address of the remote target system. If a node‐
44 name is specified, IPMI LAN interface is used. Otherwise the
45 local system management interface is used.
46
47 -U rmt_user
48 Remote username for the nodename given. The default is a null
49 username.
50
51 -P/-R rmt_pswd
52 Remote password for the nodename given. The default is a null
53 password.
54
55 -E Use the remote password from Environment variable IPMI_PASSWORD.
56
57 -F drv_t
58 Force the driver type to one of the followng: imb, va, open,
59 gnu, landesk, lan, lan2, lan2i, kcs, smb. Note that lan2i means
60 lan2 with intelplus. The default is to detect any available
61 driver type and use it.
62
63 -J Use the specified LanPlus cipher suite (0 thru 17):
64 0=none/none/none, 1=sha1/none/none, 2=sha1/sha1/none,
65 3=sha1/sha1/cbc128, 4=sha1/sha1/xrc4_128, 5=sha1/sha1/xrc4_40,
66 6=md5/none/none, ... 14=md5/md5/xrc4_40. Default is 3.
67
68 -T Use a specified IPMI LAN Authentication Type: 0=None, 1=MD2,
69 2=MD5, 4=Straight Password, 5=OEM.
70
71 -V Use a specified IPMI LAN privilege level. 1=Callback level,
72 2=User level, 3=Operator level, 4=Administrator level (default),
73 5=OEM level.
74
75 -Y Yes, do prompt the user for the IPMI LAN remote password.
76 Alternatives for the password are -E or -P.
77
78
80 The following parameters are used by icmd. Each is represented as a
81 two-digit hex byte. The parameters have no default values.
82
83
84 bus This byte contains the bus number for this command, usually 00.
85
86
87 rsSa This is the resource slave address, usually 0x20 for the BMC.
88
89
90 netFn/lun
91 This byte combines the net Function and Lun. The 2 low-order
92 bits are the Lun and the 6 high-order bits are the net Function.
93 This representation is consistent with the DOS CMDTOOL/IPMITOOL.
94
95
96 cmd This byte contains the IPMI command.
97
98
99 [data bytes]
100 This is a sequence of zero to 16 bytes that represent data bytes
101 specific to this command.
102
103
105 icmd 00 20 18 01
106 Sends the GetDevice ID command to the BMC.
107
108 icmd 00 20 28 43 00 00 ff ff 00 ff
109 Sends a Get SEL entry command for the last entry in the firmware log.
110
111
113 ipmiutil(8) ialarms(8) iconfig(8) idiscover(8) ievents(8) ifru(8)
114 igetevent(8) ihealth(8) ilan(8) ireset(8) isel(8) isensor(8) iserial(8)
115 isol(8) iwdt(8)
116
117
119 See http://ipmiutil.sourceforge.net/ for the latest version of ipmiutil
120 and any bug fix list.
121
122
124 Copyright (C) 2009 Kontron America, Inc.
125
126 See the file COPYING in the distribution for more details regarding
127 redistribution.
128
129 This utility is distributed in the hope that it will be useful, but
130 WITHOUT ANY WARRANTY.
131
132
134 Andy Cress <arcress at users.sourceforge.net>
135
136
137
138
139 Version 1.0: 10 Aug 2004 ICMD(8)