Navigation
clear spanning-tree statistics
Syntax
clear spanning-tree statistics<interface interface-name><logical-system logical-system-name>
Syntax (EX Series Switches and the QFX Series)
clear spanning-tree statistics<interface interface-name>
Release Information
Command introduced in Junos OS Release 8.4.
Command introduced in Junos OS Release 9.0 for EX Series switches.
Command introduced in Junos OS Release 11.1 for the QFX Series.
Description
Clear Spanning Tree Protocol statistics.
Options
none | — | Reset STP counters for all interfaces for all routing instances. |
interface interface-name | — | (Optional) Clear STP statistics for the specified interface only. |
logical-system logical-system-name | — | (Optional) Clear STP statistics on a particular logical system. |
![]() | Note: The logical-system option is not available on QFabric systems. |
Required Privilege Level
clear
List of Sample Output
clear stp statisticsSample Output
clear stp statistics
user@host> clear stp statistics