cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
33225
Views
43
Helpful
1
Replies

What is the command to check the changes in the spanning-tree topology?

What is the command to check the changes in the spanning-tree topology?

1 Accepted Solution

Accepted Solutions

InayathUlla Sharieff
Cisco Employee
Cisco Employee

Hi,

Few commands which would help are:

1- Show spanning-tree detail

2-show spanning-tree detail | in ieee|from|occur|is exec  >> This will give from were the changes occuring- Ex:

C6K1#show spanning-tree detail | in ieee|from|occur|is exec  
 VLAN0001 is executing the rstp compatible Spanning Tree protocol
  Number of topology changes 9536 last change occurred 00:00:29 ago
          from GigabitEthernet4/6

 

3- show spanning-tree active  *& show spanning-tree root >> Will give you the root information.

 

4-  show spanning-tree inconsistentports >> If there are any port which are inconsistent state due to STP features.

 

STP running MST:

===============

show spanning-tree mst configuration  >> Need to check and match the same outputs with the other switches running in the same MST domain/region.

show spanning-tree mst detail

 

show spanning-tree mst <name of the region>

 

 

 

Debug on STP:

============

debug spanning-tree events/bpdu >> would be good but to be run with more cautious.

 

HTH

Inayath

*Plz rate if this info is usefull.

View solution in original post

1 Reply 1

InayathUlla Sharieff
Cisco Employee
Cisco Employee

Hi,

Few commands which would help are:

1- Show spanning-tree detail

2-show spanning-tree detail | in ieee|from|occur|is exec  >> This will give from were the changes occuring- Ex:

C6K1#show spanning-tree detail | in ieee|from|occur|is exec  
 VLAN0001 is executing the rstp compatible Spanning Tree protocol
  Number of topology changes 9536 last change occurred 00:00:29 ago
          from GigabitEthernet4/6

 

3- show spanning-tree active  *& show spanning-tree root >> Will give you the root information.

 

4-  show spanning-tree inconsistentports >> If there are any port which are inconsistent state due to STP features.

 

STP running MST:

===============

show spanning-tree mst configuration  >> Need to check and match the same outputs with the other switches running in the same MST domain/region.

show spanning-tree mst detail

 

show spanning-tree mst <name of the region>

 

 

 

Debug on STP:

============

debug spanning-tree events/bpdu >> would be good but to be run with more cautious.

 

HTH

Inayath

*Plz rate if this info is usefull.

Review Cisco Networking products for a $25 gift card