Set Switch Chip Port VlanId
更新时间: 2026/08/06
在Gitcode上查看源码Set Switch Chip Port VlanId
Change History
| openUBMC Version | Revision Date | Description |
|---|---|---|
| 25.06 | 2025/06/26 | Initial draft: add command details |
Basic Information
Function Description
To set the VLAN ID of a switching chip port
Privilege
BasicSetting
Command Information
Request Information
| Byte | Data Field |
|---|---|
| NetFn | 32h |
| CMD | bch |
| 1:3 | FruId. The value is 0x000200 or 0x000400. |
| 4 | DeviceId. Set it to 0x00. |
| 5 | 6eh |
| 6 | switchId |
| 7 | portId |
| 8:9 | vlanId (LS Byte first) |
Response Information
| Byte | Data Field |
|---|---|
| 1 | Completion Code |
Command Example
Set the VLAN ID of port 3 of switch chip 0 to 4088.
Request:
bash
ipmitool raw 0x32 0xbc 0x00 0x02 0x00 0x00 0x6e 0x00 0x03 0xf8 0x0fResponse:
text