Find and Configure the Log File
By default, the syslog local-file is ram. The log file name is "message" which is in the directory "/tmp/log"
You can use "tail -f /tmp/log/message" to tail the log message.
You can change the syslog local-file to disk.The log file name is "message" which is in the directory of "/var/log"
You can use "tail -f /var/log/message" to tail the log message.
Enable Important Debugs
Enable debug interface：
Enable debug of protocals:
Enable debug of LLDP:
Enable debug of LACP:
Enable debug of UDLD:
Enable debug of BGP:
Enable debug of ospf4:
Enable debug of stp:
Enable debug of igmp:
Find the Core Dump File
When the device crashes, it will create a core file which can be found in a directory called pica/core.
Find the last_death file for Troubleshooting
You can view the last_death file after the device crashes. It will record the last log message.