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

Query Switch Chip VlanId

Change History

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

Basic Information

Function Description

To query the VLAN ID of a switching chip port

Privilege

ReadOnly

Command Information

Request Information

ByteData Field
NetFn32h
CMDbbh
1:3FruId. The value is 0x000200 or 0x000400.
4DeviceId. Set it to 0x00.
584h
6switchId
7portId

Response Information

ByteData Field
1Completion Code
2:3VlanId (MS Byte first)

Command Example

Query the VLAN ID of port 3 of switch chip 0.

Request:

bash
ipmitool raw 0x32 0xbb 0x00 0x02 0x00 0x00 0x84 0x00 0x03

Response:

text
0f f8

Back to Index