show spanning-tree statistics
Syntax
show spanning-tree statistics <brief | detail> <interface interface-name> <routing-instance routing-instance-name>
Syntax (EX Series and QFX Series)
show spanning-tree statistics <brief | detail> <interface interface-name | vlan vlan-id>
Syntax (EX Series)
show spanning-tree statistics interface interface-name vlan vlan-id <brief | detail>
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
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.
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 interval |
Number of BPDUs sent within a specified interval. |
BPDUs received in last interval |
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
- show spanning-tree statistics interface routing-instance detail
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
Release Information
Command introduced in Junos OS Release 8.4.