User can troubleshoot by checking system logs and PIcOS works mode.
Check log using two methods as follows:
System logs are stored in two locations:
This directory is stored in Flash.
This directory is stored in RAM.
Switches use flash memory that has a limited number of lifetime write operations. Hence, it is important that logs are not written continuously to the flash memory. This would dramatically impact the lifetime of the flash memory.
This is why most of the log information is written by default on the /tmp directory.
The "/tmp" directory is mounted on "tmpfs" which is a filesystem mounted in RAM.
The tmp logs are moved to /var/log when dramatic events occur like system crash or system reboot.
Checking PicOS works mode as follows:
In L2/L3 Mode (Or XORP), only the XORP system is running.
In OVS Mode, only the OVS daemon is running.