Problem
A switch often restarts by itself, and it still happens after replacing the physical environment.
handing process
1. Let the user provide log.log log.dblg and diagnose information
2. Find the detailed restart time of the device based on the log information.
===============display reboot-info===============
=======================================================
Slot ID Times Reboot Type Reboot Time(DST)
===========================================================================
0 1 POWER 2018/06/29 10:22:12
0 2 POWER 2018/05/13 11:44:49
3. Find the record of the device restart according to the device restart time in the log
May 13 2018 11:44:27+05:30 HUAWEI SNMP/4/COLDSTART:OID 1.3.6.1.6.3.1.1.5.1coldStart.
May 13 2018 11:44:23+05:30 HUAWEI %VFS/6/DEV_REG(l)[1]:Device flash: registration finished.
Jun 29 2018 10:21:49+05:30 HUAWEI SNMP/4/COLDSTART:OID 1.3.6.1.6.3.1.1.5.1coldStart.
Jun 29 2018 10:21:45+05:30 HUAWEI %VFS/6/DEV_REG(l)[1]:Device flash: registration finished.
Root cause
According to the log information, the restart is due to 'coldstart', so it should be due to the physical environment.
Solution
Replace physical power or improve the physical environment