clear log counters
clear log counters {<event-condition> | [all | <event-component>] {severity
<severity> {only}}}
Description
Clears the incident counters for events.
Syntax Description
event-condition
all
event-component
severity
only
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
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
History
This command was first available in ExtremeWare XOS 10.1.
ExtremeWare XOS 11.0 Command Reference Guide
Specifies the event condition counter to clear.
Specifies that all events counters are to be cleared.
Specifies that all the event counters associated with a particular component
should be cleared.
Specifies the minimum severity level of event counters to clear (if the keyword
only is omitted).
Specifies that only event counters of the specified severity level are to be
cleared.
on page 364 for more information about severity levels.
show log
clear log counters
313