Solved

STP and Timers

Posted on 2011-02-12
7
820 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
7 Comments
 
LVL 17

Accepted Solution

by:
surbabu140977 earned 167 total points
Comment Utility
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
Comment Utility
Can you elaborate as to what it is that you want to know?
0
 

Author Comment

by:jskfan
Comment Utility
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
Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

 
LVL 8

Assisted Solution

by:SeeMeShakinMyHead
SeeMeShakinMyHead earned 167 total points
Comment Utility
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
Comment Utility
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 166 total points
Comment Utility
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
Comment Utility
thank you guys!
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

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 …
I eventually solved a perplexing problem setting up telnet for a new switch.  I installed a new Cisco WS-03560X-24P switch connected to an existing Cisco 4506 running a WS-X4013-10GE Sup II-Plus. After configuring vlans and trunking,  I could no…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

744 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now