ipmcget -l shelf [-t target] -d dataitem
-t <target>
fru Get the fru information
-d <dataitem>
fruinfo Get shelf fru information
ipmcget -l shelf -d dataitem
-d <dataitem>
chassisid Get chassis id
chassisname Get chassis name
location Get chassis location
version Get chassis version
health Get shelf health status
healthevents Get shelf health events
unhealthylocations Get shelf unhealthy locations
realtimepower Get shelf real-time power
subnet Get inner subnet segment
使用示例:
// 请求:查询机框Fru信息
ipmcget -l shelf -t fru -d fruinf
FRU Device Description : Builtin FRU Device (FRUID 1, BackPlane)
Chassis Type : Other
Chassis Part Number : 8
Chassis Serial Number : 210230195710KA001234
Board Mfg. Date : 2026/06/17 Thu 23:00:00
Board Manufacturer : HHHHHHH
Board Product Name : 1234MMMM
Board Serial Number : 026XYG10M60000000
Board Part Number : 03026XXX
Board FRU File ID : 5.13.00.01
Extend label : Description=Manufactured Board
Product Manufacturer : Huawei
Product FRU File ID : 5.13.00.01
设置机框信息的CLI命令:
变化类型:新增命令字
操作权限:BasicSetting
ipmcset -l shelf -d dataitem [-v value]
-d <dataitem>
chassisid Set chassis id
chassisname Set chassis name
location Set chassis location
subnet Set inner subnet segment
使用示例:
// 请求:设置机框名称
ipmcset -l shelf -d chassisname -v 123456
Set chassis name ok.
ipmcget -l shelf [-t target] -d dataitem
-t <target>
fru Get the fru information
-d <dataitem>
fruinfo Get shelf fru information
ipmcget -l shelf -d dataitem
-d <dataitem>
chassisid Get chassis id
chassisname Get chassis name
location Get chassis location
version Get chassis version
health Get shelf health status
healthevents Get shelf health events
unhealthylocations Get shelf unhealthy locations
realtimepower Get shelf real-time power
subnet Get inner subnet segment
设置机框信息的CLI命令:
变化类型:新增命令字
操作权限:BasicSetting
ipmcset -l shelf -d dataitem [-v value]
-d <dataitem>
chassisid Set chassis id
chassisname Set chassis name
location Set chassis location
subnet Set inner subnet segment