Clears the incident counters for events.
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. |
If severity is not specified, then the event counters of any severity are cleared in the specified component.
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 for more information about severity levels.
To get a listing of the event conditions in the system, use the following command: show log events {details}
To get a listing of the components present in the system, use the following command: show log components
In a SummitStack, execution of these commands on a backup or standby node results in the clearing of that node‘s information only. Execution of these commands on the master node results in the clearing of information on all nodes in the system.
The following example clears the event counters for event conditions of severity error or greater in the component BGP:
clear log counters "BGP" severity error
This command was first available in ExtremeXOS 10.1.
This command is available on ExtremeSwitching 5320, 5420, 5520, and 5720 series switches.