Monitoring Spanning Tree Protocols on Switches
This topic applies only to the J-Web Application package.
Use the monitoring feature to view status and information about the spanning-tree protocol parameters on your EX Series switch.
To display spanning-tree protocol parameter details in the J-Web interface, select Monitor > Switching > STP.
To display spanning-tree protocol parameter details in the CLI, enter the following commands:
show spanning-tree interface
show spanning-tree bridge
Table 101 summarizes the spanning-tree protocol parameters.
Table 101: Summary of Spanning Tree Protocols Output Fields
Routing instance name
Note: The option is supported only on EX4300 switches.
Displays bridge information for the specified routing instance.
An internally generated identifier.
Spanning-tree protocol type enabled.
Bridge ID of the elected spanning-tree root bridge.
The bridge ID consists of a configurable bridge priority and the MAC address of the bridge.
Calculated cost to reach the root bridge from the bridge where the command is entered.
Interface that is the current elected root port for this bridge.
Locally configured bridge ID.
The time for which the bridge interface remains in the listening or learning state.
The time for which the bridge interface remains in the listening or learning state before transitioning to the forwarding state.
Extended System ID
The system ID.
Inter Instance ID
An internally generated instance identifier.
Maximum age of received bridge protocol data units (BPDUs).
Number of topology changes
Total number of spanning-tree protocol topology changes detected since the switch last booted.
Time since last topology change
Note: This option is supported only on EX4300 switches.
Number of seconds elapsed since the last topology change.
Spanning Tree Interface Details
Interface configured to participate in the spanning-tree protocol instance.
Logical interface identifier configured to participate in the spanning-tree protocol instance.
Designated Port ID
Port ID of the designated port for the LAN segment to which the interface is attached.
Designated Bridge ID
ID of the designated bridge to which the interface is attached.
Configured cost for the interface.
Spanning-tree protocol port state:
MSTP or RSTP port role, Designated (DESG), backup (BKUP), alternate (ALT), or root.
Spanning Tree Statistics of Interface
Interface for which statistics is being displayed.
Total number of BPDUs sent.
Total number of BPDUs received.
Next BPDU Transmission
Number of seconds until the next BPDU is scheduled to be sent.