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 bridgeshow 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
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