How are logs of CE series switches stored

Logs generated by the system are first saved in the log buffer. The system automatically saves the logs to a log file (log.log or diag.log) every 30 minutes or when the log buffer is full. You can also manually save the logs in the log buffer to the log file using the command.

User logs are saved in flash:/logfile/log.log and diagnostic logs are saved in flash:/logfile/diag.log. When the size of a log file reaches 8 MB, the system compresses the log file with the file name log_slot-id_time.log.zip or diaglog_slot-id_time.log.zip. Slot-id and time indicate the slot number and the generation time of the log file, respectively.

The storage space for user logs and diagnostic logs is limited. You can run the display logfile storage-usage command to view its size and usage. Currently, the log storage space cannot be adjusted. If the available log storage space is less than 20%, the system will delete the earliest compressed log file to release space for the latest logs.

Scroll to top