set board-reset hardware-alarm

Function

The set board-reset hardware-alarm error-code command configures alarm codes for automatic board reset.

The undo set board-reset hardware-alarm error-code command deletes alarm codes for automatic board reset.

Format

set board-reset hardware-alarm error-code error-code [ slot slot-id ]

undo set board-reset hardware-alarm { error-code error-code | all } [ slot slot-id ]

Parameters

Parameter Description Value
error-code error-code

Specifies an alarm code.

The value is a hexadecimal integer ranging from 0x10000 to 0xffffffff.

slot slot-id

Specifies the slot number of a board.

The value is the slot ID of an installed board.

all

All error code.

-

Views

Fault management view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
device-mgr execute

Usage Guidelines

Usage Scenario

After certain alarms are generated, the corresponding boards need to reset to restore services. You can run the set board-reset hardware-alarm error-code command to set alarm codes for automatic board reset. After an alarm with a specified alarm code is generated, the associated board resets automatically to restore services.

Configuration Impact

  • If this alarm is generated on a board, the board will be reset.
  • If this alarm is generated on a subcard, the board where the subcard resides will be reset.

Precautions

A maximum of 20 alarm codes can be specified in this command.

In VS mode, this command is supported only by the admin VS.

Example

# Failed to set alarm when the alarm code ffffffff is generated.
<HUAWEI> system-view
[~HUAWEI] fm
[~HUAWEI-fm] set board-reset hardware-alarm error-code ffffffff
Error: Not support this error code!
# Configure boards to automatically reset when the alarm with the alarm code 108D4 is generated.
<HUAWEI> system-view
[~HUAWEI] fm
[~HUAWEI-fm] set board-reset hardware-alarm error-code 108D4
Warning: After this command is set, if the alarm with this error code is generated,the board will reset. Continue? [Y/N]:y
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >