Clears the log messages in memory and NVRAM.
static | Specifies that the messages in the NVRAM and memory-buffer targets are cleared. |
memory-buffer | Clears entries from the memory buffer. |
nvram | Clears entries from NVRAM. |
N/A.
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.
Execution of these commands on a backup or standby node results in the clearing of that node‘s information only. Execution of these commands on the master node results in the clearing of information on all nodes in the system.
# clear log static
This command was first available in ExtremeXOS 10.1.
This command is available on the ExtremeSwitching X435, X440-G2, X450-G2, X460-G2, X465, X590, X620, X670-G2, X690, X695, and X870 series switches.