Set Switch Chip Port VlanId
更新时间: 2026/08/06
在Gitcode上查看源码

Set Switch Chip Port VlanId

Change History

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

Basic Information

Function Description

To set the VLAN ID of a switching chip port

Privilege

BasicSetting

Command Information

Request Information

ByteData Field
NetFn32h
CMDbch
1:3FruId. The value is 0x000200 or 0x000400.
4DeviceId. Set it to 0x00.
56eh
6switchId
7portId
8:9vlanId (LS Byte first)

Response Information

ByteData Field
1Completion 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 0x0f

Response:

text

Back to Index