- <brief | detail>
- show spanning-tree interface
- <msti msti-id>
- <routing-instance routing-instance-name>
- <vlan-id vlan-id>
Command introduced in JUNOS Release 8.4.
Display the configured or calculated interface-level STP parameters.
none — Display brief STP interface information.
brief | detail — (Optional) Display the specified level of output.
msti msti-id — (Optional) Display STP interface information for the specified MST instance.
routing-instance routing-instance-name — (Optional) Display STP interface information for the specified routing instance.
vlan-id vlan-id — (Optional) Display STP interface information for the specified VLAN.
view
Table 172 lists the output fields for the show spanning-tree Interface command. Output fields are listed in the approximate order in which they appear.
Table 172: show spanning-tree Interface Output Fields
user@host> show spanning-tree interface routing-instance
vs1 detail
Spanning tree interface parameters for instance 0
Interface Port ID Designated Designated Port State Role
port ID bridge ID Cost
ae1 128:1 128:1 32768.0090690b47d1 1000 FWD DESG
ge-2/1/2 128:2 128:2 32768.0090690b47d1 20000 FWD DESG
ge-2/1/5 128:3 128:3 32768.0090690b47d1 29999 FWD DESG
ge-2/2/1 128:4 128:26 32768.0013c39ec880 20000 FWD ROOT
xe-9/2/0 128:5 128:5 32768.0090690b47d1 2000 FWD DESG
xe-9/3/0 128:6 128:6 32768.0090690b47d1 2000 FWD DESG
Spanning tree interface parameters for instance 1
Interface Port ID Designated Designated Port State Role
port ID bridge ID Cost
ae1 128:1 128:1 32769.0090690b47d1 1000 FWD DESG
ge-2/1/2 128:2 128:2 32769.0090690b47d1 20000 FWD DESG
ge-2/1/5 128:3 128:3 32769.0090690b47d1 29999 FWD DESG
ge-2/2/1 128:4 128:26 32769.0013c39ec880 20000 FWD ROOT
xe-9/2/0 128:5 128:5 32769.0090690b47d1 2000 FWD DESG
xe-9/3/0 128:6 128:6 32769.0090690b47d1 2000 FWD DESG
Spanning tree interface parameters for instance 2
Interface Port ID Designated Designated Port State Role
port ID bridge ID Cost
ae1 128:1 128:1 32770.0090690b47d1 1000 FWD DESG
ge-2/1/2 128:2 128:2 32770.0090690b47d1 20000 FWD DESG
ge-2/1/5 128:3 128:3 32770.0090690b47d1 29999 FWD DESG
ge-2/2/1 128:4 128:26 32770.0013c39ec880 20000 FWD ROOT
xe-9/2/0 128:5 128:5 32770.0090690b47d1 2000 FWD DESG
xe-9/3/0 128:6 128:6 32770.0090690b47d1 2000 FWD DESG
user@host> show spanning-tree interface routing-instance
vs1 detail
Spanning tree interface parameters for instance 0 Interface name : ae1 Port identifier : 128.1 Designated port ID : 128.1 Port cost : 1000 Port state : Forwarding Designated bridge ID : 32768.00:90:69:0b:47:d1 Port role : Designated Link type : Pt-Pt/NONEDGE Boundary port : No Interface name : ge-2/1/2 Port identifier : 128.2 Designated port ID : 128.2 Port cost : 20000 Port state : Forwarding Designated bridge ID : 32768.00:90:69:0b:47:d1 Port role : Designated Link type : Pt-Pt/NONEDGE Boundary port : No Interface name : ge-2/1/5 Port identifier : 128.3 Designated port ID : 128.3 Port cost : 29999 Port state : Forwarding Designated bridge ID : 32768.00:90:69:0b:47:d1 Port role : Designated Link type : Pt-Pt/NONEDGE Boundary port : No Interface name : ge-2/2/1 Port identifier : 128.4 Designated port ID : 128.26 Port cost : 20000 Port state : Forwarding Designated bridge ID : 32768.00:13:c3:9e:c8:80 Port role : Root Link type : Pt-Pt/NONEDGE Boundary port : No Interface name : xe-9/2/0 Port identifier : 128.5 Designated port ID : 128.5 Port cost : 2000 Port state : Forwarding Designated bridge ID : 32768.00:90:69:0b:47:d1 Port role : Designated Link type : Pt-Pt/NONEDGE Boundary port : No Interface name : xe-9/3/0 Port identifier : 128.6 Designated port ID : 128.6 Port cost : 2000 Port state : Forwarding Designated bridge ID : 32768.00:90:69:0b:47:d1 Port role : Designated Link type : Pt-Pt/NONEDGE Boundary port : No Spanning tree interface parameters for instance 1 Interface name : ae1 Port identifier : 128.1 Designated port ID : 128.1 Port cost : 1000 Port state : Forwarding Designated bridge ID : 32768.00:90:69:0b:47:d1 Port role : Designated Link type : Pt-Pt/NONEDGE Boundary port : No Interface name : ge-2/1/2 Port identifier : 128.2 Designated port ID : 128.2 Port cost : 20000 Port state : Forwarding Designated bridge ID : 32768.00:90:69:0b:47:d1 Port role : Designated Link type : Pt-Pt/NONEDGE Boundary port : No Interface name : ge-2/1/5 Port identifier : 128.3 Designated port ID : 128.3 Port cost : 29999 Port state : Forwarding Designated bridge ID : 32768.00:90:69:0b:47:d1 Port role : Designated Link type : Pt-Pt/NONEDGE Boundary port : No Interface name : ge-2/2/1 Port identifier : 128.4 Designated port ID : 128.26 Port cost : 20000 Port state : Forwarding Designated bridge ID : 32768.00:13:c3:9e:c8:80 Port role : Root Link type : Pt-Pt/NONEDGE Boundary port : No ...
user@host> show spanning-tree interface msti
1 routing-instance vs1 detail
Spanning tree interface parameters for instance 1
Interface Port ID Designated Designated Port State Role
port ID bridge ID Cost
xe-7/0/0 128:1 128:1 32769.0090690b4fd1 2000 FWD DESG
ge-5/1/0 128:2 128:2 32769.0090690b4fd1 20000 FWD DESG
ge-5/1/1 128:3 128:3 32769.0090690b4fd1 20000 FWD DESG
ae1 128:4 128:1 32769.0090690b47d1 10000 BLK ALT
ge-5/1/4 128:5 128:3 32769.0090690b47d1 20000 BLK ALT
xe-7/2/0 128:6 128:6 32769.0090690b47d1 2000 FWD ROOT
user@host> show spanning-tree interface vlan-id
101 routing-instance vs1 detail
Spanning tree interface parameters for instance 0
Interface Port ID Designated Designated Port State Role
port ID bridge ID Cost
ge-11/0/5 128:1 128:1 32768.0090690b7fd1 20000 FWD DESG
ge-11/0/6 128:2 128:1 32768.0090690b7fd1 20000 BLK BKUP
ge-11/1/0 128:3 128:2 32768.0090690b4fd1 20000 BLK ALT
ge-11/1/1 128:4 128:3 32768.0090690b4fd1 20000 BLK ALT
ge-11/1/4 128:5 128:1 32768.0090690b47d1 20000 BLK ALT
xe-10/0/0 128:6 128:5 32768.0090690b4fd1 2000 BLK ALT
xe-10/2/0 128:7 128:4 32768.0090690b47d1 2000 FWD ROOT
user@host> show spanning-tree interface
Spanning tree interface parameters for instance 0
Interface Port ID Designated Designated Cost State Role
port ID bridge ID
ge-1/0/1 128:1 128:1 28672.0090690b3fe0 20000 FWD DESG
ge-1/0/2 128:2 128:2 28672.0090690b3fe0 20000 FWD DESG
Spanning tree interface parameters for VLAN 10
Interface Port ID Designated Designated Cost State Role
port ID bridge ID
ge-1/0/1 128:1 128:1 28672.0090690b3fe0 20000 FWD DESG
ge-1/0/2 128:2 128:2 28672.0090690b3fe0 20000 FWD DESG
Spanning tree interface parameters for VLAN 20
Interface Port ID Designated Designated Cost State Role
port ID bridge ID
ge-1/0/1 128:1 128:1 28672.0090690b3fe0 20000 FWD DESG
ge-1/0/2 128:2 128:2 28672.0090690b3fe0 20000 FWD DESG
user@host> show spanning-tree interface vlan-id
10
Spanning tree interface parameters for VLAN 10
Interface Port ID Designated Designated Cost State Role
port ID bridge ID
ge-1/0/1 128:1 128:1 28672.0090690b3fe0 20000 FWD DESG
ge-1/0/2 128:2 128:2 28672.0090690b3fe0 20000 FWD DESG