show spanning-tree bridge
Syntax
show spanning-tree bridge <brief | detail> <msti msti-id> <routing-instance routing-instance-name> <vlan-id vlan-id>
Syntax (QFX Series and EX Series)
show spanning-tree bridge <brief | detail> <msti msti-id> <vlan-id vlan-id>
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.
Field Name |
Field Description |
|---|---|
|
Name of the routing instance under which the bridge is configured. |
|
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. |
|
Bridge ID of the elected MSTP regional root bridge. |
|
Calculated cost to reach the regional root bridge from the bridge where the command is entered. |
|
Configured number of seconds between transmissions of configuration BPDUs. |
|
Configured maximum expected arrival time of hello bridge protocol data units (BPDUs). |
|
How long an STP bridge port remains in the listening and learning states before transitioning to the forwarding state. |
|
Configured maximum number of hops a BPDU can be forwarded in the MSTP region. |
|
Number of elapsed seconds since the most recent BPDU was received. |
|
Total number of STP topology changes detected since the routing device last booted. |
|
Number of elapsed seconds since the most recent topology change. |
|
Locally configured bridge ID. The bridge ID consists of a configurable bridge priority and the MAC address of the bridge. |
|
System identifier. |
|
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)
show spanning-tree bridge routing-instance
user@host> show spanning-tree bridge routing-instance vs1 detail
STP bridge parameters
Routing instance name : vs1
Enabled protocol : MSTP
STP bridge parameters for CIST
Root ID : 32768.00:13:c3:9e:c8:80
Root cost : 0
Root port : ge-10/2/0
CIST regional root : 32768.00:13:c3:9e:c8:80
CIST internal root cost : 22000
Hello time : 2 seconds
Maximum age : 20 seconds
Forward delay : 15 seconds
Hop count : 18
Message age : 0
Number of topology changes : 1
Time since last topology change : 1191 seconds
Local parameters
Bridge ID : 32768.00:90:69:0b:7f:d1
Extended system ID : 1
STP bridge parameters for MSTI 1
MSTI regional root : 32769.00:13:c3:9e:c8:80
Root cost : 22000
Root port : ge-10/2/0
Hello time : 2 seconds
Maximum age : 20 seconds
Forward delay : 15 seconds
Hop count : 18
Number of topology changes : 1
Time since last topology change : 1191 seconds
Local parameters
Bridge ID : 32769.00:90:69:0b:7f:d1
Extended system ID : 1
STP bridge parameters for MSTI 2
MSTI regional root : 32770.00:13:c3:9e:c8:80
Root cost : 22000
Root port : ge-10/2/0
Hello time : 2 seconds
Maximum age : 20 seconds
Forward delay : 15 seconds
Hop count : 18
Number of topology changes : 1
Time since last topology change : 1191 seconds
Local parameters
Bridge ID : 32770.00:90:69:0b:7f:d1
Extended system ID : 1
show spanning-tree bridge msti
user@host> show spanning-tree bridge msti 1 routing-instance vs1 detail
STP bridge parameters
Routing instance name : vs1
Enabled protocol : MSTP
STP bridge parameters for MSTI 1
MSTI regional root : 32769.00:13:c3:9e:c8:80
Root cost : 22000
Root port : xe-10/2/0
Hello time : 2 seconds
Maximum age : 20 seconds
Forward delay : 15 seconds
Hop count : 18
Number of topology changes : 1
Time since last topology change : 1191 seconds
Local parameters
Bridge ID : 32769.00:90:69:0b:7f:d1
Extended system ID : 1
show spanning-tree bridge vlan-id (MSTP)
user@host> show spanning-tree bridge vlan-id 1 101 routing-instance vs1 detail
STP bridge parameters
Routing instance name : vs1
Enabled protocol : MSTP
STP bridge parameters for CIST
Root ID : 32768.00:13:c3:9e:c8:80
Root cost : 0
Root port : xe-10/2/0
CIST regional root : 32768.00:13:c3:9e:c8:80
CIST internal root cost : 22000
Hello time : 2 seconds
Maximum age : 20 seconds
Forward delay : 15 seconds
Hop count : 18
Message age : 0
Number of topology changes : 0
Local parameters
Bridge ID : 32768.00:90:69:0b:7f:d1
Extended system ID : 1
Hello time : 2 seconds
Maximum age : 20 seconds
Forward delay : 15 seconds
Path cost method : 32 bit
Maximum hop count : 20
show spanning-tree bridge (RSTP)
user@host> show spanning-tree bridge
STP bridge parameters
Routing instance name : GLOBAL
Enabled protocol : RSTP
Root ID : 28672.00:90:69:0b:3f:d0
Hello time : 2 seconds
Maximum age : 20 seconds
Forward delay : 15 seconds
Message age : 0
Number of topology changes : 58
Time since last topology change : 14127 seconds
Local parameters
Bridge ID : 28672.00:90:69:0b:3f:d0
Extended system ID : 0
STP bridge parameters for bridge VLAN 10
Root ID : 28672.00:90:69:0b:3f:d0
Hello time : 2 seconds
Maximum age : 20 seconds
Forward delay : 15 seconds
Message age : 0
Number of topology changes : 58
Time since last topology change : 14127 seconds
Local parameters
Bridge ID : 28672.00:90:69:0b:3f:d0
Extended system ID : 0
STP bridge parameters for bridge VLAN 20
Root ID : 28672.00:90:69:0b:3f:d0
Hello time : 2 seconds
Maximum age : 20 seconds
Forward delay : 15 seconds
Message age : 0
Number of topology changes : 58
Time since last topology change : 14127 seconds
Local parameters
Bridge ID : 28672.00:90:69:0b:3f:d0
Extended system ID : 0
show spanning-tree bridge vlan-id (RSTP)
user@host> show spanning-tree bridge vlan-id 10
STP bridge parameters
Routing instance name : GLOBAL
Enabled protocol : RSTP
STP bridge parameters for VLAN 10
Root ID : 28672.00:90:69:0b:3f:d0
Hello time : 2 seconds
Maximum age : 20 seconds
Forward delay : 15 seconds
Message age : 0
Number of topology changes : 58
Time since last topology change : 14127 seconds
Local parameters
Bridge ID : 28672.00:90:69:0b:3f:d0
Extended system ID : 0Release Information
Command introduced in Junos OS Release 8.4.