[an error occurred while processing this directive] [an error occurred while processing this directive]

show spanning-tree bridge

Syntax

show spanning-tree bridge
<brief | detail>
<msti msti-id>
<vlan vlan-id>

Release Information

Command introduced in JUNOS Release 9.0 for EX-series switches.

Description

Display the configured or calculated spanning-tree protocol (can be either STP, RSTP, or MSTP) 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 STP bridge information for the specified MSTP instance ID or Common and Internal Spanning Tree (CIST). Specify 0 for CIST. Specify a value from 1 through 4094 for an MSTI.

vlan vlan-id(Optional) Display STP bridge information for the specified VLAN. Specify a VLAN tag identifier from 1 through 4094.

Required Privilege Level

view

List of Sample Output

show spanning-tree bridge
show spanning-tree bridge brief
show spanning-tree bridge detail

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

Context ID

An internally generated identifier.

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

Maximum age of received protocol BPDUs.

Forward delay

Configured time 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 seconds elapsed since the most recent BPDU was received.

Number of topology changes

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

Time since last topology change

Number of seconds elapsed 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

Internally generated system identifier.

MSTI regional root

Bridge ID of the elected MSTP regional root bridge.

Internal instance ID

An internally generated identifier.

Path Cost Method

Bridges supporting 802.1D (legacy) implement only 16-bit values for path cost. Newer versions of this standard support 32-bit values.

Sample Output

show spanning-tree bridge

user@switch> show spanning-tree bridge
STP bridge parameters 
Context ID   : 0
Enabled protocol    : MSTP

STP bridge parameters for CIST
  Root ID       : 8192.00:19:e2:50:51:e0
  Root cost     : 0
  Root port     : ge-0/0/13.0
  CIST regional root    : 8192.00:19:e2:50:51:e0
  CIST internal root cost   : 2000
  Hello time        : 2 seconds
  Maximum age       : 20 seconds
  Forward delay     : 15 seconds
  Hop count     : 18 
  Message age       : 0 
  Number of topology changes    : 3
  Time since last topology change   : 921 seconds
  Local parameters 
    Bridge ID       : 16384.00:19:e2:50:44:e0
    Extended system ID      : 0
    Internal instance ID    : 0

STP bridge parameters for MSTI 1
  MSTI regional root    : 4097.00:19:e2:50:51:e0
  Root cost     : 2000
  Root port     : ge-0/0/13.0
  Hello time        : 2 seconds
  Maximum age       : 20 seconds
  Forward delay     : 15 seconds
  Hop count     : 18 
  Local parameters 
    Bridge ID       : 16385.00:19:e2:50:44:e0
    Extended system ID      : 0
    Internal instance ID    : 1

STP bridge parameters for MSTI 2
  MSTI regional root    : 4098.00:19:e2:50:3d:20
  Root cost     : 1000
  Root port     : ge-0/0/9.0
  Hello time        : 2 seconds
  Maximum age       : 20 seconds
  Forward delay     : 15 seconds
  Hop count     : 19 
  Local parameters 
    Bridge ID       : 8194.00:19:e2:50:44:e0
    Extended system ID      : 0
    Internal instance ID    : 2

show spanning-tree bridge brief

user@switch> show spanning-tree bridge brief
STP bridge parameters 
Context ID      : 0
Enabled protocol    : RSTP
  Root ID       : 32768.00:19:e2:50:95:a0
  Hello time        : 2 seconds
  Maximum age       : 20 seconds
  Forward delay     : 15 seconds
  Message age       : 0 
  Number of topology changes    : 0
  Local parameters 
    Bridge ID       : 32768.00:19:e2:50:95:a0
    Extended system ID      : 0
    Internal instance ID    : 0

show spanning-tree bridge detail

user@switch> show spanning-tree bridge detail
  
STP bridge parameters 
Context ID      : 0
Enabled protocol    : RSTP
  Root ID       : 32768.00:19:e2:50:95:a0
  Hello time        : 2 seconds
  Maximum age       : 20 seconds
  Forward delay     : 15 seconds
  Message age       : 0 
  Number of topology changes    : 0
  Local parameters 
    Bridge ID       : 32768.00:19:e2:50:95:a0
    Extended system ID      : 0
    Internal instance ID    : 0
    Hello time      : 2 seconds
    Maximum age     : 20 seconds
    Forward delay       : 15 seconds
    Path cost method    : 32 bit 
[an error occurred while processing this directive]