How can I clear logs on a WLAN device

Logs generated on a WLAN device are saved in the log buffer. After the number of logs reaches the specified threshold, the logs are saved to the syslogfile or logfile folder in the device's flash memory.

When the WLAN device has been running for a long time, it generates a large number of logs. In this case, you can run the info-center max-logfile-number command to set the maximum number of logs to be saved on the device.

You can clear all logs in the buffer and the flash memory.

1. Clear logs in the log buffer or trap buffer.

- Run the reset logbuffer command in the user view to clear logs in the log buffer.

- Run the reset trapbuffer command in the user view to clear traps in the trap buffer.

2. Clear log files in the flash memory.

Run the delete command in the user view to delete log files in the flash memory. To delete logs in the logfile folder, perform the following operations:

- delete flash:/logfile/xxx //Delete a log record. xxx specifies the log file name saved in the flash memory.

- delete /unreserved flash:/logfile/xxx //Permanently delete a log record, which cannot be restored.

- reset recycle-bin //Empty the recycle bin.

Other related questions:
How can I clear alarms on a WLAN device
How can I view logs on a WLAN device
If you have more questions, you can seek help from following ways:
To iKnow To Live Chat To Google
Scroll to top