Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

spt diameter

Status
Not open for further replies.

iwanthome

Technical User
Mar 9, 2003
45
CN
switch1----switch2------switch3
at this topo,what's the diameter of spt,2 or 3? I think 2 is right,but I am not sure.
thanks!
 
Of course, the diameter is 2. It's because you have to count hops, not switches.

 
Sorry,correct answer is 3.
The diameter is the number of switch ( include itself) between any two switch.
 
Hi

I looked on CCO, and found this:

Use the diameter keyword to specify the Layer 2 network diameter (the maximum number of bridge hops between any two end stations in the network). When you specify the network diameter, a switch automatically picks an optimal hello time, forward delay time, and maximum age time for a network of that diameter. This can significantly reduce the spanning tree convergence time.

It seems that Cisco's answer to the question in this case is two.

EB
 
The diameter of this network is 3.
You have to consider the worst or maximum case. In this case, an end station attached to switch 1 and an end station connected to switch 3. For End station 1 to "talk" to end station 3 to packet needs to traverse three bridges (switches).

Cheers,

If everything is coming your way then you're in the wrong lane.
 
I still believe the diameter is 2. End stations should never been considered in any STP calculation. Although BPDU can reach end stations, STP only works for switches.
 
Hi

Sorry, fynx, but I agree with dmedinag.

If we consider what the STP network is, then the end stations are not part of it. The Bridge hops that Cisco's website refers to are those between bridges.

In the topology:

PC1---SW1----SW2----SW3---PC2

only the links SW1----SW2 and SW2----SW3 are bridge hops.

EB





 
Yeah OK - I get your point. I was not trying to mislead anyone into thinking end stations play a part, just using them as an example of what bounds the STP domain. That and I read Cisco's explanation a little differently - but yup, you're right it does make sense to count bridge "hops" rather than bridges.

Regards...

If everything is coming your way then you're in the wrong lane.
 
Hi all,

I followed the link that iwanthome found. In there it says:

diameter of the STP domain (dia): this is the maximum number of bridges between any two points of attachment of end stations. The IEEE considers a maximum diameter of seven bridges.

I guess that this clarifies Cisco's other statement, that fynx and I read differently. On the basis of this latest link it looks like fynx was right all along. In the topology that started this there are a maximum of three bridges between end stations, so the diameter is indeed three.

Now I am going for a nice lie down in a dark room.

EB
 
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Sponsor

Back
Top