?
Solved

STP and Timers

Posted on 2011-02-12
7
Medium Priority
?
847 Views
Last Modified: 2012-05-11
any expert out there to explain the relation between STP and the timers used in STP:

for example:

Hello Time
Max Age
Forward Delay
-------------
Blocking
Listening
Learning
Forwarding

Thanks

0
Comment
Question by:jskfan
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
7 Comments
 
LVL 17

Accepted Solution

by:
surbabu140977 earned 668 total points
ID: 34878978
hello time is 2 seconds
The Max Age Timer is 10x the the hello timer.
STP has 4 states: blocking, listening, learning and then forwarding
Once a port is in blocking state, it stays there for 20 seconds. Then moves onto listening at 15 seconds, then learning at 15 seconds. That's where you get your 50 seconds

RSTP
------
The max age is 3x the hello. So a max of 6 seconds. There's no blocking port in RSTP. It's discarding state. Discarding replaces blocking and listening. So you only have discarding, learning and forwarding.

forward_delay = ((4 x hello) + (3 x dia)) / 2
the Forward Delay Timer specifies the time a port stays in each of the listening and learning states

Example from cisco site,

hello = 2 (default) then
max_age = 14 sec
forward_delay = 10 sec
If hello = 1 then
max_age = 10 sec
forward_delay = 8 sec

Best,
0
 
LVL 50

Expert Comment

by:Don Johnston
ID: 34879557
Can you elaborate as to what it is that you want to know?
0
 

Author Comment

by:jskfan
ID: 34882486
I wanted to know how they are related, for instance if there is change in Hello time, Max age and Forward Delay, how it is going to impact the blocking ,listening,learning, forwarding operations
0
The Ideal Solution for Multi-Display Applications

Check out ATEN’s VS1912 12-Port DP Video Wall Media Player at InfoComm 2017. Kerri describes how easy it is to design creative video walls in asymmetric layouts and schedule detailed playlists ahead of time with its advanced scheduling feature.

 
LVL 8

Assisted Solution

by:SeeMeShakinMyHead
SeeMeShakinMyHead earned 668 total points
ID: 34882569
I would read this article as it explains it all.  If you are using spanning-tree instead of routed links, then I would use RSTP as it is much faster.  There are some sites where I have to use STP and I use RSTP since recovery on failed links it quite a bit faster.  So fast, that users really couldn't tell.

http://www.cisco.com/en/US/tech/tk389/tk621/technologies_tech_note09186a0080094954.shtml
0
 

Author Comment

by:jskfan
ID: 34889795
After reading, I noticed that Hello,Max age, Forward Delay are pretty much other names used for blocking, listening, learning , forwarding.

Hello (02)+ Max Age (20) =  they can be mapped to Blocking state
Forward Delay= Can be mapped to Listening(15) + Learning(15)

the only difference is on the switch there are commands that can change  the Hello, Max age, Forward delay timers
but no command that can change  Blocking ,listening, learning, forwarding
0
 
LVL 50

Assisted Solution

by:Don Johnston
Don Johnston earned 664 total points
ID: 34889899
Blocking, listening and learning are port states that are the RESULT of timer values.

If, for example, you wanted a failure to be detected quicker, you could lower the Max Age timer. And if you wanted to reduce the amount of time spent in listening/learning, you could reduce the Forward Delay timer. But tweaking timers can be problematic if you aren't careful.

For example, in almost 20 years of working with Spanning Tree, I have never altered the timers in a production network.
0
 

Author Closing Comment

by:jskfan
ID: 34890136
thank you guys!
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This tutorial will go through the steps required to write a script that will back up the configuration settings of a HP-ProCurve switch. You will need to get the following things to follow this tutorial: Telnet Scripting Tool e.g. TST10.exe …
Arrow Electronics was searching for a KVM  (Keyboard/Video/Mouse) switch that could display on one single monitor the current status of all units being tested on the rack.
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…

800 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question