Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

show spanning-tree bridge

Syntax

Syntax (QFX Series and EX Series)

Description

Displays the configured or calculated spanning-tree protocol (can be either STP, RSTP, MSTP, or VSTP) parameters.

Options

none

(Optional) Display brief STP bridge information for all multiple spanning-tree instances (MSTIs).

brief | detail

(Optional) Display the specified level of output.

msti msti-id

(Optional) Display spanning-tree protocol bridge information for the specified MSTI or Common and Internal Spanning Tree (CIST). Specify 0 for CIST. Specify a value from 1 through 4094 for an MSTI.

routing-instance routing-instance-name

(Optional) Display STP bridge information for the specified routing instance.

vlan-id vlan-id

(Optional) Display spanning-tree protocol bridge information for the specified VLAN. Specify a VLAN tag identifier from 1 through 4094.

Required Privilege Level

view

Output Fields

Table 1 lists the output fields for the show spanning-tree bridge command. Output fields are listed in the approximate order in which they appear.

Table 1: show spanning-tree bridge Output Fields

Field Name

Field Description

Routing instance name

Name of the routing instance under which the bridge is configured.

Enabled protocol

Spanning Tree Protocol type enabled.

Root ID

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.

Root cost

Calculated cost to reach the root bridge from the bridge where the command is entered.

Root port

Interface that is the current elected root port for this bridge.

CIST regional root

Bridge ID of the elected MSTP regional root bridge.

CIST internal root cost

Calculated cost to reach the regional root bridge from the bridge where the command is entered.

Hello time

Configured number of seconds between transmissions of configuration BPDUs.

Maximum age

Configured maximum expected arrival time of hello bridge protocol data units (BPDUs).

Forward delay

How long an STP bridge port remains in the listening and learning states before transitioning to the forwarding state.

Hop count

Configured maximum number of hops a BPDU can be forwarded in the MSTP region.

Message age

Number of elapsed seconds since the most recent BPDU was received.

Number of topology changes

Total number of STP topology changes detected since the routing device last booted.

Time since last topology change

Number of elapsed seconds since the most recent topology change.

Bridge ID (Local)

Locally configured bridge ID. The bridge ID consists of a configurable bridge priority and the MAC address of the bridge.

Extended system ID

System identifier.

MSTI regional root

Bridge ID of the elected MSTP regional root bridge.

Sample Output

show spanning-tree bridge routing-instance

show spanning-tree bridge msti

show spanning-tree bridge vlan-id (MSTP)

show spanning-tree bridge (RSTP)

show spanning-tree bridge vlan-id (RSTP)

Release Information

Command introduced in Junos OS Release 8.4.