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>
Description
Clear Spanning Tree Protocol statistics for all interfaces or a specified interface.
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
Output Fields
This command produces no output.
Sample Output
clear spanning-tree statistics
user@switch> clear spanning—tree statistics
Release Information
Command introduced in Junos OS Release 8.4.