1# IPMI command cheat sheet
2
3This document is intended to provide a set of IPMI commands for quick reference.
4
5Note: If the ipmitool is on the BMC then set the interface as "-I dbus" and
6if the ipmitool is outside the BMC (i.e on the network) then set the interface as
7"-I lanplus".
8
9## Network Configuration
10
11### Set the interface mode
12
13ipmitool lan set <channel> ipsrc static
14
15### Set the IP Address
16
17ipmitool lan set <channel> ipaddr <ip>
18
19### Set the network mask
20
21ipmitool lan set <channel> netmask <mask>
22
23### Set the default gateway
24
25ipmitool lan set <channel> defgw ipaddr <ip>
26
27### Set the VLAN
28
29ipmitool lan set <channel> vlan id <id>
30
31### Delete the VLAN
32
33ipmitool lan set <channel> vlan id off
34
35NOTE: The user can group multiple set operations since the IPMI daemon
36waits for 10 seconds after each set operation before applying the configuration.
37