| Linux |
[IPMItool]
ipmitool raw 0x0c 0x01
D[1]
Byte 1
Request Data Byte 1
[7:4] - reserved
[3:0] - Channel number
D[2] Byte 2
Parameter Selector
per Table 23-4, LAN Configuration Parameters
#0 - Set In Progress (volatile)
#1 - Authentication Type Support (Read Only)
#2 - Authentication Type Enables
#3 - IP Address
#4 - IP Address Source
#5 - MAC Address (can be Read Only)
#6 - Subnet Mask
#7 - IPv4 Header Parameters
...
#12 - Default Gateway Address
...
#20 - 802.1q VLAN ID (12-bit)
#21 - 802.1q VLAN Priority
...
D[3:N] Byte [3:N]
Configuration Parameter Data
per Table 23-4, LAN Configuration Parameters
ipmitool lan set <channel> <command> <parameter> Command/Parameter
LAN set command/parameter options:
LAN set command/parameter options:
ipaddr <x.x.x.x> - Set channel IP address
netmask <x.x.x.x> - Set channel IP netmask
macaddr <x:x:x:x:x:x> - Set channel MAC address
defgw ipaddr <x.x.x.x> - Set default gateway IP address
defgw macaddr <x:x:x:x:x:x> - Set default gateway MAC address
bakgw ipaddr <x.x.x.x> - Set backup gateway IP address
bakgw macaddr <x:x:x:x:x:x> - Set backup gateway MAC address
password <password> - Set session password for this channel
snmp <community string> - Set SNMP public community string
user - Enable default user for this channel
access <on|off> - Enable or disable access to this channel
alert <on|off> - Enable or disable PEF alerting for this channel
arp respond <on|off> - Enable or disable BMC ARP responding
arp generate <on|off> - Enable or disable BMC gratuitous ARP generation
arp interval <seconds> - Set gratuitous ARP generation interval
vlan id <off|<id>> - Disable or enable VLAN and set ID (1-4094)
vlan priority <priority> - Set vlan priority (0-7)
auth <level> <type,..> - Set channel authentication types
level = CALLBACK, USER, OPERATOR, ADMIN
type = NONE, MD2, MD5, PASSWORD, OEM
ipsrc <source> - Set IP Address source
none = unspecified source
static = address manually configured to be static
dhcp = address obtained by BMC running DHCP
bios = address loaded by BIOS or system software
cipher_privs XXXXXXXXXXXXXXX - Set RMCP+ cipher suite privilege levels
X = Cipher Suite Unused
c = CALLBACK
u = USER
o = OPERATOR
a = ADMIN
O = OEM
bad_pass_thresh <thresh_num> <1|0> <reset_interval> <lockout_interval> - Set bad password threshold
[ipmiutil]Request Data Byte 1
[7:4] - reserved
[3:0] - Channel number
D[2] Byte 2
Parameter Selector
per Table 23-4, LAN Configuration Parameters
#0 - Set In Progress (volatile)
#1 - Authentication Type Support (Read Only)
#2 - Authentication Type Enables
#3 - IP Address
#4 - IP Address Source
#5 - MAC Address (can be Read Only)
#6 - Subnet Mask
#7 - IPv4 Header Parameters
...
#12 - Default Gateway Address
...
#20 - 802.1q VLAN ID (12-bit)
#21 - 802.1q VLAN Priority
...
D[3:N] Byte [3:N]
Configuration Parameter Data
per Table 23-4, LAN Configuration Parameters
ipmitool lan set <channel> <command> <parameter> Command/Parameter
LAN set command/parameter options:
LAN set command/parameter options:
ipaddr <x.x.x.x> - Set channel IP address
netmask <x.x.x.x> - Set channel IP netmask
macaddr <x:x:x:x:x:x> - Set channel MAC address
defgw ipaddr <x.x.x.x> - Set default gateway IP address
defgw macaddr <x:x:x:x:x:x> - Set default gateway MAC address
bakgw ipaddr <x.x.x.x> - Set backup gateway IP address
bakgw macaddr <x:x:x:x:x:x> - Set backup gateway MAC address
password <password> - Set session password for this channel
snmp <community string> - Set SNMP public community string
user - Enable default user for this channel
access <on|off> - Enable or disable access to this channel
alert <on|off> - Enable or disable PEF alerting for this channel
arp respond <on|off> - Enable or disable BMC ARP responding
arp generate <on|off> - Enable or disable BMC gratuitous ARP generation
arp interval <seconds> - Set gratuitous ARP generation interval
vlan id <off|<id>> - Disable or enable VLAN and set ID (1-4094)
vlan priority <priority> - Set vlan priority (0-7)
auth <level> <type,..> - Set channel authentication types
level = CALLBACK, USER, OPERATOR, ADMIN
type = NONE, MD2, MD5, PASSWORD, OEM
ipsrc <source> - Set IP Address source
none = unspecified source
static = address manually configured to be static
dhcp = address obtained by BMC running DHCP
bios = address loaded by BIOS or system software
cipher_privs XXXXXXXXXXXXXXX - Set RMCP+ cipher suite privilege levels
X = Cipher Suite Unused
c = CALLBACK
u = USER
o = OPERATOR
a = ADMIN
O = OEM
bad_pass_thresh <thresh_num> <1|0> <reset_interval> <lockout_interval> - Set bad password threshold
ipmiutil cmd 00 20 30 01
D[1]
Byte 1
Request Data Byte 1
[7:4] - reserved
[3:0] - Channel number
D[2] Byte 2
Parameter Selector
per Table 23-4, LAN Configuration Parameters
#0 - Set In Progress (volatile)
#1 - Authentication Type Support (Read Only)
#2 - Authentication Type Enables
#3 - IP Address
#4 - IP Address Source
#5 - MAC Address (can be Read Only)
#6 - Subnet Mask
#7 - IPv4 Header Parameters
...
#12 - Default Gateway Address
...
#20 - 802.1q VLAN ID (12-bit)
#21 - 802.1q VLAN Priority
...
D[3:N] Byte [3:N]
Configuration Parameter Data
per Table 23-4, LAN Configuration Parameters
icmd 00 20 30 01 D[1] Byte 1
Request Data Byte 1
[7:4] - reserved
[3:0] - Channel number
D[2] Byte 2
Parameter Selector
per Table 23-4, LAN Configuration Parameters
#0 - Set In Progress (volatile)
#1 - Authentication Type Support (Read Only)
#2 - Authentication Type Enables
#3 - IP Address
#4 - IP Address Source
#5 - MAC Address (can be Read Only)
#6 - Subnet Mask
#7 - IPv4 Header Parameters
...
#12 - Default Gateway Address
...
#20 - 802.1q VLAN ID (12-bit)
#21 - 802.1q VLAN Priority
...
D[3:N] Byte [3:N]
Configuration Parameter Data
per Table 23-4, LAN Configuration Parameters
ipmiutil lan -e -L <lan_channel_num>
ilan -e -L <lan_channel_num>
[FreeIPMI]Request Data Byte 1
[7:4] - reserved
[3:0] - Channel number
D[2] Byte 2
Parameter Selector
per Table 23-4, LAN Configuration Parameters
#0 - Set In Progress (volatile)
#1 - Authentication Type Support (Read Only)
#2 - Authentication Type Enables
#3 - IP Address
#4 - IP Address Source
#5 - MAC Address (can be Read Only)
#6 - Subnet Mask
#7 - IPv4 Header Parameters
...
#12 - Default Gateway Address
...
#20 - 802.1q VLAN ID (12-bit)
#21 - 802.1q VLAN Priority
...
D[3:N] Byte [3:N]
Configuration Parameter Data
per Table 23-4, LAN Configuration Parameters
icmd 00 20 30 01 D[1] Byte 1
Request Data Byte 1
[7:4] - reserved
[3:0] - Channel number
D[2] Byte 2
Parameter Selector
per Table 23-4, LAN Configuration Parameters
#0 - Set In Progress (volatile)
#1 - Authentication Type Support (Read Only)
#2 - Authentication Type Enables
#3 - IP Address
#4 - IP Address Source
#5 - MAC Address (can be Read Only)
#6 - Subnet Mask
#7 - IPv4 Header Parameters
...
#12 - Default Gateway Address
...
#20 - 802.1q VLAN ID (12-bit)
#21 - 802.1q VLAN Priority
...
D[3:N] Byte [3:N]
Configuration Parameter Data
per Table 23-4, LAN Configuration Parameters
ipmiutil lan -e -L <lan_channel_num>
ilan -e -L <lan_channel_num>
ipmi-raw 0x00 0x0c 0x01
D[1]
Byte 1
Request Data Byte 1
[7:4] - reserved
[3:0] - Channel number
D[2] Byte 2
Parameter Selector
per Table 23-4, LAN Configuration Parameters
#0 - Set In Progress (volatile)
#1 - Authentication Type Support (Read Only)
#2 - Authentication Type Enables
#3 - IP Address
#4 - IP Address Source
#5 - MAC Address (can be Read Only)
#6 - Subnet Mask
#7 - IPv4 Header Parameters
...
#12 - Default Gateway Address
...
#20 - 802.1q VLAN ID (12-bit)
#21 - 802.1q VLAN Priority
...
D[3:N] Byte [3:N]
Configuration Parameter Data
per Table 23-4, LAN Configuration Parameters
ipmi-config --commit --lan-channel-number=<NUMBER> --key-pair=<section>:<parameter>=<data>
| MS-DOS |Request Data Byte 1
[7:4] - reserved
[3:0] - Channel number
D[2] Byte 2
Parameter Selector
per Table 23-4, LAN Configuration Parameters
#0 - Set In Progress (volatile)
#1 - Authentication Type Support (Read Only)
#2 - Authentication Type Enables
#3 - IP Address
#4 - IP Address Source
#5 - MAC Address (can be Read Only)
#6 - Subnet Mask
#7 - IPv4 Header Parameters
...
#12 - Default Gateway Address
...
#20 - 802.1q VLAN ID (12-bit)
#21 - 802.1q VLAN Priority
...
D[3:N] Byte [3:N]
Configuration Parameter Data
per Table 23-4, LAN Configuration Parameters
ipmi-config --commit --lan-channel-number=<NUMBER> --key-pair=<section>:<parameter>=<data>
[ipmitool]
ipmitool 20 30 01 Data[1:N]
Parameter #3, IP Address
[IPMItool]
ipmitool raw 0x0c 0x01
D[1]
Byte 1
Request Data Byte 1
[7:4] - reserved
[3:0] - Channel number
0x03 Byte 2
Parameter Selector
per Table 23-4, LAN Configuration Parameters
#0 - Set In Progress (volatile)
#1 - Authentication Type Support (Read Only)
#2 - Authentication Type Enables
#3 - IP Address
#4 - IP Address Source
#5 - MAC Address (can be Read Only)
#6 - Subnet Mask
#7 - IPv4 Header Parameters
...
#12 - Default Gateway Address
...
#20 - 802.1q VLAN ID (12-bit)
#21 - 802.1q VLAN Priority
...
D[3:6] Byte [3:6]
Configuration Parameter Data
per Table 23-4, LAN Configuration Parameters
Data [1:4] - IP Address, MS-byte first
ipmitool lan set <channel> ipaddr <x.x.x.x>
[ipmiutil]Request Data Byte 1
[7:4] - reserved
[3:0] - Channel number
0x03 Byte 2
Parameter Selector
per Table 23-4, LAN Configuration Parameters
#0 - Set In Progress (volatile)
#1 - Authentication Type Support (Read Only)
#2 - Authentication Type Enables
#3 - IP Address
#4 - IP Address Source
#5 - MAC Address (can be Read Only)
#6 - Subnet Mask
#7 - IPv4 Header Parameters
...
#12 - Default Gateway Address
...
#20 - 802.1q VLAN ID (12-bit)
#21 - 802.1q VLAN Priority
...
D[3:6] Byte [3:6]
Configuration Parameter Data
per Table 23-4, LAN Configuration Parameters
Data [1:4] - IP Address, MS-byte first
ipmitool lan set <channel> ipaddr <x.x.x.x>
ipmiutil cmd 00 20 30 01
D[1]
Byte 1
Request Data Byte 1
[7:4] - reserved
[3:0] - Channel number
03 Byte 2
Parameter Selector
per Table 23-4, LAN Configuration Parameters
#0 - Set In Progress (volatile)
#1 - Authentication Type Support (Read Only)
#2 - Authentication Type Enables
#3 - IP Address
#4 - IP Address Source
#5 - MAC Address (can be Read Only)
#6 - Subnet Mask
#7 - IPv4 Header Parameters
...
#12 - Default Gateway Address
...
#20 - 802.1q VLAN ID (12-bit)
#21 - 802.1q VLAN Priority
...
D[3:6] Byte [3:6]
Configuration Parameter Data
per Table 23-4, LAN Configuration Parameters
Data [1:4] - IP Address, MS-byte first
icmd 00 20 30 01 D[1] Byte 1
Request Data Byte 1
[7:4] - reserved
[3:0] - Channel number
03 Byte 2
Parameter Selector
per Table 23-4, LAN Configuration Parameters
#0 - Set In Progress (volatile)
#1 - Authentication Type Support (Read Only)
#2 - Authentication Type Enables
#3 - IP Address
#4 - IP Address Source
#5 - MAC Address (can be Read Only)
#6 - Subnet Mask
#7 - IPv4 Header Parameters
...
#12 - Default Gateway Address
...
#20 - 802.1q VLAN ID (12-bit)
#21 - 802.1q VLAN Priority
...
D[3:6] Byte [3:6]
Configuration Parameter Data
per Table 23-4, LAN Configuration Parameters
Data [1:4] - IP Address, MS-byte first
ipmiutil lan -e -L <lan_channel_num> -I <x.x.x.x>
ilan -e -L <lan_channel_num> -I <x.x.x.x>
[FreeIPMI]Request Data Byte 1
[7:4] - reserved
[3:0] - Channel number
03 Byte 2
Parameter Selector
per Table 23-4, LAN Configuration Parameters
#0 - Set In Progress (volatile)
#1 - Authentication Type Support (Read Only)
#2 - Authentication Type Enables
#3 - IP Address
#4 - IP Address Source
#5 - MAC Address (can be Read Only)
#6 - Subnet Mask
#7 - IPv4 Header Parameters
...
#12 - Default Gateway Address
...
#20 - 802.1q VLAN ID (12-bit)
#21 - 802.1q VLAN Priority
...
D[3:6] Byte [3:6]
Configuration Parameter Data
per Table 23-4, LAN Configuration Parameters
Data [1:4] - IP Address, MS-byte first
icmd 00 20 30 01 D[1] Byte 1
Request Data Byte 1
[7:4] - reserved
[3:0] - Channel number
03 Byte 2
Parameter Selector
per Table 23-4, LAN Configuration Parameters
#0 - Set In Progress (volatile)
#1 - Authentication Type Support (Read Only)
#2 - Authentication Type Enables
#3 - IP Address
#4 - IP Address Source
#5 - MAC Address (can be Read Only)
#6 - Subnet Mask
#7 - IPv4 Header Parameters
...
#12 - Default Gateway Address
...
#20 - 802.1q VLAN ID (12-bit)
#21 - 802.1q VLAN Priority
...
D[3:6] Byte [3:6]
Configuration Parameter Data
per Table 23-4, LAN Configuration Parameters
Data [1:4] - IP Address, MS-byte first
ipmiutil lan -e -L <lan_channel_num> -I <x.x.x.x>
ilan -e -L <lan_channel_num> -I <x.x.x.x>
ipmi-raw 0x00 0x0c 0x01
D[1]
Byte 1
Request Data Byte 1
[7:4] - reserved
[3:0] - Channel number
0x03 Byte 2
Parameter Selector
per Table 23-4, LAN Configuration Parameters
#0 - Set In Progress (volatile)
#1 - Authentication Type Support (Read Only)
#2 - Authentication Type Enables
#3 - IP Address
#4 - IP Address Source
#5 - MAC Address (can be Read Only)
#6 - Subnet Mask
#7 - IPv4 Header Parameters
...
#12 - Default Gateway Address
...
#20 - 802.1q VLAN ID (12-bit)
#21 - 802.1q VLAN Priority
...
D[3:6] Byte [3:6]
Configuration Parameter Data
per Table 23-4, LAN Configuration Parameters
Data [1:4] - IP Address, MS-byte first
ipmi-config --commit --lan-channel-number=<NUMBER> --key-pair=Lan_Conf:IP_Address=<x.x.x.x>
Request Data Byte 1
[7:4] - reserved
[3:0] - Channel number
0x03 Byte 2
Parameter Selector
per Table 23-4, LAN Configuration Parameters
#0 - Set In Progress (volatile)
#1 - Authentication Type Support (Read Only)
#2 - Authentication Type Enables
#3 - IP Address
#4 - IP Address Source
#5 - MAC Address (can be Read Only)
#6 - Subnet Mask
#7 - IPv4 Header Parameters
...
#12 - Default Gateway Address
...
#20 - 802.1q VLAN ID (12-bit)
#21 - 802.1q VLAN Priority
...
D[3:6] Byte [3:6]
Configuration Parameter Data
per Table 23-4, LAN Configuration Parameters
Data [1:4] - IP Address, MS-byte first
ipmi-config --commit --lan-channel-number=<NUMBER> --key-pair=Lan_Conf:IP_Address=<x.x.x.x>
Parameter #4, IP Address Source
[IPMItool]
ipmitool raw 0x0c 0x01
D[1]
Byte 1
Request Data Byte 1
[7:4] - reserved
[3:0] - Channel number
0x04 Byte 2
Parameter Selector
per Table 23-4, LAN Configuration Parameters
#0 - Set In Progress (volatile)
#1 - Authentication Type Support (Read Only)
#2 - Authentication Type Enables
#3 - IP Address
#4 - IP Address Source
#5 - MAC Address (can be Read Only)
#6 - Subnet Mask
#7 - IPv4 Header Parameters
...
#12 - Default Gateway Address
...
#20 - 802.1q VLAN ID (12-bit)
#21 - 802.1q VLAN Priority
...
D[3] Byte [3]
Configuration Parameter Data
per Table 23-4, LAN Configuration Parameters
Data 1
[7:4] - reserved
[3:0] - address source
0h = unspecified
1h = static address (manually configured)
2h = address obtained by BMC running DHCP
3h = address loaded by BIOS or system software
4h = address obtained by BMC running other address assignment protocol
ipmitool lan set <channel> ipsrc <source> source
IP Source
none = unspecified source
static = address manually configured to be static
dhcp = address obtained by BMC running DHCP
bios = address loaded by BIOS or system software
[ipmiutil]Request Data Byte 1
[7:4] - reserved
[3:0] - Channel number
0x04 Byte 2
Parameter Selector
per Table 23-4, LAN Configuration Parameters
#0 - Set In Progress (volatile)
#1 - Authentication Type Support (Read Only)
#2 - Authentication Type Enables
#3 - IP Address
#4 - IP Address Source
#5 - MAC Address (can be Read Only)
#6 - Subnet Mask
#7 - IPv4 Header Parameters
...
#12 - Default Gateway Address
...
#20 - 802.1q VLAN ID (12-bit)
#21 - 802.1q VLAN Priority
...
D[3] Byte [3]
Configuration Parameter Data
per Table 23-4, LAN Configuration Parameters
Data 1
[7:4] - reserved
[3:0] - address source
0h = unspecified
1h = static address (manually configured)
2h = address obtained by BMC running DHCP
3h = address loaded by BIOS or system software
4h = address obtained by BMC running other address assignment protocol
ipmitool lan set <channel> ipsrc <source> source
IP Source
none = unspecified source
static = address manually configured to be static
dhcp = address obtained by BMC running DHCP
bios = address loaded by BIOS or system software
ipmiutil cmd 00 20 30 01
D[1]
Byte 1
Request Data Byte 1
[7:4] - reserved
[3:0] - Channel number
04 Byte 2
Parameter Selector
per Table 23-4, LAN Configuration Parameters
#0 - Set In Progress (volatile)
#1 - Authentication Type Support (Read Only)
#2 - Authentication Type Enables
#3 - IP Address
#4 - IP Address Source
#5 - MAC Address (can be Read Only)
#6 - Subnet Mask
#7 - IPv4 Header Parameters
...
#12 - Default Gateway Address
...
#20 - 802.1q VLAN ID (12-bit)
#21 - 802.1q VLAN Priority
...
D[3] Byte [3]
Configuration Parameter Data
per Table 23-4, LAN Configuration Parameters
Data 1
[7:4] - reserved
[3:0] - address source
0h = unspecified
1h = static address (manually configured)
2h = address obtained by BMC running DHCP
3h = address loaded by BIOS or system software
4h = address obtained by BMC running other address assignment protocol
icmd 00 20 30 01 D[1] Byte 1
Request Data Byte 1
[7:4] - reserved
[3:0] - Channel number
04 Byte 2
Parameter Selector
per Table 23-4, LAN Configuration Parameters
#0 - Set In Progress (volatile)
#1 - Authentication Type Support (Read Only)
#2 - Authentication Type Enables
#3 - IP Address
#4 - IP Address Source
#5 - MAC Address (can be Read Only)
#6 - Subnet Mask
#7 - IPv4 Header Parameters
...
#12 - Default Gateway Address
...
#20 - 802.1q VLAN ID (12-bit)
#21 - 802.1q VLAN Priority
...
D[3] Byte [3]
Configuration Parameter Data
per Table 23-4, LAN Configuration Parameters
Data 1
[7:4] - reserved
[3:0] - address source
0h = unspecified
1h = static address (manually configured)
2h = address obtained by BMC running DHCP
3h = address loaded by BIOS or system software
4h = address obtained by BMC running other address assignment protocol
ipmiutil lan -e -L <lan_channel_num> -D -D
Use DHCP Instead of Static IP
ilan -e -L <lan_channel_num> -D -D
Use DHCP Instead of Static IP
[FreeIPMI]Request Data Byte 1
[7:4] - reserved
[3:0] - Channel number
04 Byte 2
Parameter Selector
per Table 23-4, LAN Configuration Parameters
#0 - Set In Progress (volatile)
#1 - Authentication Type Support (Read Only)
#2 - Authentication Type Enables
#3 - IP Address
#4 - IP Address Source
#5 - MAC Address (can be Read Only)
#6 - Subnet Mask
#7 - IPv4 Header Parameters
...
#12 - Default Gateway Address
...
#20 - 802.1q VLAN ID (12-bit)
#21 - 802.1q VLAN Priority
...
D[3] Byte [3]
Configuration Parameter Data
per Table 23-4, LAN Configuration Parameters
Data 1
[7:4] - reserved
[3:0] - address source
0h = unspecified
1h = static address (manually configured)
2h = address obtained by BMC running DHCP
3h = address loaded by BIOS or system software
4h = address obtained by BMC running other address assignment protocol
icmd 00 20 30 01 D[1] Byte 1
Request Data Byte 1
[7:4] - reserved
[3:0] - Channel number
04 Byte 2
Parameter Selector
per Table 23-4, LAN Configuration Parameters
#0 - Set In Progress (volatile)
#1 - Authentication Type Support (Read Only)
#2 - Authentication Type Enables
#3 - IP Address
#4 - IP Address Source
#5 - MAC Address (can be Read Only)
#6 - Subnet Mask
#7 - IPv4 Header Parameters
...
#12 - Default Gateway Address
...
#20 - 802.1q VLAN ID (12-bit)
#21 - 802.1q VLAN Priority
...
D[3] Byte [3]
Configuration Parameter Data
per Table 23-4, LAN Configuration Parameters
Data 1
[7:4] - reserved
[3:0] - address source
0h = unspecified
1h = static address (manually configured)
2h = address obtained by BMC running DHCP
3h = address loaded by BIOS or system software
4h = address obtained by BMC running other address assignment protocol
ipmiutil lan -e -L <lan_channel_num> -D -D
Use DHCP Instead of Static IP
ilan -e -L <lan_channel_num> -D -D
Use DHCP Instead of Static IP
ipmi-raw 0x00 0x0c 0x01
D[1]
Byte 1
Request Data Byte 1
[7:4] - reserved
[3:0] - Channel number
0x04 Byte 2
Parameter Selector
per Table 23-4, LAN Configuration Parameters
#0 - Set In Progress (volatile)
#1 - Authentication Type Support (Read Only)
#2 - Authentication Type Enables
#3 - IP Address
#4 - IP Address Source
#5 - MAC Address (can be Read Only)
#6 - Subnet Mask
#7 - IPv4 Header Parameters
...
#12 - Default Gateway Address
...
#20 - 802.1q VLAN ID (12-bit)
#21 - 802.1q VLAN Priority
...
D[3] Byte [3]
Configuration Parameter Data
per Table 23-4, LAN Configuration Parameters
Data 1
[7:4] - reserved
[3:0] - address source
0h = unspecified
1h = static address (manually configured)
2h = address obtained by BMC running DHCP
3h = address loaded by BIOS or system software
4h = address obtained by BMC running other address assignment protocol
ipmi-config --commit --key-pair=Lan_Conf:IP_Address_Source=<source> Source
IP Source
Possible values:
Unspecified
Static
Use_DHCP
Use_BIOS
Use_Others
Request Data Byte 1
[7:4] - reserved
[3:0] - Channel number
0x04 Byte 2
Parameter Selector
per Table 23-4, LAN Configuration Parameters
#0 - Set In Progress (volatile)
#1 - Authentication Type Support (Read Only)
#2 - Authentication Type Enables
#3 - IP Address
#4 - IP Address Source
#5 - MAC Address (can be Read Only)
#6 - Subnet Mask
#7 - IPv4 Header Parameters
...
#12 - Default Gateway Address
...
#20 - 802.1q VLAN ID (12-bit)
#21 - 802.1q VLAN Priority
...
D[3] Byte [3]
Configuration Parameter Data
per Table 23-4, LAN Configuration Parameters
Data 1
[7:4] - reserved
[3:0] - address source
0h = unspecified
1h = static address (manually configured)
2h = address obtained by BMC running DHCP
3h = address loaded by BIOS or system software
4h = address obtained by BMC running other address assignment protocol
ipmi-config --commit --key-pair=Lan_Conf:IP_Address_Source=<source> Source
IP Source
Possible values:
Unspecified
Static
Use_DHCP
Use_BIOS
Use_Others
Parameter #5, MAC Address (can be Read Only)
[IPMItool]
ipmitool raw 0x0c 0x01
D[1]
Byte 1
Request Data Byte 1
[7:4] - reserved
[3:0] - Channel number
0x05 Byte 2
Parameter Selector
per Table 23-4, LAN Configuration Parameters
#0 - Set In Progress (volatile)
#1 - Authentication Type Support (Read Only)
#2 - Authentication Type Enables
#3 - IP Address
#4 - IP Address Source
#5 - MAC Address (can be Read Only)
#6 - Subnet Mask
#7 - IPv4 Header Parameters
...
#12 - Default Gateway Address
...
#20 - 802.1q VLAN ID (12-bit)
#21 - 802.1q VLAN Priority
...
D[3:8] Byte [3:8]
Configuration Parameter Data
per Table 23-4, LAN Configuration Parameters
Data 1:6 - MAC Address for messages transmitted from BMC. MS-byte first
An implementation can either allow this parameter to be settable,
or it can be implemented as Read Only
ipmitool lan set <channel> macaddr <x:x:x:x:x:x>
[ipmiutil]Request Data Byte 1
[7:4] - reserved
[3:0] - Channel number
0x05 Byte 2
Parameter Selector
per Table 23-4, LAN Configuration Parameters
#0 - Set In Progress (volatile)
#1 - Authentication Type Support (Read Only)
#2 - Authentication Type Enables
#3 - IP Address
#4 - IP Address Source
#5 - MAC Address (can be Read Only)
#6 - Subnet Mask
#7 - IPv4 Header Parameters
...
#12 - Default Gateway Address
...
#20 - 802.1q VLAN ID (12-bit)
#21 - 802.1q VLAN Priority
...
D[3:8] Byte [3:8]
Configuration Parameter Data
per Table 23-4, LAN Configuration Parameters
Data 1:6 - MAC Address for messages transmitted from BMC. MS-byte first
An implementation can either allow this parameter to be settable,
or it can be implemented as Read Only
ipmitool lan set <channel> macaddr <x:x:x:x:x:x>
ipmiutil cmd 00 20 30 01
D[1]
Byte 1
Request Data Byte 1
[7:4] - reserved
[3:0] - Channel number
05 Byte 2
Parameter Selector
per Table 23-4, LAN Configuration Parameters
#0 - Set In Progress (volatile)
#1 - Authentication Type Support (Read Only)
#2 - Authentication Type Enables
#3 - IP Address
#4 - IP Address Source
#5 - MAC Address (can be Read Only)
#6 - Subnet Mask
#7 - IPv4 Header Parameters
...
#12 - Default Gateway Address
...
#20 - 802.1q VLAN ID (12-bit)
#21 - 802.1q VLAN Priority
...
D[3:8] Byte [3:8]
Configuration Parameter Data
per Table 23-4, LAN Configuration Parameters
Data 1:6 - MAC Address for messages transmitted from BMC. MS-byte first
An implementation can either allow this parameter to be settable,
or it can be implemented as Read Only
icmd 00 20 30 01 D[1] Byte 1
Request Data Byte 1
[7:4] - reserved
[3:0] - Channel number
05 Byte 2
Parameter Selector
per Table 23-4, LAN Configuration Parameters
#0 - Set In Progress (volatile)
#1 - Authentication Type Support (Read Only)
#2 - Authentication Type Enables
#3 - IP Address
#4 - IP Address Source
#5 - MAC Address (can be Read Only)
#6 - Subnet Mask
#7 - IPv4 Header Parameters
...
#12 - Default Gateway Address
...
#20 - 802.1q VLAN ID (12-bit)
#21 - 802.1q VLAN Priority
...
D[3:8] Byte [3:8]
Configuration Parameter Data
per Table 23-4, LAN Configuration Parameters
Data 1:6 - MAC Address for messages transmitted from BMC. MS-byte first
An implementation can either allow this parameter to be settable,
or it can be implemented as Read Only
ipmiutil lan -e -L <lan_channel_num> -M <x:x:x:x:x:x>
ilan -e -L <lan_channel_num> -M <x:x:x:x:x:x>
[FreeIPMI]Request Data Byte 1
[7:4] - reserved
[3:0] - Channel number
05 Byte 2
Parameter Selector
per Table 23-4, LAN Configuration Parameters
#0 - Set In Progress (volatile)
#1 - Authentication Type Support (Read Only)
#2 - Authentication Type Enables
#3 - IP Address
#4 - IP Address Source
#5 - MAC Address (can be Read Only)
#6 - Subnet Mask
#7 - IPv4 Header Parameters
...
#12 - Default Gateway Address
...
#20 - 802.1q VLAN ID (12-bit)
#21 - 802.1q VLAN Priority
...
D[3:8] Byte [3:8]
Configuration Parameter Data
per Table 23-4, LAN Configuration Parameters
Data 1:6 - MAC Address for messages transmitted from BMC. MS-byte first
An implementation can either allow this parameter to be settable,
or it can be implemented as Read Only
icmd 00 20 30 01 D[1] Byte 1
Request Data Byte 1
[7:4] - reserved
[3:0] - Channel number
05 Byte 2
Parameter Selector
per Table 23-4, LAN Configuration Parameters
#0 - Set In Progress (volatile)
#1 - Authentication Type Support (Read Only)
#2 - Authentication Type Enables
#3 - IP Address
#4 - IP Address Source
#5 - MAC Address (can be Read Only)
#6 - Subnet Mask
#7 - IPv4 Header Parameters
...
#12 - Default Gateway Address
...
#20 - 802.1q VLAN ID (12-bit)
#21 - 802.1q VLAN Priority
...
D[3:8] Byte [3:8]
Configuration Parameter Data
per Table 23-4, LAN Configuration Parameters
Data 1:6 - MAC Address for messages transmitted from BMC. MS-byte first
An implementation can either allow this parameter to be settable,
or it can be implemented as Read Only
ipmiutil lan -e -L <lan_channel_num> -M <x:x:x:x:x:x>
ilan -e -L <lan_channel_num> -M <x:x:x:x:x:x>
ipmi-raw 0x00 0x0c 0x01
D[1]
Byte 1
Request Data Byte 1
[7:4] - reserved
[3:0] - Channel number
0x05 Byte 2
Parameter Selector
per Table 23-4, LAN Configuration Parameters
#0 - Set In Progress (volatile)
#1 - Authentication Type Support (Read Only)
#2 - Authentication Type Enables
#3 - IP Address
#4 - IP Address Source
#5 - MAC Address (can be Read Only)
#6 - Subnet Mask
#7 - IPv4 Header Parameters
...
#12 - Default Gateway Address
...
#20 - 802.1q VLAN ID (12-bit)
#21 - 802.1q VLAN Priority
...
D[3:8] Byte [3:8]
Configuration Parameter Data
per Table 23-4, LAN Configuration Parameters
Data 1:6 - MAC Address for messages transmitted from BMC. MS-byte first
An implementation can either allow this parameter to be settable,
or it can be implemented as Read Only
ipmi-config --commit --lan-channel-number=<NUMBER> --key-pair=Lan_Conf:MAC_Address=<x:x:x:x:x:x>
Request Data Byte 1
[7:4] - reserved
[3:0] - Channel number
0x05 Byte 2
Parameter Selector
per Table 23-4, LAN Configuration Parameters
#0 - Set In Progress (volatile)
#1 - Authentication Type Support (Read Only)
#2 - Authentication Type Enables
#3 - IP Address
#4 - IP Address Source
#5 - MAC Address (can be Read Only)
#6 - Subnet Mask
#7 - IPv4 Header Parameters
...
#12 - Default Gateway Address
...
#20 - 802.1q VLAN ID (12-bit)
#21 - 802.1q VLAN Priority
...
D[3:8] Byte [3:8]
Configuration Parameter Data
per Table 23-4, LAN Configuration Parameters
Data 1:6 - MAC Address for messages transmitted from BMC. MS-byte first
An implementation can either allow this parameter to be settable,
or it can be implemented as Read Only
ipmi-config --commit --lan-channel-number=<NUMBER> --key-pair=Lan_Conf:MAC_Address=<x:x:x:x:x:x>
Parameter #6, Subnet Mask
[IPMItool]
ipmitool raw 0x0c 0x01
D[1]
Byte 1
Request Data Byte 1
[7:4] - reserved
[3:0] - Channel number
0x06 Byte 2
Parameter Selector
per Table 23-4, LAN Configuration Parameters
#0 - Set In Progress (volatile)
#1 - Authentication Type Support (Read Only)
#2 - Authentication Type Enables
#3 - IP Address
#4 - IP Address Source
#5 - MAC Address (can be Read Only)
#6 - Subnet Mask
#7 - IPv4 Header Parameters
...
#12 - Default Gateway Address
...
#20 - 802.1q VLAN ID (12-bit)
#21 - 802.1q VLAN Priority
...
D[3:6] Byte [3:6]
Configuration Parameter Data
per Table 23-4, LAN Configuration Parameters
Data 1:4 - Subnet Mask. MS-byte first
ipmitool lan set <channel> netmask <x.x.x.x>
[ipmiutil]Request Data Byte 1
[7:4] - reserved
[3:0] - Channel number
0x06 Byte 2
Parameter Selector
per Table 23-4, LAN Configuration Parameters
#0 - Set In Progress (volatile)
#1 - Authentication Type Support (Read Only)
#2 - Authentication Type Enables
#3 - IP Address
#4 - IP Address Source
#5 - MAC Address (can be Read Only)
#6 - Subnet Mask
#7 - IPv4 Header Parameters
...
#12 - Default Gateway Address
...
#20 - 802.1q VLAN ID (12-bit)
#21 - 802.1q VLAN Priority
...
D[3:6] Byte [3:6]
Configuration Parameter Data
per Table 23-4, LAN Configuration Parameters
Data 1:4 - Subnet Mask. MS-byte first
ipmitool lan set <channel> netmask <x.x.x.x>
ipmiutil cmd 00 20 30 01
D[1]
Byte 1
Request Data Byte 1
[7:4] - reserved
[3:0] - Channel number
06 Byte 2
Parameter Selector
per Table 23-4, LAN Configuration Parameters
#0 - Set In Progress (volatile)
#1 - Authentication Type Support (Read Only)
#2 - Authentication Type Enables
#3 - IP Address
#4 - IP Address Source
#5 - MAC Address (can be Read Only)
#6 - Subnet Mask
#7 - IPv4 Header Parameters
...
#12 - Default Gateway Address
...
#20 - 802.1q VLAN ID (12-bit)
#21 - 802.1q VLAN Priority
...
D[3:6] Byte [3:6]
Configuration Parameter Data
per Table 23-4, LAN Configuration Parameters
Data 1:4 - Subnet Mask. MS-byte first
icmd 00 20 30 01 D[1] Byte 1
Request Data Byte 1
[7:4] - reserved
[3:0] - Channel number
06 Byte 2
Parameter Selector
per Table 23-4, LAN Configuration Parameters
#0 - Set In Progress (volatile)
#1 - Authentication Type Support (Read Only)
#2 - Authentication Type Enables
#3 - IP Address
#4 - IP Address Source
#5 - MAC Address (can be Read Only)
#6 - Subnet Mask
#7 - IPv4 Header Parameters
...
#12 - Default Gateway Address
...
#20 - 802.1q VLAN ID (12-bit)
#21 - 802.1q VLAN Priority
...
D[3:6] Byte [3:6]
Configuration Parameter Data
per Table 23-4, LAN Configuration Parameters
Data 1:4 - Subnet Mask. MS-byte first
ipmiutil lan -e -L <lan_channel_num> -S <x.x.x.x>
ilan -e -L <lan_channel_num> -S <x.x.x.x>
[FreeIPMI]Request Data Byte 1
[7:4] - reserved
[3:0] - Channel number
06 Byte 2
Parameter Selector
per Table 23-4, LAN Configuration Parameters
#0 - Set In Progress (volatile)
#1 - Authentication Type Support (Read Only)
#2 - Authentication Type Enables
#3 - IP Address
#4 - IP Address Source
#5 - MAC Address (can be Read Only)
#6 - Subnet Mask
#7 - IPv4 Header Parameters
...
#12 - Default Gateway Address
...
#20 - 802.1q VLAN ID (12-bit)
#21 - 802.1q VLAN Priority
...
D[3:6] Byte [3:6]
Configuration Parameter Data
per Table 23-4, LAN Configuration Parameters
Data 1:4 - Subnet Mask. MS-byte first
icmd 00 20 30 01 D[1] Byte 1
Request Data Byte 1
[7:4] - reserved
[3:0] - Channel number
06 Byte 2
Parameter Selector
per Table 23-4, LAN Configuration Parameters
#0 - Set In Progress (volatile)
#1 - Authentication Type Support (Read Only)
#2 - Authentication Type Enables
#3 - IP Address
#4 - IP Address Source
#5 - MAC Address (can be Read Only)
#6 - Subnet Mask
#7 - IPv4 Header Parameters
...
#12 - Default Gateway Address
...
#20 - 802.1q VLAN ID (12-bit)
#21 - 802.1q VLAN Priority
...
D[3:6] Byte [3:6]
Configuration Parameter Data
per Table 23-4, LAN Configuration Parameters
Data 1:4 - Subnet Mask. MS-byte first
ipmiutil lan -e -L <lan_channel_num> -S <x.x.x.x>
ilan -e -L <lan_channel_num> -S <x.x.x.x>
ipmi-raw 0x00 0x0c 0x01
D[1]
Byte 1
Request Data Byte 1
[7:4] - reserved
[3:0] - Channel number
0x06 Byte 2
Parameter Selector
per Table 23-4, LAN Configuration Parameters
#0 - Set In Progress (volatile)
#1 - Authentication Type Support (Read Only)
#2 - Authentication Type Enables
#3 - IP Address
#4 - IP Address Source
#5 - MAC Address (can be Read Only)
#6 - Subnet Mask
#7 - IPv4 Header Parameters
...
#12 - Default Gateway Address
...
#20 - 802.1q VLAN ID (12-bit)
#21 - 802.1q VLAN Priority
...
D[3:6] Byte [3:6]
Configuration Parameter Data
per Table 23-4, LAN Configuration Parameters
Data 1:4 - Subnet Mask. MS-byte first
ipmi-config --commit --lan-channel-number=<NUMBER> --key-pair=Lan_Conf:Subnet_Mask=<x.x.x.x>
Request Data Byte 1
[7:4] - reserved
[3:0] - Channel number
0x06 Byte 2
Parameter Selector
per Table 23-4, LAN Configuration Parameters
#0 - Set In Progress (volatile)
#1 - Authentication Type Support (Read Only)
#2 - Authentication Type Enables
#3 - IP Address
#4 - IP Address Source
#5 - MAC Address (can be Read Only)
#6 - Subnet Mask
#7 - IPv4 Header Parameters
...
#12 - Default Gateway Address
...
#20 - 802.1q VLAN ID (12-bit)
#21 - 802.1q VLAN Priority
...
D[3:6] Byte [3:6]
Configuration Parameter Data
per Table 23-4, LAN Configuration Parameters
Data 1:4 - Subnet Mask. MS-byte first
ipmi-config --commit --lan-channel-number=<NUMBER> --key-pair=Lan_Conf:Subnet_Mask=<x.x.x.x>
Parameter #12, Default Gateway Address
[IPMItool]
ipmitool raw 0x0c 0x01
D[1]
Byte 1
Request Data Byte 1
[7:4] - reserved
[3:0] - Channel number
0x0c Byte 2
Parameter Selector
per Table 23-4, LAN Configuration Parameters
#0 - Set In Progress (volatile)
#1 - Authentication Type Support (Read Only)
#2 - Authentication Type Enables
#3 - IP Address
#4 - IP Address Source
#5 - MAC Address (can be Read Only)
#6 - Subnet Mask
#7 - IPv4 Header Parameters
...
#12 - Default Gateway Address
...
#20 - 802.1q VLAN ID (12-bit)
#21 - 802.1q VLAN Priority
...
D[3:6] Byte [3:6]
Configuration Parameter Data
per Table 23-4, LAN Configuration Parameters
Data 1:4 - IP Address. MS-byte first
This is the address of the gateway (router) used when the BMC sends a message or alert to a party on a different subnet than the one the BMC is on
ipmitool lan set <channel> defgw ipaddr <x.x.x.x>
[ipmiutil]Request Data Byte 1
[7:4] - reserved
[3:0] - Channel number
0x0c Byte 2
Parameter Selector
per Table 23-4, LAN Configuration Parameters
#0 - Set In Progress (volatile)
#1 - Authentication Type Support (Read Only)
#2 - Authentication Type Enables
#3 - IP Address
#4 - IP Address Source
#5 - MAC Address (can be Read Only)
#6 - Subnet Mask
#7 - IPv4 Header Parameters
...
#12 - Default Gateway Address
...
#20 - 802.1q VLAN ID (12-bit)
#21 - 802.1q VLAN Priority
...
D[3:6] Byte [3:6]
Configuration Parameter Data
per Table 23-4, LAN Configuration Parameters
Data 1:4 - IP Address. MS-byte first
This is the address of the gateway (router) used when the BMC sends a message or alert to a party on a different subnet than the one the BMC is on
ipmitool lan set <channel> defgw ipaddr <x.x.x.x>
ipmiutil cmd 00 20 30 01
D[1]
Byte 1
Request Data Byte 1
[7:4] - reserved
[3:0] - Channel number
0c Byte 2
Parameter Selector
per Table 23-4, LAN Configuration Parameters
#0 - Set In Progress (volatile)
#1 - Authentication Type Support (Read Only)
#2 - Authentication Type Enables
#3 - IP Address
#4 - IP Address Source
#5 - MAC Address (can be Read Only)
#6 - Subnet Mask
#7 - IPv4 Header Parameters
...
#12 - Default Gateway Address
...
#20 - 802.1q VLAN ID (12-bit)
#21 - 802.1q VLAN Priority
...
D[3:6] Byte [3:6]
Configuration Parameter Data
per Table 23-4, LAN Configuration Parameters
Data 1:4 - IP Address. MS-byte first
This is the address of the gateway (router) used when the BMC sends a message or alert to a party on a different subnet than the one the BMC is on
icmd 00 20 30 01 D[1] Byte 1
Request Data Byte 1
[7:4] - reserved
[3:0] - Channel number
0c Byte 2
Parameter Selector
per Table 23-4, LAN Configuration Parameters
#0 - Set In Progress (volatile)
#1 - Authentication Type Support (Read Only)
#2 - Authentication Type Enables
#3 - IP Address
#4 - IP Address Source
#5 - MAC Address (can be Read Only)
#6 - Subnet Mask
#7 - IPv4 Header Parameters
...
#12 - Default Gateway Address
...
#20 - 802.1q VLAN ID (12-bit)
#21 - 802.1q VLAN Priority
...
D[3:6] Byte [3:6]
Configuration Parameter Data
per Table 23-4, LAN Configuration Parameters
Data 1:4 - IP Address. MS-byte first
This is the address of the gateway (router) used when the BMC sends a message or alert to a party on a different subnet than the one the BMC is on
ipmiutil lan -e -L <lan_channel_num> -G <x.x.x.x>
ilan -e -L <lan_channel_num> -G <x.x.x.x>
[FreeIPMI]Request Data Byte 1
[7:4] - reserved
[3:0] - Channel number
0c Byte 2
Parameter Selector
per Table 23-4, LAN Configuration Parameters
#0 - Set In Progress (volatile)
#1 - Authentication Type Support (Read Only)
#2 - Authentication Type Enables
#3 - IP Address
#4 - IP Address Source
#5 - MAC Address (can be Read Only)
#6 - Subnet Mask
#7 - IPv4 Header Parameters
...
#12 - Default Gateway Address
...
#20 - 802.1q VLAN ID (12-bit)
#21 - 802.1q VLAN Priority
...
D[3:6] Byte [3:6]
Configuration Parameter Data
per Table 23-4, LAN Configuration Parameters
Data 1:4 - IP Address. MS-byte first
This is the address of the gateway (router) used when the BMC sends a message or alert to a party on a different subnet than the one the BMC is on
icmd 00 20 30 01 D[1] Byte 1
Request Data Byte 1
[7:4] - reserved
[3:0] - Channel number
0c Byte 2
Parameter Selector
per Table 23-4, LAN Configuration Parameters
#0 - Set In Progress (volatile)
#1 - Authentication Type Support (Read Only)
#2 - Authentication Type Enables
#3 - IP Address
#4 - IP Address Source
#5 - MAC Address (can be Read Only)
#6 - Subnet Mask
#7 - IPv4 Header Parameters
...
#12 - Default Gateway Address
...
#20 - 802.1q VLAN ID (12-bit)
#21 - 802.1q VLAN Priority
...
D[3:6] Byte [3:6]
Configuration Parameter Data
per Table 23-4, LAN Configuration Parameters
Data 1:4 - IP Address. MS-byte first
This is the address of the gateway (router) used when the BMC sends a message or alert to a party on a different subnet than the one the BMC is on
ipmiutil lan -e -L <lan_channel_num> -G <x.x.x.x>
ilan -e -L <lan_channel_num> -G <x.x.x.x>
ipmi-raw 0x00 0x0c 0x01
D[1]
Byte 1
Request Data Byte 1
[7:4] - reserved
[3:0] - Channel number
0x0c Byte 2
Parameter Selector
per Table 23-4, LAN Configuration Parameters
#0 - Set In Progress (volatile)
#1 - Authentication Type Support (Read Only)
#2 - Authentication Type Enables
#3 - IP Address
#4 - IP Address Source
#5 - MAC Address (can be Read Only)
#6 - Subnet Mask
#7 - IPv4 Header Parameters
...
#12 - Default Gateway Address
...
#20 - 802.1q VLAN ID (12-bit)
#21 - 802.1q VLAN Priority
...
D[3:6] Byte [3:6]
Configuration Parameter Data
per Table 23-4, LAN Configuration Parameters
Data 1:4 - IP Address. MS-byte first
This is the address of the gateway (router) used when the BMC sends a message or alert to a party on a different subnet than the one the BMC is on
ipmi-config --commit --lan-channel-number=<NUMBER> --key-pair=Lan_Conf:Default_Gateway_IP_Address=<x.x.x.x>
Request Data Byte 1
[7:4] - reserved
[3:0] - Channel number
0x0c Byte 2
Parameter Selector
per Table 23-4, LAN Configuration Parameters
#0 - Set In Progress (volatile)
#1 - Authentication Type Support (Read Only)
#2 - Authentication Type Enables
#3 - IP Address
#4 - IP Address Source
#5 - MAC Address (can be Read Only)
#6 - Subnet Mask
#7 - IPv4 Header Parameters
...
#12 - Default Gateway Address
...
#20 - 802.1q VLAN ID (12-bit)
#21 - 802.1q VLAN Priority
...
D[3:6] Byte [3:6]
Configuration Parameter Data
per Table 23-4, LAN Configuration Parameters
Data 1:4 - IP Address. MS-byte first
This is the address of the gateway (router) used when the BMC sends a message or alert to a party on a different subnet than the one the BMC is on
ipmi-config --commit --lan-channel-number=<NUMBER> --key-pair=Lan_Conf:Default_Gateway_IP_Address=<x.x.x.x>
--Completion Code--
80h = parameter not supported
81h = attempt to set the 'set in progress' value (in parameter #0) when not in the 'set complete' state
82h = attempt to write read-only parameter
83h = attempt to read write-only parameter
For example
Hint:
hover over
Place your mouse over the highlighted area in below81h = attempt to set the 'set in progress' value (in parameter #0) when not in the 'set complete' state
82h = attempt to write read-only parameter
83h = attempt to read write-only parameter
for Response Data description
NOTE: BMC LAN eth0 is on Channel 1 and eth1 is on Channel 8
[IPMI tool in Linux]
Enable LAN Channel Access
$ ipmitool lan set 0x01 access on
Set Channel Access for channel 1 was successful.
Set MAC Address by RAW CommandSet Channel Access for channel 1 was successful.
$ ipmitool raw 0x0c 0x01 0x01 0xc2 0x00
$ ipmitool raw 0x0c 0x01 0x01 0x05 0x8c 0x89 0xa5 0x15 0xaa 0xbb
Set MAC Address$ ipmitool raw 0x0c 0x01 0x01 0x05 0x8c 0x89 0xa5 0x15 0xaa 0xbb
$ ipmitool raw 0x0c 0x01 0x01 0xc2 0x00
$ ipmitool lan set 0x01 macaddr 8c:88:a5:15:aa:bb
Setting LAN MAC Address to 8c:88:a5:15:aa:bb
Set Static IP Address by RAW Command$ ipmitool lan set 0x01 macaddr 8c:88:a5:15:aa:bb
Setting LAN MAC Address to 8c:88:a5:15:aa:bb
$ ipmitool raw 0x0c 0x01 0x01 0x00 0x01
$ ipmitool raw 0x0c 0x01 0x01 0x04 0x01
$ ipmitool raw 0x0c 0x01 0x01 0x03 0xc0 0xa8 0x01 0x05
$ ipmitool raw 0x0c 0x01 0x01 0x06 0xff 0xff 0xff 0x00
Set Static IP Address Assignment$ ipmitool raw 0x0c 0x01 0x01 0x04 0x01
$ ipmitool raw 0x0c 0x01 0x01 0x03 0xc0 0xa8 0x01 0x05
$ ipmitool raw 0x0c 0x01 0x01 0x06 0xff 0xff 0xff 0x00
$ ipmitool lan set 0x01 ipsrc static
$ ipmitool lan set 0x01 ipaddr 192.168.1.5
Setting LAN IP Address to 192.168.1.5
$ ipmitool lan set 0x01 netmask 255.255.255.0
Setting LAN Subnet Mask to 255.255.255.0
Set IP Source to DHCP by RAW Command$ ipmitool lan set 0x01 ipaddr 192.168.1.5
Setting LAN IP Address to 192.168.1.5
$ ipmitool lan set 0x01 netmask 255.255.255.0
Setting LAN Subnet Mask to 255.255.255.0
$ ipmitool raw 0x0c 0x01 0x01 0x03 0x00 0x00 0x00 0x00
$ ipmitool raw 0x0c 0x01 0x01 0x04 0x02
$ ipmitool raw 0x06 0x02
Set IP Source to DHC Assignment$ ipmitool raw 0x0c 0x01 0x01 0x04 0x02
$ ipmitool raw 0x06 0x02
$ ipmitool lan set 0x01 ipsrc dhcp
[ipmiutil in Linux]Set MAC Address
$ icmd 00 20 30 01 01 c2 00
$ icmd 00 20 30 01 01 05 8c 89 a5 15 aa bb
$ ilan -e -L 1 -M 8c:88:a5:15:aa:bb
Set Static IP Address$ icmd 00 20 30 01 01 05 8c 89 a5 15 aa bb
$ ilan -e -L 1 -M 8c:88:a5:15:aa:bb
$ icmd 00 20 30 01 01 00 01
$ icmd 00 20 30 01 01 04 01
$ icmd 00 20 30 01 01 03 c0 a8 01 05
$ icmd 00 20 30 01 01 06 ff ff ff 00
$ ilan -e -L 1 -I 192.168.1.5 -S 255.255.255.0
Set IP Source to DHC Assignment$ icmd 00 20 30 01 01 04 01
$ icmd 00 20 30 01 01 03 c0 a8 01 05
$ icmd 00 20 30 01 01 06 ff ff ff 00
$ ilan -e -L 1 -I 192.168.1.5 -S 255.255.255.0
$ icmd 00 20 30 01 01 04 02
$ ilan -e -L 1 -D
[FreeIPMI in Linux]$ ilan -e -L 1 -D
Set MAC Address
$ ipmi-raw 0x00 0x0c 0x01 0x01 0xc2 0x00
$ ipmi-raw 0x00 0x0c 0x01 0x01 0x05 0x8c 0x89 0xa5 0x15 0xaa 0xbb
$ ipmi-config --commit --lan-channel-number=1 --key-pair=Lan_Conf:MAC_Address8c:88:a5:15:aa:bb
Set Static IP Address$ ipmi-raw 0x00 0x0c 0x01 0x01 0x05 0x8c 0x89 0xa5 0x15 0xaa 0xbb
$ ipmi-config --commit --lan-channel-number=1 --key-pair=Lan_Conf:MAC_Address8c:88:a5:15:aa:bb
$ ipmi-raw 0x00 0x0c 0x01 0x01 0x00 0x01
$ ipmi-raw 0x00 0x0c 0x01 0x01 0x04 0x01
$ ipmi-raw 0x00 0x0c 0x01 0x01 0x03 0xc0 0xa8 0x01 0x05
$ ipmi-raw 0x00 0x0c 0x01 0x01 0x06 0xff 0xff 0xff 0x00
$ ipmi-config --commit --lan-channel-number=1 --key-pair=Lan_Conf:IP_Address_Source=Static
$ ipmi-config --commit --lan-channel-number=1 --key-pair=Lan_Conf:IP_Address=192.168.1.5
$ ipmi-config --commit --lan-channel-number=1 --key-pair=Lan_Conf:Subnet_Mask=255.255.255.0
Set IP Source to DHC Assignment$ ipmi-raw 0x00 0x0c 0x01 0x01 0x04 0x01
$ ipmi-raw 0x00 0x0c 0x01 0x01 0x03 0xc0 0xa8 0x01 0x05
$ ipmi-raw 0x00 0x0c 0x01 0x01 0x06 0xff 0xff 0xff 0x00
$ ipmi-config --commit --lan-channel-number=1 --key-pair=Lan_Conf:IP_Address_Source=Static
$ ipmi-config --commit --lan-channel-number=1 --key-pair=Lan_Conf:IP_Address=192.168.1.5
$ ipmi-config --commit --lan-channel-number=1 --key-pair=Lan_Conf:Subnet_Mask=255.255.255.0
$ ipmi-raw 0x00 0x0c 0x01 0x01 0x04 0x02
$ ipmi-config --commit --lan-channel-number=1 --key-pair=Lan_Conf:IP_Address_Source=Use_DHCP
[IPMI tool under DOS]$ ipmi-config --commit --lan-channel-number=1 --key-pair=Lan_Conf:IP_Address_Source=Use_DHCP
Set MAC Address
C:\> ipmitool 20 30 01 01 c2 00
C:\> ipmitool 20 30 01 01 05 8c 89 a5 15 aa bb
Set Static IP AddressC:\> ipmitool 20 30 01 01 05 8c 89 a5 15 aa bb
C:\> ipmitool 20 30 01 01 00 01
C:\> ipmitool 20 30 01 01 04 01
C:\> ipmitool 20 30 01 01 03 c0 a8 01 05
C:\> ipmitool 20 30 01 01 06 ff ff ff 00
Set IP Source to DHC AssignmentC:\> ipmitool 20 30 01 01 04 01
C:\> ipmitool 20 30 01 01 03 c0 a8 01 05
C:\> ipmitool 20 30 01 01 06 ff ff ff 00
C:\> ipmitool 20 30 01 01 03 00 00 00 00
C:\> ipmitool 20 30 01 01 04 02
C:\> ipmitool 20 18 02
C:\> ipmitool 20 30 01 01 04 02
C:\> ipmitool 20 18 02
Get LAN Configuration Parameters - NetFn = Transport (0x0ch), CMD = 0x02h, Privilege Level = Operator, M/O = M
| Linux |
[IPMItool]
ipmitool raw 0x0c 0x02
D[1]
Byte 1
Request Data Byte 1
[7] - 0b = get parameter
1b = get parameter revision only
[6:4] - reserved
[3:0] - Channel number
D[2] Byte 2
Parameter Selector
D[3] Byte 3
Set Selector
Selects a given set of parameters under a given Parameter selector value
00h if parameter doesn't use a Set Selector
D[4] Byte 4
Block Selector
00h if parameter does not require a block number
ipmitool lan print [<channel number>]
[ipmiutil]Request Data Byte 1
[7] - 0b = get parameter
1b = get parameter revision only
[6:4] - reserved
[3:0] - Channel number
D[2] Byte 2
Parameter Selector
D[3] Byte 3
Set Selector
Selects a given set of parameters under a given Parameter selector value
00h if parameter doesn't use a Set Selector
D[4] Byte 4
Block Selector
00h if parameter does not require a block number
ipmitool lan print [<channel number>]
ipmiutil cmd 00 20 30 02
D[1]
Byte 1
Request Data Byte 1
[7] - 0b = get parameter
1b = get parameter revision only
[6:4] - reserved
[3:0] - Channel number
D[2] Byte 2
Parameter Selector
D[3] Byte 3
Set Selector
Selects a given set of parameters under a given Parameter selector value
00h if parameter doesn't use a Set Selector
D[4] Byte 4
Block Selector
00h if parameter does not require a block number
icmd 00 20 30 02 D[1] Byte 1
Request Data Byte 1
[7] - 0b = get parameter
1b = get parameter revision only
[6:4] - reserved
[3:0] - Channel number
D[2] Byte 2
Parameter Selector
D[3] Byte 3
Set Selector
Selects a given set of parameters under a given Parameter selector value
00h if parameter doesn't use a Set Selector
D[4] Byte 4
Block Selector
00h if parameter does not require a block number
ilan -L <lan_channel_num>
[FreeIPMI]Request Data Byte 1
[7] - 0b = get parameter
1b = get parameter revision only
[6:4] - reserved
[3:0] - Channel number
D[2] Byte 2
Parameter Selector
D[3] Byte 3
Set Selector
Selects a given set of parameters under a given Parameter selector value
00h if parameter doesn't use a Set Selector
D[4] Byte 4
Block Selector
00h if parameter does not require a block number
icmd 00 20 30 02 D[1] Byte 1
Request Data Byte 1
[7] - 0b = get parameter
1b = get parameter revision only
[6:4] - reserved
[3:0] - Channel number
D[2] Byte 2
Parameter Selector
D[3] Byte 3
Set Selector
Selects a given set of parameters under a given Parameter selector value
00h if parameter doesn't use a Set Selector
D[4] Byte 4
Block Selector
00h if parameter does not require a block number
ilan -L <lan_channel_num>
ipmi-raw 0x00 0x0c 0x02
D[1]
Byte 1
Request Data Byte 1
[7] - 0b = get parameter
1b = get parameter revision only
[6:4] - reserved
[3:0] - Channel number
D[2] Byte 2
Parameter Selector
D[3] Byte 3
Set Selector
Selects a given set of parameters under a given Parameter selector value
00h if parameter doesn't use a Set Selector
D[4] Byte 4
Block Selector
00h if parameter does not require a block number
ipmi-config --checkout --lan-channel-number=<NUMBER>
| MS-DOS |Request Data Byte 1
[7] - 0b = get parameter
1b = get parameter revision only
[6:4] - reserved
[3:0] - Channel number
D[2] Byte 2
Parameter Selector
D[3] Byte 3
Set Selector
Selects a given set of parameters under a given Parameter selector value
00h if parameter doesn't use a Set Selector
D[4] Byte 4
Block Selector
00h if parameter does not require a block number
ipmi-config --checkout --lan-channel-number=<NUMBER>
[ipmitool]
ipmitool 20 30 02 Data[1:4]
--Completion Code--
80h = parameter not supported
For example
[IPMI tool in Linux]
Get MAC Address
$ ipmitool raw 0x0c 0x02
0x01
Byte 1
Request Data Byte 1
[7] - 0b = get parameter
1b = get parameter revision only
[6:4] - reserved
[3:0] - Channel number
0x05 Byte 2
Parameter Selector
per Table 23-4, LAN Configuration Parameters
#0 - Set In Progress (volatile)
#1 - Authentication Type Support (Read Only)
#2 - Authentication Type Enables
#3 - IP Address
#4 - IP Address Source
#5 - MAC Address (can be Read Only)
#6 - Subnet Mask
#7 - IPv4 Header Parameters
...
#12 - Default Gateway Address
...
#20 - 802.1q VLAN ID (12-bit)
#21 - 802.1q VLAN Priority
...
0x00 Byte 3
Set Selector
Selects a given set of parameters under a given Parameter selector value
00h if parameter doesn't use a Set Selector
0x00 Byte 4
Block Selector
00h if parameter does not require a block number
11 Byte 2
Response Data Byte 2
[7:0] - Parameter revision
Format: MSN = present revision
LSN = oldest revision parameter is backward compatible with
11h for parameters in this specification
8c 88 a5 15 aa bb Byte [3:8]
Response Data Byte [3:8]
per Table 23-4, LAN Configuration Parameters
Data 1:6 - MAC Address for messages transmitted from BMC, MS-byte first
Get IP AddressRequest Data Byte 1
[7] - 0b = get parameter
1b = get parameter revision only
[6:4] - reserved
[3:0] - Channel number
0x05 Byte 2
Parameter Selector
per Table 23-4, LAN Configuration Parameters
#0 - Set In Progress (volatile)
#1 - Authentication Type Support (Read Only)
#2 - Authentication Type Enables
#3 - IP Address
#4 - IP Address Source
#5 - MAC Address (can be Read Only)
#6 - Subnet Mask
#7 - IPv4 Header Parameters
...
#12 - Default Gateway Address
...
#20 - 802.1q VLAN ID (12-bit)
#21 - 802.1q VLAN Priority
...
0x00 Byte 3
Set Selector
Selects a given set of parameters under a given Parameter selector value
00h if parameter doesn't use a Set Selector
0x00 Byte 4
Block Selector
00h if parameter does not require a block number
11 Byte 2
Response Data Byte 2
[7:0] - Parameter revision
Format: MSN = present revision
LSN = oldest revision parameter is backward compatible with
11h for parameters in this specification
8c 88 a5 15 aa bb Byte [3:8]
Response Data Byte [3:8]
per Table 23-4, LAN Configuration Parameters
Data 1:6 - MAC Address for messages transmitted from BMC, MS-byte first
$ ipmitool raw 0x0c 0x02
0x01
Byte 1
Request Data Byte 1
[7] - 0b = get parameter
1b = get parameter revision only
[6:4] - reserved
[3:0] - Channel number
0x03 Byte 2
Parameter Selector
per Table 23-4, LAN Configuration Parameters
#0 - Set In Progress (volatile)
#1 - Authentication Type Support (Read Only)
#2 - Authentication Type Enables
#3 - IP Address
#4 - IP Address Source
#5 - MAC Address (can be Read Only)
#6 - Subnet Mask
#7 - IPv4 Header Parameters
...
#12 - Default Gateway Address
...
#20 - 802.1q VLAN ID (12-bit)
#21 - 802.1q VLAN Priority
...
0x00 Byte 3
Set Selector
Selects a given set of parameters under a given Parameter selector value
00h if parameter doesn't use a Set Selector
0x00 Byte 4
Block Selector
00h if parameter does not require a block number
11 Byte 2
Response Data Byte 2
[7:0] - Parameter revision
Format: MSN = present revision
LSN = oldest revision parameter is backward compatible with
11h for parameters in this specification
c0 a8 01 05 Byte [3:6]
Response Data Byte [3:6]
per Table 23-4, LAN Configuration Parameters
Data 1:4 - IP Address, MS-byte first
Get IP Address SourceRequest Data Byte 1
[7] - 0b = get parameter
1b = get parameter revision only
[6:4] - reserved
[3:0] - Channel number
0x03 Byte 2
Parameter Selector
per Table 23-4, LAN Configuration Parameters
#0 - Set In Progress (volatile)
#1 - Authentication Type Support (Read Only)
#2 - Authentication Type Enables
#3 - IP Address
#4 - IP Address Source
#5 - MAC Address (can be Read Only)
#6 - Subnet Mask
#7 - IPv4 Header Parameters
...
#12 - Default Gateway Address
...
#20 - 802.1q VLAN ID (12-bit)
#21 - 802.1q VLAN Priority
...
0x00 Byte 3
Set Selector
Selects a given set of parameters under a given Parameter selector value
00h if parameter doesn't use a Set Selector
0x00 Byte 4
Block Selector
00h if parameter does not require a block number
11 Byte 2
Response Data Byte 2
[7:0] - Parameter revision
Format: MSN = present revision
LSN = oldest revision parameter is backward compatible with
11h for parameters in this specification
c0 a8 01 05 Byte [3:6]
Response Data Byte [3:6]
per Table 23-4, LAN Configuration Parameters
Data 1:4 - IP Address, MS-byte first
$ ipmitool raw 0x0c 0x02 0x01
0x01
Byte 1
Request Data Byte 1
[7] - 0b = get parameter
1b = get parameter revision only
[6:4] - reserved
[3:0] - Channel number
0x04 Byte 2
Parameter Selector
per Table 23-4, LAN Configuration Parameters
#0 - Set In Progress (volatile)
#1 - Authentication Type Support (Read Only)
#2 - Authentication Type Enables
#3 - IP Address
#4 - IP Address Source
#5 - MAC Address (can be Read Only)
#6 - Subnet Mask
#7 - IPv4 Header Parameters
...
#12 - Default Gateway Address
...
#20 - 802.1q VLAN ID (12-bit)
#21 - 802.1q VLAN Priority
...
0x00 Byte 3
Set Selector
Selects a given set of parameters under a given Parameter selector value
00h if parameter doesn't use a Set Selector
0x00 Byte 4
Block Selector
00h if parameter does not require a block number
11 Byte 2
Response Data Byte 2
[7:0] - Parameter revision
Format: MSN = present revision
LSN = oldest revision parameter is backward compatible with
11h for parameters in this specification
01 Byte [3]
Response Data Byte [3]
per Table 23-4, LAN Configuration Parameters
Data 1
[7:4] - reserved
[3:0] - address source
0h = unspecified
1h = static address (manually configured)
2h = address obtained by BMC running DHCP
3h = address loaded by BIOS or system software
4h = address obtained by BMC running other address assignment protocol
Get LAN Configuration ParametersRequest Data Byte 1
[7] - 0b = get parameter
1b = get parameter revision only
[6:4] - reserved
[3:0] - Channel number
0x04 Byte 2
Parameter Selector
per Table 23-4, LAN Configuration Parameters
#0 - Set In Progress (volatile)
#1 - Authentication Type Support (Read Only)
#2 - Authentication Type Enables
#3 - IP Address
#4 - IP Address Source
#5 - MAC Address (can be Read Only)
#6 - Subnet Mask
#7 - IPv4 Header Parameters
...
#12 - Default Gateway Address
...
#20 - 802.1q VLAN ID (12-bit)
#21 - 802.1q VLAN Priority
...
0x00 Byte 3
Set Selector
Selects a given set of parameters under a given Parameter selector value
00h if parameter doesn't use a Set Selector
0x00 Byte 4
Block Selector
00h if parameter does not require a block number
11 Byte 2
Response Data Byte 2
[7:0] - Parameter revision
Format: MSN = present revision
LSN = oldest revision parameter is backward compatible with
11h for parameters in this specification
01 Byte [3]
Response Data Byte [3]
per Table 23-4, LAN Configuration Parameters
Data 1
[7:4] - reserved
[3:0] - address source
0h = unspecified
1h = static address (manually configured)
2h = address obtained by BMC running DHCP
3h = address loaded by BIOS or system software
4h = address obtained by BMC running other address assignment protocol
$ ipmitool lan print
$ ipmitool lan print 0x01
Set in Progress : Set Complete
Auth Type Support : NONE MD2 MD5 PASSWORD OEM
Auth Type Enable : Callback : MD2 MD5 PASSWORD
: User : MD2 MD5 PASSWORD
: Operator : MD2 MD5 PASSWORD
: Admin : MD2 MD5 PASSWORD
: OEM :
IP Address Source : Static Address
IP Address : 192.168.1.5
Subnet Mask : 255.255.255.0
MAC Address : 8c:88:a5:15:aa:bb
SNMP Community String : XXX
IP Header : TTL=0x40 Flags=0x40 Precedence=0x00 TOS=0x10
BMC ARP Control : ARP Responses Disabled, Gratuitous ARP Enabled
Gratituous ARP Intrvl : 2.0 seconds
Default Gateway IP : 0.0.0.0
Default Gateway MAC : 2c:fa:a2:23:25:aa
Backup Gateway IP : 0.0.0.0
Backup Gateway MAC : 00:00:00:00:00:00
802.1q VLAN ID : Disabled
802.1q VLAN Priority : 0
RMCP+ Cipher Suites : 0,1,2,3,6,7,8,11,12,15,16,17
Cipher Suite Priv Max : caaaaaaaaaaaXXX
: X=Cipher Suite Unused
: c=CALLBACK
: u=USER
: o=OPERATOR
: a=ADMIN
: O=OEM
Bad Password Threshold : 0
Invalid password disable: no
Attempt Count Reset Int.: 0
User Lockout Interval : 0
[ipmiutil in Linux]$ ipmitool lan print 0x01
Set in Progress : Set Complete
Auth Type Support : NONE MD2 MD5 PASSWORD OEM
Auth Type Enable : Callback : MD2 MD5 PASSWORD
: User : MD2 MD5 PASSWORD
: Operator : MD2 MD5 PASSWORD
: Admin : MD2 MD5 PASSWORD
: OEM :
IP Address Source : Static Address
IP Address : 192.168.1.5
Subnet Mask : 255.255.255.0
MAC Address : 8c:88:a5:15:aa:bb
SNMP Community String : XXX
IP Header : TTL=0x40 Flags=0x40 Precedence=0x00 TOS=0x10
BMC ARP Control : ARP Responses Disabled, Gratuitous ARP Enabled
Gratituous ARP Intrvl : 2.0 seconds
Default Gateway IP : 0.0.0.0
Default Gateway MAC : 2c:fa:a2:23:25:aa
Backup Gateway IP : 0.0.0.0
Backup Gateway MAC : 00:00:00:00:00:00
802.1q VLAN ID : Disabled
802.1q VLAN Priority : 0
RMCP+ Cipher Suites : 0,1,2,3,6,7,8,11,12,15,16,17
Cipher Suite Priv Max : caaaaaaaaaaaXXX
: X=Cipher Suite Unused
: c=CALLBACK
: u=USER
: o=OPERATOR
: a=ADMIN
: O=OEM
Bad Password Threshold : 0
Invalid password disable: no
Attempt Count Reset Int.: 0
User Lockout Interval : 0
$ ilan -L 1
ipmiutil ver 3.08
ilan ver 3.08v -- BMC version 1.07, IPMI version 2.0
PEF Control : none
ilan, GetLanEntry for channel 1 ...
Lan Param(0) Set in progress: 00
Lan Param(1) Auth type support: 37 : None MD2 MD5 Pswd OEM
Lan Param(2) Auth type enables: 16 16 16 16 00 : MD2 MD5 Pswd
Lan Param(3) IP address: 192.168.1.5
Lan Param(4) IP addr src: 01 : Static
Lan Param(5) MAC addr: 8c 88 a5 15 aa bb
Lan Param(6) Subnet mask: 255.255.255.0
Lan Param(7) IPv4 header: 40 40 10
Lan Param(10) BMC grat ARP: 01 : Grat-ARP enabled
Lan Param(11) grat ARP interval: 04 : 2.0 sec
Lan Param(12) Def gateway IP: 0.0.0.0
Lan Param(13) Def gateway MAC: 2c fa a2 23 25 aa
Lan Param(14) Sec gateway IP: 0.0.0.0
Lan Param(15) Sec gateway MAC: 00 00 00 00 00 00
Lan Param(16) Community string: XXX
Lan Param(17) Num dest: 0f
Lan Param(18) Dest type: 01 00 00 00 00
Lan Param(19) Dest address: 01 00 00 [0.0.0.0] 00 00 00 00 00 00
Lan Param(20) VLAN ID: 00 00
Lan Param(21) VLAN Priority: 00
Lan Param(22) Cipher Suite Support: 0c
Lan Param(23) Cipher Suites : 0 1 2 3 6 7 8 11 12 15 16 17
Lan Param(24) Cipher Suite Priv: C A A A A A A A A A A R
Lan Param(25) VLAN Dest Tag: 00 00 00 00
Channel(1=lan) Access Mode: 22 04 : Always Avail, PEF Alerts Disabled
ilan, GetSOL for channel 1 ...
SOL Enable: 01 : enabled
SOL Auth: 02 : User
SOL Accum Interval: 04 32 : 20 msec
SOL Retry Interval: 06 14 : 200 msec
SOL nvol Baud Rate: 0a : 115.2k
SOL vol Baud Rate: 0a : 115.2k
SOL Payload Support(1): 03 00 3f 00 00 00 00 00
SOL Payload Access(1,1): 02 00 00 00 : enabled
SOL Payload Access(1,2): 02 00 00 00 : enabled
SOL Payload Access(1,3) error 0, ccode = cc
SOL Payload Access(1,4) error 0, ccode = cc
SOL Payload Access(1,5) error 0, ccode = cc
GetSOL error 204, Invalid data field in request
Users: showing 5 of max 10 users (1 enabled)
User Access(chan1,user1): 0a 81 02 1f : IPMI, No access ()
User Access(chan1,user2): 0a 41 02 54 : IPMI, Admin (admin)
User Access(chan1,user3): 0a 81 02 0f : No access ()
User Access(chan1,user4): 0a 81 02 0f : No access ()
User Access(chan1,user5): 0a 81 02 0f : No access ()
ipmiutil lan, completed successfully
[FreeIPMI in Linux]ipmiutil ver 3.08
ilan ver 3.08v -- BMC version 1.07, IPMI version 2.0
PEF Control : none
ilan, GetLanEntry for channel 1 ...
Lan Param(0) Set in progress: 00
Lan Param(1) Auth type support: 37 : None MD2 MD5 Pswd OEM
Lan Param(2) Auth type enables: 16 16 16 16 00 : MD2 MD5 Pswd
Lan Param(3) IP address: 192.168.1.5
Lan Param(4) IP addr src: 01 : Static
Lan Param(5) MAC addr: 8c 88 a5 15 aa bb
Lan Param(6) Subnet mask: 255.255.255.0
Lan Param(7) IPv4 header: 40 40 10
Lan Param(10) BMC grat ARP: 01 : Grat-ARP enabled
Lan Param(11) grat ARP interval: 04 : 2.0 sec
Lan Param(12) Def gateway IP: 0.0.0.0
Lan Param(13) Def gateway MAC: 2c fa a2 23 25 aa
Lan Param(14) Sec gateway IP: 0.0.0.0
Lan Param(15) Sec gateway MAC: 00 00 00 00 00 00
Lan Param(16) Community string: XXX
Lan Param(17) Num dest: 0f
Lan Param(18) Dest type: 01 00 00 00 00
Lan Param(19) Dest address: 01 00 00 [0.0.0.0] 00 00 00 00 00 00
Lan Param(20) VLAN ID: 00 00
Lan Param(21) VLAN Priority: 00
Lan Param(22) Cipher Suite Support: 0c
Lan Param(23) Cipher Suites : 0 1 2 3 6 7 8 11 12 15 16 17
Lan Param(24) Cipher Suite Priv: C A A A A A A A A A A R
Lan Param(25) VLAN Dest Tag: 00 00 00 00
Channel(1=lan) Access Mode: 22 04 : Always Avail, PEF Alerts Disabled
ilan, GetSOL for channel 1 ...
SOL Enable: 01 : enabled
SOL Auth: 02 : User
SOL Accum Interval: 04 32 : 20 msec
SOL Retry Interval: 06 14 : 200 msec
SOL nvol Baud Rate: 0a : 115.2k
SOL vol Baud Rate: 0a : 115.2k
SOL Payload Support(1): 03 00 3f 00 00 00 00 00
SOL Payload Access(1,1): 02 00 00 00 : enabled
SOL Payload Access(1,2): 02 00 00 00 : enabled
SOL Payload Access(1,3) error 0, ccode = cc
SOL Payload Access(1,4) error 0, ccode = cc
SOL Payload Access(1,5) error 0, ccode = cc
GetSOL error 204, Invalid data field in request
Users: showing 5 of max 10 users (1 enabled)
User Access(chan1,user1): 0a 81 02 1f : IPMI, No access ()
User Access(chan1,user2): 0a 41 02 54 : IPMI, Admin (admin)
User Access(chan1,user3): 0a 81 02 0f : No access ()
User Access(chan1,user4): 0a 81 02 0f : No access ()
User Access(chan1,user5): 0a 81 02 0f : No access ()
ipmiutil lan, completed successfully
$ ipmi-config --checkout --lan-channel-number=1 --key-pair=Lan_Conf:MAC_Address
Section Lan_Conf
## Give valid MAC address
MAC_Address 8C:88:A5:15:AA:BB
EndSection
$ ipmi-config --checkout --lan-channel-number=1 --key-pair=Lan_Conf:IP_Address
Section Lan_Conf
## Give valid IP address
IP_Address 192.168.1.5
EndSection
$ ipmi-config --checkout --lan-channel-number=1 --key-pair=Lan_Conf:IP_Address_Source
Section Lan_Conf
## Possible values: Unspecified/Static/Use_DHCP/Use_BIOS/Use_Others
IP_Address_Source Static
EndSection
$ ipmi-config --checkout --lan-channel-number=1
...
Section Lan_Conf
## Possible values: Unspecified/Static/Use_DHCP/Use_BIOS/Use_Others
IP_Address_Source Static
## Give valid IP address
IP_Address 192.168.1.5
## Give valid MAC address
MAC_Address 8C:88:A5:15:AA:BB
## Give valid Subnet Mask
Subnet_Mask 255.255.255.0
## Give valid IP address
Default_Gateway_IP_Address 0.0.0.0
## Give valid MAC address
Default_Gateway_MAC_Address 2C:FA:A2:23:25:AA
## Give valid IP address
Backup_Gateway_IP_Address 0.0.0.0
## Give valid MAC address
Backup_Gateway_MAC_Address 00:00:00:00:00:00
EndSection
...
[IPMI tool under DOS]Section Lan_Conf
## Give valid MAC address
MAC_Address 8C:88:A5:15:AA:BB
EndSection
$ ipmi-config --checkout --lan-channel-number=1 --key-pair=Lan_Conf:IP_Address
Section Lan_Conf
## Give valid IP address
IP_Address 192.168.1.5
EndSection
$ ipmi-config --checkout --lan-channel-number=1 --key-pair=Lan_Conf:IP_Address_Source
Section Lan_Conf
## Possible values: Unspecified/Static/Use_DHCP/Use_BIOS/Use_Others
IP_Address_Source Static
EndSection
$ ipmi-config --checkout --lan-channel-number=1
...
Section Lan_Conf
## Possible values: Unspecified/Static/Use_DHCP/Use_BIOS/Use_Others
IP_Address_Source Static
## Give valid IP address
IP_Address 192.168.1.5
## Give valid MAC address
MAC_Address 8C:88:A5:15:AA:BB
## Give valid Subnet Mask
Subnet_Mask 255.255.255.0
## Give valid IP address
Default_Gateway_IP_Address 0.0.0.0
## Give valid MAC address
Default_Gateway_MAC_Address 2C:FA:A2:23:25:AA
## Give valid IP address
Backup_Gateway_IP_Address 0.0.0.0
## Give valid MAC address
Backup_Gateway_MAC_Address 00:00:00:00:00:00
EndSection
...
Get MAC Address
C:\> ipmitool 20 30 02 01 05 00 00
34 02 00 11 8c 88 a5 15 aa bb
Get IP Address34 02 00 11 8c 88 a5 15 aa bb
C:\> ipmitool 20 30 02 01 03 00 00
34 02 00 11 c0 a8 01 05
Get IP Address Source34 02 00 11 c0 a8 01 05
C:\> ipmitool 20 30 02 01 04 00 00
34 02 00 11 01
34 02 00 11 01
Suspend BMC ARPs - NetFn = Transport (0x0ch), CMD = 0x03h, Privilege Level = Admin, M/O = O
| Linux |
[IPMItool]
ipmitool raw 0x0c 0x03
D[1]
Byte 1
Request Data Byte 1
[7:4] - reserved
[3:0] - Channel number
D[2] Byte 2
Request Data Byte 2
[7:2] - reserved
ARP Response suspend
[1] - 0b = do not suspend BMC-generated ARP responses while the Watchdog Timer is running
1b = suspend BMC-generated ARP responses while Watchdog Timer is running
Gratuitous ARP suspend
[0] - 0b = do not suspend BMC-generated Gratuitous ARPs while the Watchdog Timer is running
1b = suspend BMC-generated Gratuitous ARPs while the Watchdog Timer is running
[ipmiutil]Request Data Byte 1
[7:4] - reserved
[3:0] - Channel number
D[2] Byte 2
Request Data Byte 2
[7:2] - reserved
ARP Response suspend
[1] - 0b = do not suspend BMC-generated ARP responses while the Watchdog Timer is running
1b = suspend BMC-generated ARP responses while Watchdog Timer is running
Gratuitous ARP suspend
[0] - 0b = do not suspend BMC-generated Gratuitous ARPs while the Watchdog Timer is running
1b = suspend BMC-generated Gratuitous ARPs while the Watchdog Timer is running
ipmiutil cmd 00 20 30 03
D[1]
Byte 1
Request Data Byte 1
[7:4] - reserved
[3:0] - Channel number
D[2] Byte 2
Request Data Byte 2
[7:2] - reserved
ARP Response suspend
[1] - 0b = do not suspend BMC-generated ARP responses while the Watchdog Timer is running
1b = suspend BMC-generated ARP responses while Watchdog Timer is running
Gratuitous ARP suspend
[0] - 0b = do not suspend BMC-generated Gratuitous ARPs while the Watchdog Timer is running
1b = suspend BMC-generated Gratuitous ARPs while the Watchdog Timer is running
icmd 00 20 30 03 D[1] Byte 1
Request Data Byte 1
[7:4] - reserved
[3:0] - Channel number
D[2] Byte 2
Request Data Byte 2
[7:2] - reserved
ARP Response suspend
[1] - 0b = do not suspend BMC-generated ARP responses while the Watchdog Timer is running
1b = suspend BMC-generated ARP responses while Watchdog Timer is running
Gratuitous ARP suspend
[0] - 0b = do not suspend BMC-generated Gratuitous ARPs while the Watchdog Timer is running
1b = suspend BMC-generated Gratuitous ARPs while the Watchdog Timer is running
[FreeIPMI]Request Data Byte 1
[7:4] - reserved
[3:0] - Channel number
D[2] Byte 2
Request Data Byte 2
[7:2] - reserved
ARP Response suspend
[1] - 0b = do not suspend BMC-generated ARP responses while the Watchdog Timer is running
1b = suspend BMC-generated ARP responses while Watchdog Timer is running
Gratuitous ARP suspend
[0] - 0b = do not suspend BMC-generated Gratuitous ARPs while the Watchdog Timer is running
1b = suspend BMC-generated Gratuitous ARPs while the Watchdog Timer is running
icmd 00 20 30 03 D[1] Byte 1
Request Data Byte 1
[7:4] - reserved
[3:0] - Channel number
D[2] Byte 2
Request Data Byte 2
[7:2] - reserved
ARP Response suspend
[1] - 0b = do not suspend BMC-generated ARP responses while the Watchdog Timer is running
1b = suspend BMC-generated ARP responses while Watchdog Timer is running
Gratuitous ARP suspend
[0] - 0b = do not suspend BMC-generated Gratuitous ARPs while the Watchdog Timer is running
1b = suspend BMC-generated Gratuitous ARPs while the Watchdog Timer is running
ipmi-raw 0x00 0x0c 0x03
D[1]
Byte 1
Request Data Byte 1
[7:4] - reserved
[3:0] - Channel number
D[2] Byte 2
Request Data Byte 2
[7:2] - reserved
ARP Response suspend
[1] - 0b = do not suspend BMC-generated ARP responses while the Watchdog Timer is running
1b = suspend BMC-generated ARP responses while Watchdog Timer is running
Gratuitous ARP suspend
[0] - 0b = do not suspend BMC-generated Gratuitous ARPs while the Watchdog Timer is running
1b = suspend BMC-generated Gratuitous ARPs while the Watchdog Timer is running
| MS-DOS |Request Data Byte 1
[7:4] - reserved
[3:0] - Channel number
D[2] Byte 2
Request Data Byte 2
[7:2] - reserved
ARP Response suspend
[1] - 0b = do not suspend BMC-generated ARP responses while the Watchdog Timer is running
1b = suspend BMC-generated ARP responses while Watchdog Timer is running
Gratuitous ARP suspend
[0] - 0b = do not suspend BMC-generated Gratuitous ARPs while the Watchdog Timer is running
1b = suspend BMC-generated Gratuitous ARPs while the Watchdog Timer is running
[ipmitool]
ipmitool 20 30 03 Data[1:2]
For example
[IPMI tool in Linux]
$ ipmitool raw 0x0c 0x03
0x01
Byte 1
Request Data Byte 1
[7:4] - reserved
[3:0] - Channel number
0x03 Byte 2
Request Data Byte 2
[7:2] - reserved
ARP Response suspend
[1] - 0b = do not suspend BMC-generated ARP responses while the Watchdog Timer is running
1b = suspend BMC-generated ARP responses while Watchdog Timer is running
Gratuitous ARP suspend
[0] - 0b = do not suspend BMC-generated Gratuitous ARPs while the Watchdog Timer is running
1b = suspend BMC-generated Gratuitous ARPs while the Watchdog Timer is running
01 Byte 2
Present State of ARP suspension
[7:2] - reserved
ARP Response status
[1] - 1b = BMC-generated ARP Responses are occurring
0b = BMC-generated ARP Responses are presently being suspended or are disabled
Gratuitous ARP Response status
[0] - 1b = BMC-generated Gratuitous ARPs are occurring
0b = BMC-generated Gratuitous ARPs are presently being suspended or are disabled
[ipmiutil in Linux]Request Data Byte 1
[7:4] - reserved
[3:0] - Channel number
0x03 Byte 2
Request Data Byte 2
[7:2] - reserved
ARP Response suspend
[1] - 0b = do not suspend BMC-generated ARP responses while the Watchdog Timer is running
1b = suspend BMC-generated ARP responses while Watchdog Timer is running
Gratuitous ARP suspend
[0] - 0b = do not suspend BMC-generated Gratuitous ARPs while the Watchdog Timer is running
1b = suspend BMC-generated Gratuitous ARPs while the Watchdog Timer is running
01 Byte 2
Present State of ARP suspension
[7:2] - reserved
ARP Response status
[1] - 1b = BMC-generated ARP Responses are occurring
0b = BMC-generated ARP Responses are presently being suspended or are disabled
Gratuitous ARP Response status
[0] - 1b = BMC-generated Gratuitous ARPs are occurring
0b = BMC-generated Gratuitous ARPs are presently being suspended or are disabled
icmd 00 20 30 03 01 03
ipmiutil ver 3.08
icmd ver 3.08
This is a test tool to compose IPMI commands.
Do not use without knowledge of the IPMI specification.
-- BMC version 1.7, IPMI version 2.0
respData[len=1]: 01 Byte 2
Present State of ARP suspension
[7:2] - reserved
ARP Response status
[1] - 1b = BMC-generated ARP Responses are occurring
0b = BMC-generated ARP Responses are presently being suspended or are disabled
Gratuitous ARP Response status
[0] - 1b = BMC-generated Gratuitous ARPs are occurring
0b = BMC-generated Gratuitous ARPs are presently being suspended or are disabled
send_icmd ret = 0
ipmiutil cmd, completed successfully
[FreeIPMI in Linux]ipmiutil ver 3.08
icmd ver 3.08
This is a test tool to compose IPMI commands.
Do not use without knowledge of the IPMI specification.
-- BMC version 1.7, IPMI version 2.0
respData[len=1]: 01 Byte 2
Present State of ARP suspension
[7:2] - reserved
ARP Response status
[1] - 1b = BMC-generated ARP Responses are occurring
0b = BMC-generated ARP Responses are presently being suspended or are disabled
Gratuitous ARP Response status
[0] - 1b = BMC-generated Gratuitous ARPs are occurring
0b = BMC-generated Gratuitous ARPs are presently being suspended or are disabled
send_icmd ret = 0
ipmiutil cmd, completed successfully
$ ipmi-raw 0x00 0x0c 0x03 0x01 0x03
rcvd: 03 00 Byte 1
Completion Code
00h = Command Completed Normally
01 Byte 2
Present State of ARP suspension
[7:2] - reserved
ARP Response status
[1] - 1b = BMC-generated ARP Responses are occurring
0b = BMC-generated ARP Responses are presently being suspended or are disabled
Gratuitous ARP Response status
[0] - 1b = BMC-generated Gratuitous ARPs are occurring
0b = BMC-generated Gratuitous ARPs are presently being suspended or are disabled
rcvd: 03 00 Byte 1
Completion Code
00h = Command Completed Normally
01 Byte 2
Present State of ARP suspension
[7:2] - reserved
ARP Response status
[1] - 1b = BMC-generated ARP Responses are occurring
0b = BMC-generated ARP Responses are presently being suspended or are disabled
Gratuitous ARP Response status
[0] - 1b = BMC-generated Gratuitous ARPs are occurring
0b = BMC-generated Gratuitous ARPs are presently being suspended or are disabled
Get IP/UDP/RMCP Statistics - NetFn = Transport (0x0ch), CMD = 0x04h, Privilege Level = User, M/O = O
Reference
[1] "Intelligent Platform Management Interface Specification Second Generation v2.0 Document Revision 1.1"
https://www.intel.com/content/dam/www/public/us/en/documents/product-briefs/ipmi-second-gen-interface-spec-v2-rev1-1.pdf
[2] "IPMItool" http://sourceforge.net/projects/ipmitool/
[3] "IPMI Command Test Tool" http://www.intel.com/design/servers/ipmi/ipmi_tool.htm
[4] "IPMIUTIL USER GUIDE" http://ipmiutil.sourceforge.net/
[5] "FreeIPMI Documentation" http://www.gnu.org/software/freeipmi/index.html
Last Updated: May 14, 2018
IPMI simulator build step
ReplyDeletehttp://fatalfeel.blogspot.com/2013/12/ipmi-simulator-build-step.html
Hi Faltalfeel,
ReplyDeleteThank You for Visiting.