Using the Baseboard Management Controller 45
VLAN ID
Use the LAN configuration command parameter 14H to set or get the VLAN ID. For additional
information, refer to the IPMI v2.0 specifications.
Examples:
Set VLAN ID:
• Get LAN configuration parameter:
ipmitool 0xC0 0x02 0x01 0x14 0x00 0x00
Response:
0x00 0x11 0x01 0x80
(VLAN Enable and VLAN ID: 1)
• Set LAN configuration parameter:
ipmitool 0xC0 0x01 0x01 0x14 0x01 0x80
Response:
0x00
Table 1-36. VLAN Commands
Commands NetFn CMD O/M Supported
Set LAN Configuration
Parameters (Parameter 9 and 25 are not supported)
Transport 01h M Yes
Get LAN Configuration
Parameters (Parameter 9 and 25 are not supported)
Transport 02h M Yes
Table 1-37. LAN Configuration Parameter 14H
Parameter # Parameter Data
802. 1q VLAN ID (12-bit) 14H Data 1
[7:0] — Least significant 8-bits of the VLAN ID. 00h if
VLAN ID not used.
Data 2
[7] — VLAN ID enable.
0b — Disabled
1b — Enabled
If enabled, the BMC will only accept packets for this
channel if they have 802.1q fields and their VLAN ID
matches the VLAN ID value given in this parameter.
[6:4] — Reserved
[3:0] — Most significant 4-bits of the VLAN ID