To verify proper operation of your loop prevention protocol, use the following commands:
The following section shows the output of these commands for Router 1 and Router 3.
Router 1 Status
router1> show spanning-tree interface
routing-instance vs1
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 10000 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 10000 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 10000 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
router 1> show spanning-tree interface detail
msti 0 routing-instance vs1
Spanning tree interface parameters for instance 0 Interface name : ae1 Port identifier : 128.1 Designated port ID : 128.1 Port cost : 10000 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
router 1>show spanning-tree interface detail
msti 1 routing-instance vs1
Spanning tree interface parameters for instance 1 Interface name : ae1 Port identifier : 128.1 Designated port ID : 128.1 Port cost : 10000 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
router 1> show spanning-tree interface detail
msti 2 routing-instance vs1
Spanning tree interface parameters for instance 2 Interface name : ae1 Port identifier : 128.1 Designated port ID : 128.1 Port cost : 10000 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
router 1> show spanning-tree bridge routing-instance
vs1
STP bridge parameters
Routing instance name : vs1
Context ID : 1
Enabled protocol : MSTP
STP bridge parameters for CIST
Root ID : 32768.00:13:c3:9e:c8:80
Root cost : 0
Root port : ge-2/2/1
CIST regional root : 32768.00:13:c3:9e:c8:80
CIST internal root cost : 20000
Hello time : 2 seconds
Maximum age : 20 seconds
Forward delay : 15 seconds
Hop count : 19
Message age : 0
Number of topology changes : 3
Time since last topology change : 141 seconds
Local parameters
Bridge ID : 32768.00:90:69:0b:47:d1
STP bridge parameters for MSTI 1
MSTI regional root : 32769.00:13:c3:9e:c8:80
Root cost : 20000
Root port : ge-2/2/1
Hello time : 2 seconds
Maximum age : 20 seconds
Forward delay : 15 seconds
Hop count : 19
Local parameters
Bridge ID : 32769.00:90:69:0b:47:d1
STP bridge parameters for MSTI 2
MSTI regional root : 32770.00:13:c3:9e:c8:80
Root cost : 20000
Root port : ge-2/2/1
Hello time : 2 seconds
Maximum age : 20 seconds
Forward delay : 15 seconds
Hop count : 19
Local parameters
Bridge ID : 32770.00:90:69:0b:47:d1
router1> show spanning-tree bridge detail msti
0 routing-instance
STP bridge parameters
Routing instance name : vs1
Context ID : 1
Enabled protocol : MSTP
STP bridge parameters for CIST
Root ID : 32768.00:13:c3:9e:c8:80
Root cost : 0
Root port : ge-2/2/1
CIST regional root : 32768.00:13:c3:9e:c8:80
CIST internal root cost : 20000
Hello time : 2 seconds
Maximum age : 20 seconds
Forward delay : 15 seconds
Hop count : 19
Message age : 0
Number of topology changes : 3
Time since last topology change : 152 seconds
Local parameters
Bridge ID : 32768.00:90:69:0b:47:d1
Hello time : 2 seconds
Maximum age : 20 seconds
Forward delay : 15 seconds
Path cost method : 32 bit
Maxmium hop count : 20
router1> show spanning-tree bridge detail msti
1 routing-instance vs1
STP bridge parameters
Routing instance name : vs1
Context ID : 1
Enabled protocol : MSTP
STP bridge parameters for MSTI 1
MSTI regional root : 32769.00:13:c3:9e:c8:80
Root cost : 20000
Root port : ge-2/2/1
Hello time : 2 seconds
Maximum age : 20 seconds
Forward delay : 15 seconds
Hop count : 19
Local parameters
Bridge ID : 32769.00:90:69:0b:47:d1
Maxmium hop count : 20
router1> show spanning-tree bridge detail msti
2 routing-instance vs1
STP bridge parameters
Routing instance name : vs1
Context ID : 1
Enabled protocol : MSTP
STP bridge parameters for MSTI 2
MSTI regional root : 32770.00:13:c3:9e:c8:80
Root cost : 20000
Root port : ge-2/2/1
Hello time : 2 seconds
Maximum age : 20 seconds
Forward delay : 15 seconds
Hop count : 19
Local parameters
Bridge ID : 32770.00:90:69:0b:47:d1
Maximium hop count : 20
router1> show spanning-tree statistics routing-instance
vs1
Routing instance level STP statistics Message type : bpdus BPDUs sent : 575 BPDUs received : 145 BPDUs sent in last 5 secs : 14 BPDUs received in last 5 secs : 2
router1> show spanning-tree statistics interface
xe-9/3/0 routing-instance vs1
Interface BPDUs sent BPDUs received Next BPDU
transmission
xe-9/3/0 134 11 0
router1> show spanning-tree mstp configuration
routing-instance vs1
MSTP configuration information
Context identifier : 1
Region name : henry
Revision : 3
Configuration digest : 0x6da4b5c4fd587757eef35675365e1
MSTI Member VLANs
0 0-99,101-199,201-4094
1 100
2 200
Router 3 Status
router3> show spanning-tree interface
routing-instance vs1
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:2 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:5 32768.0090690b47d1 2000 FWD ROOT
Spanning tree interface parameters for instance 1
Interface Port ID Designated Designated Port State Role
port ID bridge ID Cost
ge-11/0/5 128:1 128:1 32769.0090690b7fd1 20000 FWD DESG
ge-11/0/6 128:2 128:1 32769.0090690b7fd1 20000 BLK BKUP
ge-11/1/0 128:3 128:2 32769.0090690b4fd1 20000 BLK ALT
ge-11/1/1 128:4 128:3 32769.0090690b4fd1 20000 BLK ALT
ge-11/1/4 128:5 128:2 32769.0090690b47d1 20000 BLK ALT
xe-10/0/0 128:6 128:5 32769.0090690b4fd1 2000 BLK ALT
xe-10/2/0 128:7 128:5 32769.0090690b47d1 2000 FWD ROOT
Spanning tree interface parameters for instance 2
Interface Port ID Designated Designated Port State Role
port ID bridge ID Cost
ge-11/0/5 128:1 128:1 32770.0090690b7fd1 20000 FWD DESG
ge-11/0/6 128:2 128:1 32770.0090690b7fd1 20000 BLK BKUP
ge-11/1/0 128:3 128:2 32770.0090690b4fd1 20000 BLK ALT
ge-11/1/1 128:4 128:3 32770.0090690b4fd1 20000 BLK ALT
ge-11/1/4 128:5 128:2 32770.0090690b47d1 20000 BLK ALT
xe-10/0/0 128:6 128:5 32770.0090690b4fd1 2000 BLK ALT
xe-10/2/0 128:7 128:5 32770.0090690b47d1 2000 FWD ROOT
router3> show spanning-tree interface detail
msti 0 routing-instance
Spanning tree interface parameters for instance 0 Interface name : ge-11/0/5 Port identifier : 128.1 Designated port ID : 128.1 Port cost : 20000 Port state : Forwarding Designated bridge ID : 32768.00:90:69:0b:7f:d1 Port role : Designated Link type : Pt-Pt/NONEDGE Boundary port : No Interface name : ge-11/0/6 Port identifier : 128.2 Designated port ID : 128.1 Port cost : 20000 Port state : Blocking Designated bridge ID : 32768.00:90:69:0b:7f:d1 Port role : Backup Link type : Pt-Pt/NONEDGE Boundary port : No Interface name : ge-11/1/0 Port identifier : 128.3 Designated port ID : 128.2 Port cost : 20000 Port state : Blocking Designated bridge ID : 32768.00:90:69:0b:4f:d1 Port role : Alternate Link type : Pt-Pt/NONEDGE Boundary port : No Interface name : ge-11/1/1 Port identifier : 128.4 Designated port ID : 128.3 Port cost : 20000 Port state : Blocking Designated bridge ID : 32768.00:90:69:0b:4f:d1 Port role : Alternate Link type : Pt-Pt/NONEDGE Boundary port : No Interface name : ge-11/1/4 Port identifier : 128.5 Designated port ID : 128.2 Port cost : 20000 Port state : Blocking Designated bridge ID : 32768.00:90:69:0b:47:d1 Port role : Alternate Link type : Pt-Pt/NONEDGE Boundary port : No Interface name : xe-10/0/0 Port identifier : 128.6 Designated port ID : 128.5 Port cost : 2000 Port state : Blocking Designated bridge ID : 32768.00:90:69:0b:4f:d1 Port role : Alternate Link type : Pt-Pt/NONEDGE Boundary port : No Interface name : xe-10/2/0 Port identifier : 128.7 Designated port ID : 128.5 Port cost : 2000 Port state : Forwarding Designated bridge ID : 32768.00:90:69:0b:47:d1 Port role : Root Link type : Pt-Pt/NONEDGE Boundary port : No
router3> show spanning-tree interface detail
msti 1 routing-instance vs1
Spanning tree interface parameters for instance 1 Interface name : ge-11/0/5 Port identifier : 128.1 Designated port ID : 128.1 Port cost : 20000 Port state : Forwarding Designated bridge ID : 32768.00:90:69:0b:7f:d1 Port role : Designated Link type : Pt-Pt/NONEDGE Boundary port : No Interface name : ge-11/0/6 Port identifier : 128.2 Designated port ID : 128.1 Port cost : 20000 Port state : Blocking Designated bridge ID : 32768.00:90:69:0b:7f:d1 Port role : Backup Link type : Pt-Pt/NONEDGE Boundary port : No Interface name : ge-11/1/0 Port identifier : 128.3 Designated port ID : 128.2 Port cost : 20000 Port state : Blocking Designated bridge ID : 32768.00:90:69:0b:4f:d1 Port role : Alternate Link type : Pt-Pt/NONEDGE Boundary port : No Interface name : ge-11/1/1 Port identifier : 128.4 Designated port ID : 128.3 Port cost : 20000 Port state : Blocking Designated bridge ID : 32768.00:90:69:0b:4f:d1 Port role : Alternate Link type : Pt-Pt/NONEDGE Boundary port : No Interface name : ge-11/1/4 Port identifier : 128.5 Designated port ID : 128.2 Port cost : 20000 Port state : Blocking Designated bridge ID : 32768.00:90:69:0b:47:d1 Port role : Alternate Link type : Pt-Pt/NONEDGE Boundary port : No Interface name : xe-10/0/0 Port identifier : 128.6 Designated port ID : 128.5 Port cost : 2000 Port state : Blocking Designated bridge ID : 32768.00:90:69:0b:4f:d1 Port role : Alternate Link type : Pt-Pt/NONEDGE Boundary port : No Interface name : xe-10/2/0 Port identifier : 128.7 Designated port ID : 128.5 Port cost : 2000 Port state : Forwarding Designated bridge ID : 32768.00:90:69:0b:47:d1 Port role : Root Link type : Pt-Pt/NONEDGE Boundary port : No
router3> show spanning-tree interface detail
msti 2 routing-instance vs1
Spanning tree interface parameters for instance 2 Interface name : ge-11/0/5 Port identifier : 128.1 Designated port ID : 128.1 Port cost : 20000 Port state : Forwarding Designated bridge ID : 32768.00:90:69:0b:7f:d1 Port role : Designated Link type : Pt-Pt/NONEDGE Boundary port : No Interface name : ge-11/0/6 Port identifier : 128.2 Designated port ID : 128.1 Port cost : 20000 Port state : Blocking Designated bridge ID : 32768.00:90:69:0b:7f:d1 Port role : Backup Link type : Pt-Pt/NONEDGE Boundary port : No Interface name : ge-11/1/0 Port identifier : 128.3 Designated port ID : 128.2 Port cost : 20000 Port state : Blocking Designated bridge ID : 32768.00:90:69:0b:4f:d1 Port role : Alternate Link type : Pt-Pt/NONEDGE Boundary port : No Interface name : ge-11/1/1 Port identifier : 128.4 Designated port ID : 128.3 Port cost : 20000 Port state : Blocking Designated bridge ID : 32768.00:90:69:0b:4f:d1 Port role : Alternate Link type : Pt-Pt/NONEDGE Boundary port : No Interface name : ge-11/1/4 Port identifier : 128.5 Designated port ID : 128.2 Port cost : 20000 Port state : Blocking Designated bridge ID : 32768.00:90:69:0b:47:d1 Port role : Alternate Link type : Pt-Pt/NONEDGE Boundary port : No Interface name : xe-10/0/0 Port identifier : 128.6 Designated port ID : 128.5 Port cost : 2000 Port state : Blocking Designated bridge ID : 32768.00:90:69:0b:4f:d1 Port role : Alternate Link type : Pt-Pt/NONEDGE Boundary port : No Interface name : xe-10/2/0 Port identifier : 128.7 Designated port ID : 128.5 Port cost : 2000 Port state : Forwarding Designated bridge ID : 32768.00:90:69:0b:47:d1 Port role : Root Link type : Pt-Pt/NONEDGE Boundary port : No
router3> show spanning-tree bridge routing-instance
vs1
STP bridge parameters
Routing instance name : vs1
Context ID : 1
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 : 3
Time since last topology change : 534 seconds
Local parameters
Bridge ID : 32768.00:90:69:0b:7f:d1
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
Local parameters
Bridge ID : 32769.00:90:69:0b:7f:d1
STP bridge parameters for MSTI 2
MSTI regional root : 32770.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
Local parameters
Bridge ID : 32770.00:90:69:0b:7f:d1
router3> run show spanning-tree bridge detail
msti 0 routing-instance
STP bridge parameters
Routing instance name : vs1
Context ID : 1
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 : 3
Time since last topology change : 549 seconds
Local parameters
Bridge ID : 32768.00:90:69:0b:7f:d1
Hello time : 2 seconds
Maximum age : 20 seconds
Forward delay : 15 seconds
Path cost method : 32 bit
Maxmium hop count : 20
router3> show spanning-tree bridge detail
msti 1 routing-instance vs1
STP bridge parameters
Routing instance name : vs1
Context ID : 1
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
Local parameters
Bridge ID : 32769.00:90:69:0b:7f:d1
Maxmium hop count : 20
router3> show span-tree bridge detail
msti 2 routing-instance vs1
STP bridge parameters
Routing instance name : vs1
Context ID : 1
Enabled protocol : MSTP
STP bridge parameters for MSTI 2
MSTI regional root : 32770.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
Local parameters
Bridge ID : 32770.00:90:69:0b:7f:d1
Maxmium hop count : 20
router3> show spanning-tree statistics
routing-instance vs1
Routing instance level STP statistics Message type : bpdus BPDUs sent : 367 BPDUs received : 1919 BPDUs sent in last 5 secs : 2 BPDUs received in last 5 secs : 15
router3> show spanning-tree statistics
interface xe-10/2/0 routing-instance vs1
Interface BPDUs sent BPDUs received Next BPDU
transmission
xe-10/2/0 8 341 0
router3> show spanning-tree mstp configuration
routing-instance vs1
MSTP configuration information Context identifier : 1 Region name : henry Revision : 3 Configuration digest : 0x6da4b5c4fd587757eef35675365e1 MSTI Member VLANs 0 0-99,101-199,201-4094 1 100 2 200