clear log counters
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
563
clear log counters
clear log counters {<event-condition> | [all | <event-component>] {severity
<severity> {only}}}
Description
Clears the incident counters for events.
Syntax Description
Default
If severity is not specified, then the event counters of any severity are cleared in the specified
component.
Usage Guidelines
This command sets the incident counters to zero for each event specified. To display event counters, use
the following command:
show log counters
See the command
show log
on page 668
for more information about severity levels.
To get a listing of the event conditions in the system, use the following command:
show log events {detail}
To get a listing of the components present in the system, use the following command:
show log components
Example
The following command clears the event counters for event conditions of severity error or greater in the
component
BGP
:
clear log counters "BGP" severity error
event-condition
Specifies the event condition counter to clear.
all
Specifies that all events counters are to be cleared.
event-component
Specifies that all the event counters associated with a particular component
should be cleared.
severity
Specifies the minimum severity level of event counters to clear (if the keyword
only is omitted).
only
Specifies that only event counters of the specified severity level are to be
cleared.