666
ExtremeWare 7.7 Command Reference Guide
Commands for Status Monitoring and Statistics
clear log
For the “
i
” series switches:
clear log {diag-status | error-led | static | messages [memory-buffer |
nvram]}
For the “
e
” series switches:
clear log {diag-status | 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 module
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.
For the BlackDiamond Switches.
There are three ways to clear the ERR LED on the MSM for the
BlackDiamond switches: 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:
diag-status
Clears the hardware error code.
error-led
Clears the ERR LED on the MSM.
NOTE: This option is supported only on the BlackDiamond switches.
static
Specifies that the messages in the NVRAM target are cleared, and the ERR LED on the MSM
is cleared (on platforms with the MSM).
memory-buffer
Clears entries from the memory buffer.
nvram
Clears entries from NVRAM
Summary of Contents for ExtremeWare 7.7
Page 60: ...60 ExtremeWare 7 7 Command Reference Guide Contents ...
Page 72: ...72 ExtremeWare 7 7 Command Reference Guide Command Reference Overview ...
Page 404: ...404 ExtremeWare 7 7 Command Reference Guide VLAN Commands ...
Page 472: ...472 ExtremeWare 7 7 Command Reference Guide QoS Commands ...
Page 492: ...492 ExtremeWare 7 7 Command Reference Guide NAT Commands ...
Page 890: ...890 ExtremeWare 7 7 Command Reference Guide Security Commands ...
Page 1130: ...1130 ExtremeWare 7 7 Command Reference Guide Security Commands ...
Page 1164: ...1164 ExtremeWare 7 7 Command Reference Guide Configuration and Image Commands ...
Page 1436: ...1436 ExtremeWare 7 7 Command Reference Guide Wireless Commands ...
Page 1490: ...1490 ExtremeWare 7 7 Command Reference Guide EAPS Commands ...
Page 1576: ...1576 ExtremeWare 7 7 Command Reference Guide ESRP Commands ...
Page 1774: ...1774 ExtremeWare 7 7 Command Reference Guide IP Unicast Commands ...
Page 1914: ...1914 ExtremeWare 7 7 Command Reference Guide IGP Commands ...
Page 2000: ...2000 ExtremeWare 7 7 Command Reference Guide BGP Commands i Series Switches Only ...
Page 2140: ...2140 ExtremeWare 7 7 Command Reference Guide IPX Commands i Series Platforms Only ...
Page 2156: ...2156 ExtremeWare 7 7 Command Reference Guide ARM Commands BlackDiamond Switch Only ...
Page 2168: ...2168 ExtremeWare 7 7 Command Reference Guide Remote Connect Commands ...
Page 2346: ...2346 ExtremeWare 7 7 Command Reference Guide PoS Commands BlackDiamond Switch Only ...
Page 2446: ...2446 ExtremeWare 7 7 Command Reference Guide LLDP Commands ...
Page 2496: ...2496 ExtremeWare 7 7 Command Reference Guide H VPLS Commands BlackDiamond Switch Only ...
Page 2620: ...2620 ExtremeWare 7 7 Command Reference Guide Index of Commands ...