dmi.sh
Format
dmi.sh {showbbustatus}
dmi.sh {setintfcardinfo}
dmi.sh {bspsetmadcswitch}
dmi.sh {bspcoldreboot}
dmi.sh {getsn}
dmi.sh {getmac}
dmi.sh {getmodel}
dmi.sh {setsn}
dmi.sh {setmac}
dmi.sh {setmodel}
dmi.sh {resetmcu}
Parameters
Parameter |
Description |
Value |
---|---|---|
showbbustatus | Queries the status of all BBUs visible to the local controller. | - |
-a | Displays help information about each subcommand. | - |
setintfcardinfo | Sets interface module information. |
|
bspsetmadcswitch | Whether to enable BIOS ADDEC. | The value can be "0" or "1", where: "0": disables BIOS ADDEC. "1": enables BIOS ADDEC. |
bspcoldreboot | Cold resets a controller. | - |
getsn | Queries SN information. | The value can be "fruid" or "deveiceid", where:
|
getmac | Queries the MAC address. | The value can be "fruid" or "deveiceid", where:
|
getmodel | Queries model information. | The value can be "fruid" or "deveiceid", where:
|
setsn | Sets SN information. | The value can be "fruid", "deveiceid", or "SN", where:
|
setmac | Sets the MAC address. | The value can be "fruid", "deveiceid", or "MAC", where:
|
setmodel | Sets model information. | The value can be "fruid", "deveiceid", or "model", where:
|
resetmcu | Resets the MCU. | The value can be "fruid" or "deveiceid", where:
|
Usage Guidelines
Run the "dmi.sh" command to query the BBU status and set interface module information in special scenarios. The functions are as follows:
- Queries the status and remaining power of all BBUs visible to the local controller.
- Sets interface module information, including application scenario, speed, working mode, and type.
- Enables or disables BIOS ADDEC.
- Cold resets a controller.
- Queries SN information.
- Queries the MAC address.
- Queries model information.
- Resets the MCU.
Example
-
Query the status of all BBUs visible to the local controller.
Storage: minisystem> dmi.sh showbbustatus admin:/diagnose>dpl showbbustatus BBU0: State:FULL HealthStatus:NORMAL RemainPower:98% admin:/diagnose>exit Storage: minisystem>
-
Configure a 100 Gbit/s back-end interface module in slot "3".
Storage: minisystem> dmi.sh setintfcardinfo 3 2 21 5 admin:/diagnose>mpa bmc setiocardusageandspeed 0x10003 0 2 0x15 setiocardusageandspeed ....................OK Set Iocard use(2) speed(21) admin:/diagnose>exit admin:/diagnose>dpl setintfworkmode 3 5 Switch card(slotId:3) workmode(5) success. admin:/diagnose>exit Storage: minisystem>
-
Configure a 10 Gbit/s front-end electrical interface module in slot "4".
Storage: minisystem> dmi.sh setintfcardinfo 4 1 11 4 1 admin:/diagnose>mpa bmc setiocardusageandspeed 0x104 0 1 0xB 1 setiocardusageandspeed ....................OK Set Iocard use(1) speed(11) cfgtyp(0x1) admin:/diagnose>exit admin:/diagnose>dpl setintfworkmode 4 4 Switch card(slotId:4) workmode(4) success. admin:/diagnose>exit Storage: minisystem>
-
Enable or disable BIOS ADDEC.
Storage: minisystem> dmi.sh bspsetmadcswitch 1 admin:/diagnose>bsp setmadcswitch 1 Set MADC switch on success. Storage: minisystem>
-
Cold reset a controller.
Storage: minisystem> dmi.sh bspcoldreboot admin:/diagnose>bsp coldreboot
-
Query SN information about an enclosure.
Storage: minisystem> dmi.sh getsn 0x800000 0 admin:/diagsh>mpa bmc getsn 0x800000 0 getsn ....................OK SN:74102583699876543210 admin:/diagsh>exit Storage: minisystem>
-
Query the MAC address of an enclosure.
Storage: minisystem> dmi.sh getmac 0x800000 0 admin:/diagsh>mpa bmc getmac 0x800000 0 getmac ....................OK MAC: 20 19 05 15 11 57 admin:/diagsh>exit Storage: minisystem>
-
Query model information about an enclosure.
Storage: minisystem> dmi.sh getmodel 0x800000 0 admin:/diagnose>mpa bmc getmodel 0x800000 0 getmodel ....................OK Product Model:5510F_V5_P admin:/diagnose>exit Storage: minisystem>
-
Set SN information about an enclosure.
Storage: minisystem> dmi.sh setsn 0x800000 0 99102583699876543210 admin:/diagsh>mpa bmc setsn 0x800000 0 99102583699876543210 setsn ....................OK admin:/diagsh>exit Storage: minisystem>
-
Set the MAC address of an enclosure.
Storage: minisystem> dmi.sh setmac 0x800000 0 99 19 05 15 11 57 admin:/diagsh>mpa bmc setmac 0x800000 0 99 19 05 15 11 57 setmac ....................OK admin:/diagsh>exit Storage: minisystem>
-
Set model information about an enclosure.
Storage: minisystem> dmi.sh setmodel 0x800000 0 5610_V5_P admin:/diagsh>mpa bmc setmodel 0x800000 0 5610_V5_P setmodel ....................OK admin:/diagsh>exit Storage: minisystem>
-
Reset the MCU.
Storage: minisystem> dmi.sh resetmcu 0x101 0 admin:/diagsh>mpa bmc resetmcu 0x101 0 resetmcu ....................OK admin:/diagsh>exit Storage: minisystem>