Здравствуйте, команда может немного отличаться в разных версиях прошивки массива, для версии V300r003C20***:
61.51 restore system factory_mode (выполнять под девелопером)
Пример:
developer:/>restore system factory_mode
DANGER:You are about to restore the system to factory settings.
This operation will delete the configuration of the system, restore the system to
factory settings, and power off the system.
Suggestion: Before performing this operation, confirm that you need to restore
the system to factory settings.
Have you read danger alert message carefully?(y/n)y
Are you sure you really want to perform the operation?(y/n)y
Processing... /
System Response
None
Более подробно можно почитать в документе: OceanStor 5300 V3 V300R003 Restricted Command Reference , который находится здесь
https://support.huawei.com/enterprise/en/midrange-storage/oceanstor-5300-v3-pid-21122033