Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    show spanning-tree statistics

    Syntax

    show spanning-tree statisticsinterface interface-namevlan vlan-id<brief | detail>

    Release Information

    Command introduced in Junos OS Release 9.0 for EX Series switches.

    Option vlan vlan-id introduced in Junos OS Release 10.1 for EX Series switches.

    Description

    Display STP statistics on an interface, or for a VLAN when VSTP is enabled.

    Options

    none

    Display brief STP statistics.

    brief | detail

    (Optional) Display the specified level of output.

    interface interface-name

    (Optional) The name of the interface.

    vlan vlan-id

    (Optional) The name of a VLAN.

    Required Privilege Level

    view

    List of Sample Output

    show spanning-tree statistics interface

    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

    BPDUs sent

    Total number of BPDUs sent.

    BPDUs received

    Total number of BPDUs received.

    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 interface

    user@switch> show spanning-tree statistics interface ge-0/0/4
    Interface   BPDUs sent   BPDUs received  Next BPDU
               			 transmission
    ge-0/0/4      7   190    0
    

    Modified: 2016-12-06