Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

clear spanning-tree statistics

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
clear spanning-tree statistics
<interface interface-name>
<logical-system logical-system-name>

Syntax (EX Series Switches and the QFX Series)

content_copy zoom_out_map
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

content_copy zoom_out_map
user@switch> clear spanning—tree statistics             

Release Information

Command introduced in Junos OS Release 8.4.

footer-navigation