The in-service hardware failure diagnosis includes the detection for chips, cards, and the forwarding
service, and automatic fix actions taken for the detected failures.
To configure in-service hardware failure diagnosis:
Step
1.
Enter system view.
2.
Enable in-service
hardware failure detection
and configure fix actions
taken in case of hardware
failures.
After configuring in-service diagnosis, you can use the display hardware-failure-detection command
to check the running information of the feature.
Displaying the operating state of a fan
Use the display fan command to display the operating state of all fans on your router.
<Sysname> display fan
Fan
1 State: Normal
Fan
2 State: Normal
The output above shows that all fans of the router operate normally.
Displaying alarm information for a card
Use the display alarm command to display alarm information for a card.
<Sysname> display alarm
Slot
Level
0
ERROR
0
ERROR
Table 13 Command output
Field
Level
Command
system-view
hardware-failure-detection
{ chip | board | forwarding }
{ off | warning | reset |
isolate }
Info
Power 2 is absent.
Slot 6 board state is faulty
Description
Alarm severity.
In descending order, the alarm severity levels include ERROR, WARNING,
NOTICE, and INFO.
Remarks
N/A
Required.
The fix actions taken in case of hardware
failures include:
•
Off—Takes no action.
•
Warning—Sends warning messages.
•
Reset—Resets the failed card.
•
Isolate—Shuts down the failed port,
isolates the failed card, prohibits the
failed card from loaded, or powers off
the failed card to reduce the impact of
the failure to the system.
Currently, the router supports only off and
warning operations. By default, the fix
action taken for all hardware failures is
warning.
37