恢复默认设置

命令功能

将控制卡配置恢复到默认设置。

将控制卡恢复默认设置,所有配置将恢复到出厂默认配置。请谨慎执行该操作。

命令格式

hiraidadm ccontroller_id reset defaultconfig [noprompt]

参数说明

参数

参数说明

取值

controller_id

控制卡的ID。

查询控制卡ID请参见查询控制卡列表

noprompt

无需用户确认。

-

使用指南

当输入命令不带“noprompt”参数时,将提示“Do you confirm the execution reset config?The user settings will be reset.Please input [y|Y] for yes, others for cancel”

使用实例

将指定控制卡恢复出厂设置。
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
[root@localhost ~]# hiraidadm c0 reset defaultconfig
=========================================== Hiraidadm Information ============================================
    Name: hiraidadm
    Version: 1.2.0.2
    Build Time: Nov 15 2022 22:07:55
==============================================================================================================
Do you confirm the execution reset config?
The user settings will be reset.
Please input [y|Y] for yes, others for cancel
---------------------------------------------
y
==============================================================================================================
    Status Code = 0
    Status = Success
    Description = None
==============================================================================================================