07-13-2017 06:49 PM - edited 03-08-2019 11:19 AM
[[{"type":"media","fid":"1464256","view_mode":"default","attributes":{"alt":"atp","title":"stp","class":"media-element file-default","data-delta":"1"},"fields":{}}]]
I know on blocking state it will take 20 sec, listening state 15 sec and learning state 15 sec.
07-13-2017 07:54 PM
That is if you are using "old school" spanning tree. Hopefully people aren't doing that anymore. Rapid Spanning Tree replaced this old archaic system some time ago.
To answer your question, read this:
http://www.cisco.com/c/en/us/support/docs/lan-switching/spanning-tree-protocol/12013-17.html
07-13-2017 08:21 PM
If it is directly connected port like in your topology, there is no waiting for dead timer to expire. Carrier loss on root port will move other port from blocking to listening state right away. So, connectivity will be restored in 30 seconds (2 x Forwarding time).
And generally, for the cases where there is no carrier loss:
Both ports on Switch A are receiving BPDUs all the time. Reconvergence will happen because active port missed 10 BPDUs (default 20 seconds - can be tuned to 6 - 40 seconds). That's how Switch A would "know" the first path is down. Also, this, in cases of unidirectional traffic can lead to network loop.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide