604
ExtremeWare Software 7.3.0 Command Reference Guide
Commands for Status Monitoring and Statistics
clear log
clear log {diag-status | 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 as well as the memory buffer target.
When there is a hardware failure, a hardware error code might be saved to the FLASH or NVRAM
(depending on the switch configuration). Upon reboot, the switch will not try to bring up a card with
an error code, so it will be shown in a failed state. Use the
clear log diag-status
command to clear
the hardware error code, so the module can be brought up after the next reboot. This command clears
the state for all the modules.
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 2.0.
The
diag-status
option was added in ExtremeWare 7.0.0.
diag-status
Clears the hardware error code.
error-led
Clears the ERR LED on the MSM.
static
Specifies that the messages in the NVRAM target are cleared, and the ERR
LED on the MSM is cleared.
memory-buffer
Clears entries from the memory buffer.
nvram
Clears entries from NVRAM
Summary of Contents for ExtremeWare 7.3.0
Page 54: ...54 ExtremeWare Software 7 3 0 Command Reference Guide Contents...
Page 104: ...104 ExtremeWare Software 7 3 0 Command Reference Guide Commands for Accessing the Switch...
Page 378: ...378 ExtremeWare Software 7 3 0 Command Reference Guide FDB Commands...
Page 418: ...418 ExtremeWare Software 7 3 0 Command Reference Guide QoS Commands...
Page 436: ...436 ExtremeWare Software 7 3 0 Command Reference Guide NAT Commands...
Page 600: ...600 ExtremeWare Software 7 3 0 Command Reference Guide SLB Commands...
Page 968: ...968 ExtremeWare Software 7 3 0 Command Reference Guide Security Commands...
Page 1002: ...1002 ExtremeWare Software 7 3 0 Command Reference Guide EAPS Commands...
Page 1126: ...1126 ExtremeWare Software 7 3 0 Command Reference Guide ESRP Commands...
Page 1392: ...1392 ExtremeWare Software 7 3 0 Command Reference Guide IGP Commands...
Page 1478: ...1478 ExtremeWare Software 7 3 0 Command Reference Guide BGP Commands...
Page 1556: ...1556 ExtremeWare Software 7 3 0 Command Reference Guide IP Multicast Commands...
Page 1600: ...1600 ExtremeWare Software 7 3 0 Command Reference Guide IPX Commands...
Page 1616: ...1616 ExtremeWare Software 7 3 0 Command Reference Guide ARM Commands...
Page 1694: ...1694 ExtremeWare Software 7 3 0 Command Reference Guide PoS Commands...
Page 1750: ...1750 ExtremeWare Software 7 3 0 Command Reference Guide T1 E1 and T3 WAN Commands...
Page 1856: ...1856 ExtremeWare Software 7 3 0 Command Reference Guide MPLS Commands...
Page 1898: ...1898 ExtremeWare Software 7 3 0 Command Reference Guide High Density Gigabit Ethernet Commands...
Page 1938: ...1938 ExtremeWare Software 7 3 0 Command Reference Guide Power Over Ethernet Commands...
Page 1988: ...1988 ExtremeWare Software 7 3 0 Command Reference Guide H VPLS Commands...
Page 2106: ...2106 ExtremeWare Software 7 3 0 Command Reference Guide Wireless Commands...
Page 2132: ...2132 ExtremeWare Software 7 3 0 Command Reference Guide Configuration and Image Commands...
Page 2236: ...2236 ExtremeWare Software 7 3 0 Command Reference Guide Troubleshooting Commands...
Page 2254: ...2254 ExtremeWare Software 7 3 0 Command Reference Guide Index of Commands...