01-15-2007 02:11 PM - edited 03-05-2019 01:47 PM
Hi all, quick question about spanning tree, I know it uses cost, I I had say 8 hops to the root bridge from a switch, each one at 1 gig, then 1 hop straight to the root bridge at 100 meg, would It choose the gig path pr the 100 meg direct path, Am I right it saying it would use the lowest overall cost ?
01-15-2007 03:23 PM
Hello Carl,
Do not think STP as a routing protocol, end to end.. STPs run only on the bridged network, wherein the switch sees only its neighbouring switch and the BPDU info got from it... anyway, i guess you are talking about the path cost to the root bridge.. Yeah, according to the revised IEEE specification, the switch assigns path cost, based on the speed of the link.
10/1 Gbps - 1
100 Mbps - 10
10 Mbps - 100
and the lowest path cost is normally chosen as the forwarding port.. hence in ur case, the 1 gig link will precede over the 100 Mbps link, unless u forcefully give bridge priorities on the switch. Normally the scenario given by you will not exist, because no one designs the network this way.
Hope this helps.. all the best.. rate replies if found useful.
Raj
01-16-2007 04:16 AM
Is that true even though the 100mb link is directly attached to the root bridge?
01-16-2007 08:38 AM
yes it is true even if the root is directly connected and you have another route to the root via the gig links.
The lowest cost route to to the root switch wins and goes into forwarding
HTH, rate if it does
Narayan
01-16-2007 09:38 AM
Here are the revised default STP port costs:
10Mb link - 100
100Mb link - 19
1Gb link - 4
10Gb link - 2
01-18-2007 09:38 PM
agree with ahmed.. carl, take a note of teh new values.. thanks for the info ahmed.
Raj
01-16-2007 09:03 PM
Hi
In addition u r network diameter should not increase by 7 switches as per cisco.In u r case it says 8 i think it is not recomended.
Thanks
Mahmood
01-17-2007 04:06 AM
what is recommended here, Do you mean if they are daisychained ?
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