Timers
STP Timer | Purpose | Duration |
---|---|---|
Hello | How often the root bridge sends hello BPDUs | 2sec |
Forward delay | How long the switch will stay in the Listening and Learning states (each state is 15 seconds = total 30 seconds) | 15sec |
Max Age | How long an interface will wait after ceasing to receive Hello BPDUs to change the STP topology | 20sec (10* hello) |
Hello
![](https://davidjosearaujo.gitbook.io/~gitbook/image?url=https%3A%2F%2F1474932522-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FAgItg4KAZpnXjAFPWRf8%252Fuploads%252FGeGbIRtf9wa47KOXxRQj%252FScreenshot%2520from%25202023-06-26%252017-36-20.png%3Falt%3Dmedia%26token%3Dd7a9660f-6eae-4da5-b443-5c6c24d3815a&width=768&dpr=4&quality=100&sign=55a879ac&sv=1)
![](https://davidjosearaujo.gitbook.io/~gitbook/image?url=https%3A%2F%2F1474932522-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FAgItg4KAZpnXjAFPWRf8%252Fuploads%252FE0xGjWawg5v8sMbod85B%252FScreenshot%2520from%25202023-06-26%252017-37-14.png%3Falt%3Dmedia%26token%3D95eefe16-f5f6-421d-aaea-89a9a4cebdab&width=768&dpr=4&quality=100&sign=75da7a29&sv=1)
![](https://davidjosearaujo.gitbook.io/~gitbook/image?url=https%3A%2F%2F1474932522-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FAgItg4KAZpnXjAFPWRf8%252Fuploads%252FN4fB2hLQWRZlim6rfMhl%252FScreenshot%2520from%25202023-06-26%252017-39-42.png%3Falt%3Dmedia%26token%3Dec81c82d-9bb8-4d61-b1a6-c3280ffaef9f&width=768&dpr=4&quality=100&sign=4e554d1c&sv=1)
![](https://davidjosearaujo.gitbook.io/~gitbook/image?url=https%3A%2F%2F1474932522-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FAgItg4KAZpnXjAFPWRf8%252Fuploads%252FIerkAMOXW41gwM8hjjWA%252FScreenshot%2520from%25202023-06-26%252017-37-56.png%3Falt%3Dmedia%26token%3Db2127d8e-3165-4e13-a7ab-cd1f5cae6025&width=768&dpr=4&quality=100&sign=d1b711a1&sv=1)
Switches do not forward the BPDUss out of their root ports and non-designated ports, only their designated ports.
Max Age
![](https://davidjosearaujo.gitbook.io/~gitbook/image?url=https%3A%2F%2F1474932522-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FAgItg4KAZpnXjAFPWRf8%252Fuploads%252FlvvnBrUn6ae2qLPcp2Y4%252FScreenshot%2520from%25202023-06-26%252018-02-10.png%3Falt%3Dmedia%26token%3D256ba8ca-9124-4516-9e41-b928b7a3047a&width=768&dpr=4&quality=100&sign=1aa1b7b5&sv=1)
![](https://davidjosearaujo.gitbook.io/~gitbook/image?url=https%3A%2F%2F1474932522-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FAgItg4KAZpnXjAFPWRf8%252Fuploads%252FlozjXSO043WvE3BqTigu%252FScreenshot%2520from%25202023-06-26%252018-02-17.png%3Falt%3Dmedia%26token%3D13f0ed5a-7315-4099-b452-985623c1acb9&width=768&dpr=4&quality=100&sign=3b5777b8&sv=1)
![](https://davidjosearaujo.gitbook.io/~gitbook/image?url=https%3A%2F%2F1474932522-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FAgItg4KAZpnXjAFPWRf8%252Fuploads%252FYhZhwO0pBxLr58Ob6ZA9%252FScreenshot%2520from%25202023-06-26%252018-02-21.png%3Falt%3Dmedia%26token%3D068c212f-4390-4602-8e66-e109839b22df&width=768&dpr=4&quality=100&sign=a52c1e1d&sv=1)
![](https://davidjosearaujo.gitbook.io/~gitbook/image?url=https%3A%2F%2F1474932522-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FAgItg4KAZpnXjAFPWRf8%252Fuploads%252Fx3yIQqsVc4R3g8D0rOno%252FScreenshot%2520from%25202023-06-26%252018-06-43.png%3Falt%3Dmedia%26token%3D408308fe-2272-41a3-8410-fd6ef705ddd4&width=768&dpr=4&quality=100&sign=79f0a7f3&sv=1)
![](https://davidjosearaujo.gitbook.io/~gitbook/image?url=https%3A%2F%2F1474932522-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FAgItg4KAZpnXjAFPWRf8%252Fuploads%252FmQ7uKwMbOB48tPpYCk2U%252FScreenshot%2520from%25202023-06-26%252018-07-39.png%3Falt%3Dmedia%26token%3D0168b25d-6ac5-46e2-a4b2-6c3ecb4fc711&width=768&dpr=4&quality=100&sign=5010e535&sv=1)
![](https://davidjosearaujo.gitbook.io/~gitbook/image?url=https%3A%2F%2F1474932522-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FAgItg4KAZpnXjAFPWRf8%252Fuploads%252FE0pajzUBUjulbwoLbUnI%252FScreenshot%2520from%25202023-06-26%252018-08-40.png%3Falt%3Dmedia%26token%3Dab208318-fb25-46cf-a689-fcafa3cda78f&width=768&dpr=4&quality=100&sign=f05af090&sv=1)
If another BPDU is received before the max age timer counts down to 0, the time will reset to 20 seconds and no changes will occur.
If another BPUD is not received, the max age timer counts down to 0 and the switch will reevaluate its STP choices, including root bridge, and local root, designated, and non-designated ports.
If a non-designated port is selected to become a designated or root port, it will transition from the blocking state to the listening state (15 seconds), then learning state (15 seconds), and then finally the forwarding state. So, it can take a total of 50 seconds for a blocking interface to transition to forwarding.
These timers and transitional states are to make sure that loops aren't accidentally created by an interface moving to forwarding state too soon.
A forwarding interface can move directly to a blocking state (there is no worry about creating a loop by blocking an interface).
A blocking interface cannot move directly to forwarding state. It must go through the listening and learning state.
Last updated