Specifications
clear log
ExtremeWare XOS 10.1 Command Reference Guide 243
clear log
clear log {error-led | static | messages [memory-buffer | nvram]}
Description
Clears the log database.
Syntax Description
Default
N/A.
Usage Guidelines
The switch log tracks configuration and fault information pertaining to the device.
By default, log entries that are sent to the NVRAM remain in the log after a switch reboot. The clear
log
and clear log messages memory-buffer commands remove entries in the memory buffer target;
the
clear log static and clear log messages nvram commands remove messages from the
NVRAM target. In addition, the
clear log static command will also clear the memory buffer target.
There are three ways to clear the ERR LED. Clear the log, reboot the switch, or use the clear log
error-led
command. To clear the ERR LED without rebooting the switch or clearing the log messages,
use the
clear log error-led command.
Example
The following command clears all log messages, from the NVRAM:
clear log static
error-led Clears the ERR LED on the MSM.
static Specifies that the messages in the NVRAM and memory-buffer targets are
cleared, and the ERR LED on the MSM is cleared.
memory-buffer Clears entries from the memory buffer.
nvram Clears entries from NVRAM.