Set Lsw Info Parameters
更新时间: 2026/08/06
在Gitcode上查看源码Set Lsw Info Parameters
Change History
| openUBMC Version | Revision Date | Description |
|---|---|---|
| 25.06 | 2025/06/26 | Initial draft: add command details |
Basic Information
Function Description
Configure LSW parameters.
Privilege
Command Information
Request Information
| Byte | Data Field |
|---|---|
| NetFn | 30h |
| CMD | 93h |
| 1:3 | Manufacturer 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. |
| 4 | Sub command, sub command = 61h |
| 5 | Parameter selector |
| 6:N | Configuration parameter data See Table 1. |
Response Information
| Byte | Data Field |
|---|---|
| 1 | Completion Code |
| 2:4 | Manufacturer 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) | 01h | data1-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) | 02h | data1-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) | 03h | data1-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) | 07h | data1-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) | 08h | data1-8-Port Name data9-Fec status (value range: 0 or 1) |
| Set ITF Port Config Mode (Write Only) | 0Bh | data1: 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