show spanning-tree statistics
Syntax
Syntax (EX Series Switch)
Release Information
Command introduced in JUNOS Release 8.4.
Command introduced in JUNOS Release 9.0 for EX 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
Output Fields
Table 194 lists the output fields for the show spanning-tree statistics command. Output fields are listed in the approximate order in which they appear.
Table 194: 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 in the most recent 5-second period. |
BPDUs received in last 5 secs | Number of BPDUs received in the most recent 5-second period. |
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 detailRouting instance level STP statistics Message type : bpdus BPDUs sent : 121 BPDUs received : 537 BPDUs sent in last 5 secs : 5 BPDUs received in last 5 secs : 27
show spanning-tree statistics interface
user@host> show spanning-tree statistics interface
ge-11/1/4 routing-instance vs1 detailInterface BPDUs sent BPDUs received Next BPDU
transmission
ge-11/1/4 7 190 0