show spanning-tree interface
Syntax
- show spanning-tree interface
- <brief | detail>
- <interface-name interface-name>
- <msti msti-id>
- <vlan-id vlan-id>
Release Information
Command introduced in JUNOS Release 9.0 for EX-series switches.
Description
Display the configured or calculated interface-level spanning-tree protocol (can be either STP, RSTP, or MSTP) parameters.
Options
none — (Optional) Display brief STP interface information.
brief | detail — (Optional) Display the specified level of output.
interface-name interface-name — (Optional) Name of an interface.
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-id vlan-id — (Optional) For MSTP interfaces, display interface information for the specified VLAN. Specify a value from 0 through 4094.
Required Privilege Level
view
List of Sample Output
show spanning-tree interfaceshow spanning-tree interface brief
show spanning-tree interface detail
show spanning-tree interface ge-1/0/0
Output Fields
Table 1 lists the output fields for the show spanning-tree Interface command. Output fields are listed in the approximate order in which they appear.
Table 1: show spanning-tree interface Output Fields
show spanning-tree interface
user@switch> show spanning-tree interface
Spanning tree interface parameters for instance 0 Interface Port ID Designated Designated Port State Role port ID bridge ID Cost ge-0/0/0.0 128:513 128:513 8192.0019e2500340 1000 FWD DESG ge-0/0/2.0 128:515 128:515 8192.0019e2500340 1000 BLK DIS ge-0/0/4.0 128:517 128:517 8192.0019e2500340 1000 FWD DESG ge-0/0/23.0 128:536 128:536 8192.0019e2500340 1000 FWD DESG Spanning tree interface parameters for instance 1 Interface Port ID Designated Designated Port State Role port ID bridge ID Cost ge-0/0/0.0 128:513 128:513 8193.0019e2500340 1000 FWD DESG ge-0/0/2.0 128:515 128:515 8193.0019e2500340 1000 BLK DIS ge-0/0/4.0 128:517 128:517 8193.0019e2500340 1000 FWD DESG ge-0/0/23.0 128:536 128:536 8193.0019e2500340 1000 FWD DESG Spanning tree interface parameters for instance 2 Interface Port ID Designated Designated Port State Role port ID bridge ID Cost ge-0/0/0.0 128:513 128:1 8194.001b549fd000 1000 FWD ROOT ge-0/0/2.0 128:515 128:515 32770.0019e2500340 4000 BLK DIS ge-0/0/4.0 128:517 128:1 16386.001b54013080 1000 BLK ALT ge-0/0/23.0 128:536 128:536 32770.0019e2500340 1000 FWD DESG
show spanning-tree interface brief
user@switch> show spanning-tree interface brief
Spanning tree interface parameters for instance 0 Interface Port ID Designated Designated Port State Role port ID bridge ID Cost ge-1/0/0.0 128:625 128:625 32768.0019e25095a0 20000 BLK DIS ge-1/0/1.0 128:626 128:626 32768.0019e25095a0 20000 BLK DIS ge-1/0/2.0 128:627 128:627 32768.0019e25095a0 20000 BLK DIS ge-1/0/10.0 128:635 128:635 32768.0019e25095a0 20000 BLK DIS ge-1/0/20.0 128:645 128:645 32768.0019e25095a0 20000 BLK DIS ge-1/0/30.0 128:655 128:655 32768.0019e25095a0 20000 BLK DIS
show spanning-tree interface detail
user@switch> show spanning-tree interface detail
Spanning tree interface parameters for instance 0 Interface name : ge-1/0/0.0 Port identifier : 128.625 Designated port ID : 128.625 Port cost : 20000 Port state : Blocking Designated bridge ID : 32768.00:19:e2:50:95:a0 Port role : Disabled Link type : Pt-Pt/EDGE Boundary port : NA Interface name : ge-1/0/1.0 Port identifier : 128.626 Designated port ID : 128.626 Port cost : 20000 Port state : Blocking Designated bridge ID : 32768.00:19:e2:50:95:a0 Port role : Disabled Link type : Pt-Pt/NONEDGE Boundary port : NA Interface name : ge-1/0/2.0 Port identifier : 128.627 Designated port ID : 128.627 Port cost : 20000 Port state : Blocking Designated bridge ID : 32768.00:19:e2:50:95:a0 Port role : Disabled Link type : Pt-Pt/NONEDGE Boundary port : NA Interface name : ge-1/0/10.0 Port identifier : 128.635 Designated port ID : 128.635 Port cost : 20000 Port state : Blocking Designated bridge ID : 32768.00:19:e2:50:95:a0 Port role : Disabled Link type : Pt-Pt/NONEDGE Boundary port : NA Interface name : ge-1/0/20.0 Port identifier : 128.645 Designated port ID : 128.645 Port cost : 20000 Port state : Blocking Designated bridge ID : 32768.00:19:e2:50:95:a0 Port role : Disabled Link type : Pt-Pt/NONEDGE Boundary port : NA [output truncated]
show spanning-tree interface ge-1/0/0
user@switch> show spanning-tree interface ge-1/0/0
Interface Port ID Designated Designated Port State Role port ID bridge ID Cost ge-1/0/0.0 128:625 128:625 32768.0019e25095a0 20000 BLK DIS