Set Lsw Info Parameters
更新时间: 2026/08/06
在Gitcode上查看源码

Set Lsw Info Parameters

Change History

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

Basic Information

Function Description

Configure LSW parameters.

Privilege

Command Information

Request Information

ByteData Field
NetFn30h
CMD93h
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, sub command = 61h
5Parameter selector
6:NConfiguration parameter data
See Table 1.

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.

Reference Information

Table 1 Lsw Info Parameters Table

Parameter#Parameter Data
Set Port Link Status (Write Only)01hdata1-32-Port Name (port name, 32 bytes. If the name is less than 32 bytes, fill 00h.) data33-34-LinkStatus (value range: 0 or 1)
Set Port Mtu (Write Only)02hdata1-32-Port Name (port name, 32 bytes. If the name is less than 32 bytes, 00h is filled.) data33-36-Mtu (Max Transmit Unit, value range: 64-9220)
Set Port Pvid
(Write Only)
03hdata1-32-Port Name (port name, 32 bytes. If the name is less than 32 bytes, fill 00h.) data33-34-Pvid (value range: 1-4094)
Set Port Enable Status
(Write Only)
07hdata1-32-Port Name (port name, 32 bytes. If the name is less than 32 bytes, fill 00h.)
data33-34-Enable status (value range: 0 or 1)
Set Port Fec
(Write Only)
08hdata1-8-Port Name
data9-Fec status (value range: 0 or 1)
Set ITF Port Config Mode (Write Only)0Bhdata1: ITF port configuration mode.
Description of FC host port modes
0x1: Two 100GE ports form a trunk group, and eight 25GE ports do not form a trunk group.
0x2: Eight 25GE ports form two trunk groups, and each trunk group has four 25GE ports. Two 100GE ports do not form a trunk group.
0x3: 400GE large-bandwidth mode. In this mode, eight 25GE ports form two trunk groups, and each trunk group has four 25GE ports. Two 100GE ports do not form a trunk group.
0x4: 400GE high-bandwidth VLAN full-pass mode. Eight 25GE ports form two trunk groups, and each trunk group has four 25GE ports. Two 100GE ports do not form a trunk group.

Command Example

Set the FEC status of an LSW port.

Request:

bash
[root@localhost ~]# ipmicmd -k "0f 00 30 93 DB 07 00 61 08 44 50 4f 52 54 5f 30 00 00" smi 0
00 DB 07 00

Back to Index