6 ipmi over lan (iol), 7 serial over lan (sol), Am4020 ipmi firmware – Kontron AM4020 IPMI Firmware User Manual

Page 47

Advertising
background image

AM4020

IPMI Firmware

ID 1036-5671, Rev. 2.0

Page 39

P R E L I M I N A R Y

10.6

IPMI Over LAN (IOL)

IPMI over LAN is used to allow the IPMI controller to communicate with the MMC via LAN using
the RMCP or the RMCP+ protocol. The data transferred are IPMI commands and the respons-
es to them.

To enable LAN support after parameter setup this command must be issued:

Please note that the following commands must use the IP address which belongs to the en-
abled channel.

The open tool “ipmitool” can serve as a control program and user interface for this. “ipmitool”
allows the issuing of generic IPMI commands such as:

or to call complex functions like “mc.info2:

This uses many generic IPMI commands to get the information needed.

10.7

Serial Over LAN (SOL)

Serial over LAN connects the COM1 or /dev/ttyS0 respectively of the AM4020's payload side
to an Ethernet channel. The MMC resides between this serial interface and one of the Ethernet
channels. It serves as an encoder and a decoder for the used RMCP+ protocol and controls
the data stream. Outside the AM4020 for example, the open tool “ipmitool” can be used to drive
the SOL session, i.e. it offers a console function to communicate via Ethernet with the
AM4020's serial interface.

The MMC firmware supports only “straight password authentication” SOL sessions with default
privilege level USER.

Opening an SOL session requires special parameters as shown below:

The serial interface can be used as a connection, for example:

To a user program on the AM4020 payload

To the uEFI BIOS. Refer to the Main Setup menu, Serial Port Console Redirection
function in the AM4020 uEFI BIOS User Guide. The serial parameters can be set via this
function.

To a Linux login console. This can be activated after payload start, for example, by the
command:

ipmitool lan set <channel = 1, 2, 3, 4> access on

ipmitool -I lan -H 192.168.3.189 -U admin -P admin -A PASSWORD raw 6 1

ipmitool -I lan -H 192.168.3.189 -U admin -P admin -A PASSWORD mc info

ipmitool -I lanplus -H 192.168.3.189 -U admin -P admin -L USER -C 0 sol

activate

getty -h 115200 /dev/ttyS0

Advertising