Commands for Status Monitoring and Statistics
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
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.
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
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 on an "i" series switch:
clear log counters "BGP" severity error
660
on page 775 for more information about severity levels.
ExtremeWare 7.5 Command Reference Guide