show spanning-tree statistics
Syntax
Syntax (EX Series Switch and the QFX Series)
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 QFX Series switches.
Description
Display STP statistics.
Options
none | — | Display brief STP statistics. |
brief | detail | — | (Optional) Display the specified level of output. |
interface interface-name | — | (Optional) Display STP statistics for the specified interface. |
routing-instance routing-instance-name | — | (Optional) Display STP statistics for the specified routing instance. |
Required Privilege Level
view
List of Sample Output
show spanning-tree statistics routing-instanceshow spanning-tree statistics interface routing-instance detail
Output Fields
Table 1 lists the output fields for the show spanning-tree statistics command. Output fields are listed in the approximate order in which they appear.
Table 1: show spanning-tree statistics Output Fields
Field Name | Field Description |
---|---|
Message type | Type of message being counted. |
BPDUs sent | Total number of BPDUs sent. |
BPDUs received | Total number of BPDUs received. |
BPDUs sent in last 5 secs | Number of BPDUs sent within a specified interval. |
BPDUs received in last 5 secs | Number of BPDUs received within a specified interval. |
Interface | Interface for which the statistics are being displayed. |
Next BPDU transmission | Number of seconds until the next BPDU is scheduled to be sent. |
Sample Output
show spanning-tree statistics routing-instance
user@host> show spanning-tree statistics routing-instance
vs1 detail
Routing instance level STP statistics Message type : bpdus BPDUs sent : 1396 BPDUs received : 1027 BPDUs sent in last interval : 5 (duration: 4 sec) BPDUs received in last interval: 4 (duration: 4 sec)
show spanning-tree statistics interface routing-instance detail
user@host> show spanning-tree statistics interface
ge-11/1/4 routing-instance vs1 detail
Interface BPDUs sent BPDUs received Next BPDU transmission ge-11/1/4 7 190 0