ILAN(8)
π ILAN(8) β System Manager's Manual π
πΈ NAME πΈ
ipmiutil_lan is literally here to show and configure IPMI LAN parameters, users, and set up a PEF rule to send BMC LAN Alerts for OS Critical Stop log events. periodt. β¨
π¦ SYNOPSIS π¦
ipmiutil lan [-abcdefghijklmnopq#rstuvwxyzBDQK -i eth1 ]
[-I ipadr -M macadr -S subnet -B baud_sol ]
[-G gwyip -H gwymac -L lan_channel_num ]
[-A alertip -X alertmac -C community ]
[-u user_to_set -p password_to_set ]
[-N nodename -U username -Fimb ]
[-P/-R rmt_node_pswd -EFJTVY ]
β¨ DESCRIPTION β¨
okay so ipmiutil lan shows or sets all of the IPMI LAN Parameters and users to enable remote LAN sessions or BMC LAN Alerts. π«Ά
The IP address and MAC address of the local system, the default gateway, and the alert destination can be defaulted to those specified in Linux, or can be overridden by specific parameters. flexible? we love to see it. π
It also creates a new Platform Event Filter table rule for an OS Critical Stop (0x20) SEL firmware log event, so that it will be enabled to send a BMC LAN Alert. the way that is so iconic of her. π₯
Heads up bestie: this utility will skip the PEF records if the system does not support IPMI 1.5 or greater. don't come for her if your system is too old. π
This utility can use either the /dev/ipmi0 driver from OpenIPMI, the /dev/imb driver from Intel, the /dev/ipmikcs driver from valinux, direct user-space IOs, or the IPMI LAN interface if -N. pick your driver, bestie. π
β¨ OPTIONS β¨
okay so bestie, command line options are described below. Note that without options, ipmiutil lan behaves as if option -r were used. To configure IPMI LAN & PEF, use option -e. π
-aalertnumβ specify which PEF alert number is to be used. Default is1. This would only be used if extra PEF alert destinations had been set. periodt.-bauthmaskβ specify a certain authtype mask in hex to use when configuring this channel. The default mask is0x16, so to include authtype None (bit 0), it would require entering-b 17. hex girl math.-cβ show Canonical output, which shows only interpreted text and streamlines the parameters shown, using a common delimiter. clean and streamlined.-dβ this option disables the IPMI LAN and PEF parameters, so as not to allow BMC LAN connections or alerts. This option also sets the IP address to zeros. big off energy.-eβ this option enables the BMC LAN configuration and PEF event alerts. The utility will attempt to obtain the default BMC LAN parameters from the OS automatically, or they can be specified with command options below. turn it on.-fβ set the ARP control parameter to1 = gratuituous ARPs,2 = ARP responses, or3 = both grat ARP and ARP responses. The default is1. arp arp arp.-gβ this specifies the secondary gateway IP address to use for the BMC LAN. The default is to omit this parameter and only use the default gateway. See also-G. second gateway behavior.-hβ set the IPMI VLAN ID to this value. Setting to a value>=4096disables the VLAN ID. The default behavior is not to set this parameter. vlan vibes.-iethifβ by default, theeth0interface is used to find IP and MAC addresses. Sometimes, however, the first ethernet port on the baseboard may be represented by Linux aseth1oreth2instead. If so, use this option to indicate the correct ethernet interface to use. By default,ipmiutil lanwill scan up to32eth interfaces for the onboard one that BMC LAN uses. interface detective work.-jβ this sets a custom PEF rule as the last PEF entry. The input is a series of10hex bytes, forming the PEF entry. For example, this sample PEF entry would perform a power down action if the Baseboard Temp reached its threshold.
"ipmiutil lan -e -j020110ffff013001950a"
custom rule slay.
-kβ this causesipmiutil lanto also insert two rules to send alerts for transition-to-OK events, including Power Redundancy OK and Temperature OK. two extra rules.-lβ this option enables the BMC LAN configuration, but not PEF events. The utility will attempt to obtain the default BMC LAN parameters from the OS automatically, or they can be specified with command options below. lan but no pef.-nnumβ by default, the new PEF entry for OS Critical Stop is inserted at offset12into the table. This can be changed to insert it at an offset> 12if another entry already exists at offset12. offset shuffle.-oβ Disable Only SOL. This could be used after the IPMI LAN was configured, to disable Serial-Over-LAN console access but still allow other IPMI LAN access. sol off, lan still on.-ppassword_to_setβ this specifies the firmware password to set for BMC LAN access. If not specified, the user and password configuration will not be changed. password moment.-qβ specify an alternate user number for the LAN username from the-uoption. This is normally user number2,3, or4, where2is the default. The maximum number of users is15. Same as-#below. user number swap.-#β specify an alternate user number for the LAN username from the-uoption. Same as-qabove. same thing, different glyph.-rβ this option just reads the configuration without writing any BMC LAN parameters or writing any new entries to the PEF table. read only, no touch.-sβ this option will also display some of the Serial parameters. serial peek.-tβ test if the BMC LAN has already been configured. Returns0if so. test test.-uusername_to_setβ this specifies the firmware username to set for BMC LAN access. If a username is specified, user3will be set. If not specified, the default user1will be used. username time.-vprivβ set a specific access priVilege for this user, whereprivcan be:1=Callback,2=User,3=Operator,4=Admin,5=OEM,15=NoAccess. The default if not specified or specified in error, is to use4=Admin. privilege check.-wNβ set the Gratuitous ARP Interval toNseconds. This has no effect if the firmware does not support Grat-ARP, as shown in Lan Param10. If not set, the interval remains at the firmware default. grat arp interval.-xβ causes extra debug messages to be displayed. debug tea β.-yNβ set the OEM LAN Failover parameter toN. Values forNwith Intel Romley/S2600 baseboards:1 = enable,0 = disable. Values forNwith SuperMicro baseboards:2 = failover,1 = lan1 ,,0 = dedicated. failover flavors.-zβ also show the IPMI LAN Statistics. stats stats stats.-Aalert_ip_addrβ this specifies the SNMP Alert Destination IP address to use for the BMC LAN. By default, this utility will attempt to obtain this from the/etc/snmp/snmpd.conffile, via thetrapsinkparameter. The alert destination will see the BMC LAN traps with theenterprises.3183.1.1OID. If no alert IP address is specified in eithersnmpd.confor this parameter, or if that IP address does not respond, the other SNMP parameters for BMC LAN will be skipped. alert destination lore.-Bbaud_solβ this specifies the Baud rate for SerialOverLan. The possible values are:9600,19.2k,38.4k,57.6k, and115.2k. The default is19.2k. baud rate bestie.-Csnmp_communityβ this specifies the SNMP Community name to use for BMC LAN Alerts. The default community string is"public". This parameter is ignored if there is no Alert IP address. community string.-Dβ this causes the local IP address to be determined by DHCP instead of a static IP address. dhcp era.-Eβ use the remote password from Environment variableIPMI_PASSWORD. env var password.-Fdrv_tβ force the driver type to one of the followng:imb,va,open,gnu,landesk,lan,lan2,lan2i,kcs,smb. Note thatlan2imeanslan2with intelplus. The default is to detect any available driver type and use it. driver force.-Ggwy_ip_addrβ this specifies the default gateway IP address to use for the BMC LAN. The default is to automatically obtain this from the Linux route table. gateway ip.-Hgwy_mac_addrβ this specifies the default gateway MAC address to use for the BMC LAN. The format can be either11:22:33:44:55:66or11-22-33-44-55-66. The default is to try to automatically obtain this by sending an arp request from an OS LAN eth interface: the default one, or as specified by-i. gateway mac hunt.-Khostnameβ this specifies the IPMI hostname to set, for Kontron servers only. This enables the firmware to properly map the IP address to a hostname, especially with the web interface. The default is not to set this parameter, and use IP address only. kontron only.-Iip_addrβ this specifies the local IP address to use for the BMC LAN oneth0. The default is to automatically obtain this from the Linuxifconfig. local ip.-Jβ use the specified LanPlus cipher suite (0thru17):0=none/none/none,1=sha1/none/none,2=sha1/sha1/none,3=sha1/sha1/cbc128,4=sha1/sha1/xrc4_128,5=sha1/sha1/xrc4_40,6=md5/none/none, ...14=md5/md5/xrc4_40. Default is3. cipher suite rainbow.-Llan_ch_numβ this specifies the IPMI LAN channel number used for BMC LAN. This varies by platform, and can be found in the platform technical specifications. For instance, Intel platforms usually use channels1&2for onboard NICs, and channel3for optional RMM NICs. By default,ipmiutil lanscans all IPMI channels to find the first LAN channel for BMC LAN. To just list all IPMI channels to see what is available, use the string'list'instead of a LAN channel number. This will list the channels and exit. channel scan or list.-Mmac_addrβ this specifies the local MAC address to use for the BMC LAN oneth0. The format can be either11:22:33:44:55:66or11-22-33-44-55-66. The default is to automatically obtain this from the Linuxifconfig. mac address moment.-Nnodenameβ Nodename or IP address of the remote target system. If a nodename is specified, IPMI LAN interface is used. Otherwise the local system management interface is used. remote target.-Oβ Observe security. Disables the default null user and disable cipher0. security observe.-Prmt_pswdβ remote password for the nodename given. The default is a null password. Same as-Rbelow. remote password.-Qβ set the IPMI VLAN Priority. The default priority is0. vlan priority.-Rrmt_pswdβ remote password for the nodename given. The default is a null password. Same as-Pabove. same remote password.-Ssubnetβ this specifies the local subnet mask to use for the BMC LAN oneth0. The default is to automatically obtain this from the Linuxifconfig. subnet mask.-Tβ use a specified IPMI LAN Authentication Type:0=None,1=MD2,2=MD5,4=Straight Password,5=OEM. auth type.-Urmt_userβ remote username for the nodename given. The default is a null username. remote user.-Vβ use a specified IPMI LAN privilege level.1=Callback level,2=User level,3=Operator level,4=Administrator level (default),5=OEM level. privilege level.-Xalert_mac_addrβ this specifies the SNMP Alert Destinations's MAC address to use for the BMC LAN. The format can be either11:22:33:44:55:66or11-22-33-44-55-66. The default is to attempt to obtain this from the Linux arp cache. This parameter is ignored if there is no Alert IP address. alert mac address.-Yβ Yes, do prompt the user for the IPMI LAN remote password. Alternatives for the password are-Eor-P. yes prompt.
π EXAMPLES π
okay bestie, here's the vibe in action. π
- To read existing settings:
ipmiutil lan -r
- To enable IPMI LAN with default settings detected, assuming shared MAC/IP:
ipmiutil lan -e
- To set up IPMI LAN for a unique IP address and set PEF SNMP Alerts:
ipmiutil lan -e -I 192.168.1.1 -A 192.168.1.10
- To set the IPMI LAN password for the default user:
ipmiutil lan -e -p mypassword
- To disable access to the IPMI LAN channel:
ipmiutil lan -d
π SAMPLE PEF TABLE π
Okay bestie, this next bit is the tea. There are 11 PEF table entries that come pre-loaded from the factory for various Intel Sahalee BMC systems, and here's the thing β they get applied as the defaults for any system that's rolling up with an empty PEF table. So if your table is giving blank-slate energy, these are what you're gonna get. π«Ά
PEF(01)β01Temperature Sensor event, and yes it's enabled for alert π₯
01 c0 01 01 00 ff ff 01 ff 01 95 0a 00 00 00 00 00 00 00 00 00
PEF(02)β02Voltage Sensor event, enabled for alert β‘
02 c0 01 01 00 ff ff 02 ff 01 95 0a 00 00 00 00 00 00 00 00 00
PEF(03)β04Fan Failure event, enabled for alert π¬οΈ
03 c0 01 01 00 ff ff 04 ff 01 95 0a 00 00 00 00 00 00 00 00 00
PEF(04)β05Chassis Intrusion event, enabled for alert πͺ
04 c0 01 01 00 ff ff 05 05 6f 01 00 00 00 00 00 00 00 00 00 00
PEF(05)β08Power Supply Fault event, enabled for alert π
05 c0 01 01 00 ff ff 08 ff 6f 06 00 00 00 00 00 00 00 00 00 00
PEF(06)β0cMemory ECC Error event, enabled for alert π§
06 c0 01 01 00 ff ff 0c 08 6f 02 00 00 00 00 00 00 00 00 00 00
PEF(07)β0fFRB Failure event, enabled for alert π
07 c0 01 01 00 ff ff 0f 06 6f 01 00 00 00 00 00 00 00 00 00 00
PEF(08)β07BIOS POST Error event, enabled for alert π₯οΈ
08 c0 01 01 00 ff ff 07 ff 6f 1c 00 00 00 00 00 00 00 00 00 00
PEF(09)β13Fatal NMI event, enabled for alert π
09 c0 01 01 00 ff ff 13 ff 6f 3e 03 00 00 00 00 00 00 00 00 00
PEF(10)β23Watchdog Timer Reset event, enabled for alert π
0a c0 01 01 00 ff ff 23 03 6f 0e 00 00 00 00 00 00 00 00 00 00
PEF(11)β12System Restart event, enabled for alert π
0b c0 01 01 00 ff ff 12 ff 6f 02 00 00 00 00 00 00 00 00 00 00
π SEE ALSO π
Squad's all here, no one left out, we love a supportive friend group:
ipmiutil(8) ialarms(8) iconfig(8) icmd(8) idiscover(8) ievents(8) ifru(8) igetevent(8) ihealth(8) ireset(8) isel(8) isensor(8) iserial(8) isol(8) iwdt(8)
β οΈ WARNINGS β οΈ
Listen up bestie: peep http://ipmiutil.sourceforge.net/ for the latest version of ipmiutil and any bug fix list. Don't be out here running dusty versions, that's not the vibe. π
Β©οΈ COPYRIGHT Β©οΈ
Copyright (C) 2009 Kontron America, Inc. π
See the file COPYING in the distribution for more details regarding redistribution β fr fr, read it.
This utility is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY. (Yeah, capital letters, they meant that part. No take-backs, no refunds, no "but bestie I thought you had me" π)
β¨ AUTHOR β¨
Andy Cress <arcress at users.sourceforge.net> β king behavior, we stan. π
That's a wrap on this one, babes! You just got the whole thing: Version 1.8: 17 Feb 2010, and yes, this was the ILAN(8) page in all its glory. Go forth and manage those LAN settings, main character. ππ¦π
π¦ where this page comes from
- alpine 3.24: ipmiutil-doc 3.2.1-r0 Β· BSD-2-Clause BSD-3-Clause GPL-2.0-or-later
- debian bookworm: ipmiutil 3.1.8-4 Β· BSD-3-Clause
- debian trixie: ipmiutil 3.2.1-1 Β· BSD-3-Clause
- nixos 26.05: ipmiutil 3.2.2
- nixpkgs unstable: ipmiutil 3.2.2
- opensuse-leap 16.0: ipmiutil 3.1.9-bp160.1.12 Β· BSD-3-Clause
- opensuse-leap 16.0: ipmiutil 3.1.9-bp160.1.12 Β· BSD-3-Clause
- opensuse-leap 16.0: ipmiutil 3.1.9-bp160.1.12 Β· BSD-3-Clause
- opensuse-leap 16.0: ipmiutil 3.1.9-bp160.1.12 Β· BSD-3-Clause
- ubuntu jammy: ipmiutil 3.1.8-1 Β· BSD-3-Clause
- ubuntu noble: ipmiutil 3.1.9-3build2 Β· BSD-3-Clause
- ubuntu questing: ipmiutil 3.2.1-1
- ubuntu resolute: ipmiutil 3.2.1-1build1 Β· BSD-3-Clause
- ubuntu stonking: ipmiutil 3.2.2-1ubuntu2 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms