To view the reset reasons on a Huawei router you can enter the diagnostic mode.
When in the diagnostic mode you can enter the command “display reset-reason”.
Please note you do not only see the last reset reason like a Cisco. A Huawei keeps track of multiple reset reasons.
The first rule is the last reason.
<RT01>system-view
Enter system view, return user view with Ctrl+Z.
[RT01]diagnose
Now you enter a diagnostic command view for developer’s testing, some commands
may affect operation by wrong use, please carefully use it with HUAWEI
engineer’s direction.
[RT01-diagnose]
[RT01-diagnose]display reset-reason
The MPU frame[0] board[0]’s reset total 6, detailed information:
— 1. 07/05 18:20:56, Reset No.: 6
Reason: Board have been pulled out or no power
— 2. 07/04 23:36:14, Reset No.: 5
Reason: Reset by user command
— 3. 07/04 21:20:41, Reset No.: 4
Reason: Board have been pulled out or no power
— 4. 06/20 01:47:42, Reset No.: 3
Reason: Board have been pulled out or no power
— 5. 06/20 01:05:12, Reset No.: 2
Reason: Board have been pulled out or no power
— 6. 06/20 00:58:08, Reset No.: 1
Reason: Board have been pulled out or no power
The LPU frame[0] board[1] has no reset records.
The LPU frame[0] board[2] has no reset records.
The LPU frame[0] board[3] has no reset records.
The LPU frame[0] board[4] has no reset records.
The LPU frame[0] board[5] has no reset records.
The LPU frame[0] board[6] has no reset records.
[RT01-diagnose]q
[RT01]q
<RT01>