clear counters stp

clear counters stp {[all | diagnostics | domains | ports]}

Description

Clears, resets all STP statistics and counters.

Syntax Description

all Specifies all STP domain, port, and diagnostics counters.
diagnostics Specifies STP diagnostics counters.
domains Specifies STP domain counters.
ports Specifies STP port counters.

Default

N/A.

Usage Guidelines

If you do not enter a parameter, the result is the same as specifying the all parameter: the counters for all domains, ports, and diagnostics are reset.

Enter one of the following parameters to reset the STP counters on the switch:
  • all—Specifies the counters for all STPDs and ports, and clears all STP counters.

  • diagnostics—Clears the internal diagnostic counters.

  • domains—Clears the domain level counters.

  • ports—Clears the counters for all ports and leaves the domain level counters.

Viewing and maintaining statistics on a regular basis allows you to see how well your network is performing. If you keep simple daily records, you will see trends emerging and notice problems arising before they cause major network faults. By clearing the counters, you can see fresh statistics for the time period that you are monitoring.

Example

The following command clears all of the STP domain, port, and diagnostic counters:

clear counters stp

History

This command was first available in ExtremeXOS 10.1.

Platform Availability

This command is available on all Universal switches supported in this document.