Commands for Status Monitoring and Statistics
ExtremeWare XOS 11.5 supports only the Summit X450 family of switches and the BlackDiamond 8800 series switch.
ExtremeWare XOS 11.5 Command Reference Guide
562
clear log
clear log {error-led | static | messages [memory-buffer | nvram]}
Description
Clears the log messages in memory and NVRAM, and clears the ERR LED on the MSM.
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
History
This command was first available in ExtremeWare XOS 10.1.
Platform Availability
This command is available on all platforms.
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.