Get Serial Connection
更新时间: 2026/08/06
在Gitcode上查看源码

Get Serial Connection

Change History

openUBMC VersionRevision DateDescription
25.062025/06/26Initial draft: add command details

Basic Information

Function Description

This command is used to obtain the serial port connection direction.

Privilege

ReadOnly

Command Information

Request Information

ByteData Field
NetFn30h
CMD91h
1:3Manufacturer ID, LS Byte first. The length is fixed to three bytes. For example, if the vendor ID is 2011 and the corresponding hexadecimal value is 0x0007DB, the first byte is DBh, the second byte is 07h, and the third byte is 00h.
4sub command=0x18
5Source serial selector. For details, see Table 1. The source serial port can only be 00h, 01h, or 02h.

Response Information

ByteData Field
1Completion Code
2:4Manufacturer ID, LS Byte first. The length is fixed to three bytes. For example, if the vendor ID is 2011 and the corresponding hexadecimal value is 0x0007DB, the first byte is DBh, the second byte is 07h, and the third byte is 00h.
5Destination serial selector. For details, see Table 1.

Reference

Table 1 Definition of the BMC system serial port

ParameterNameDescription
00hHost SerialService system serial port
01hPanel Connector/base SerialSerial port on the panel, which does not exist on some products.Base plane serial port NOTE: This parameter is applicable to the XCU and can be used only as the destination serial port.
02hBMC sol Serial/fabric SerialBMC serial port redirection input serial port/Fabric plane serial port
NOTE: This parameter is applicable to the XCU and can be used only as the destination serial port.
04hBMC debug SerialBMC debugging serial port.
05hFC SerialFC plane serial port
NOTE: This parameter is applicable to the XCU and can be used only as the destination serial port.
06hRaid SerailRAID controller card serial port.
07hEXPANDER SerialEXPANDER serial port. Some products do not have this port.
08hSwitching systemSerial port of the switching system
0chCard Com1Serial port 1 of the peripheral card, for example, Taishan 2280 V2 port1 and port4 for connecting to the SDI card
0dhCard Com2Serial port 2 of the peripheral card, for example, Taishan 2280 V2 port1 and port4 for connecting to the SDI card
0ehSDI SCCLSCCL serial port on the 1620 of SDI 3.0.
0fhSDI IMUIMU serial port on the 1620 of the SDI 3.0.
10h-1fhNodeN BMC/OSThe BMC and OS serial ports of eight nodes (0 to 7) are applicable to the scenario where the BMC and OS serial ports of multiple nodes need to be switched to the physical serial port or other serial ports of a central management node.
Node0: 10h (BMC), 11h (OS)
...
Node7: 1eh (BMC), 1fh (OS)
fehCLOSEThe serial port on the panel is disabled.
0xffhUnconnectedUnconnected port

Command Example

Obtain the serial port connection direction.

Request:

bash
ipmicmd -k "0f 00 30 91 db 07 00 18 01" smi 0

Response:

text
0f 31 00 91 00 db 07 00 00

Back to Index