Solved

spanning tree question

Posted on 2009-07-01
5
366 Views
Last Modified: 2012-05-07
On a normal Dell switch, if we disable Spanning tree, does it still take 30-50 seconds for the access ports to come in working condition ? Secondly, if a PC has been booted up for 1 min, the STP convergence time starts after that or before that ?

Basically, the DHCP requests are really taking long (30 seconds) ..... DHCP server is on the LAN

Secondly, if ive a Dell switch (STP disabled) connected to a Cisco 877 router (that has STP enabled), then will the Cisco switch give its spanning tree info to Dell switch and the dell switch would somehow become active with Spanning tree ? I dont think so but just double checking ! I know this second bit is a stupid question to ask but am just clarifying the doubts of one of the guys

 
0
Comment
Question by:nabeel92
  • 3
  • 2
5 Comments
 
LVL 24

Expert Comment

by:Ken Boone
Comment Utility
I'm not a Dell expert, but if spanning-tree is not enabled then the port should not participate in spanning-tree therefore there would be no need to put the port in a non-forwarding state while spanning tree goes through the first two phases.  STP convergence time starts when there is activity on the port.  

STP is really important when connecting switches together, but not important when connecting clients to the switch.  So it is rather silly to go through the full spanning-tree process for a PC, since the PC cannot put the layer 2 network in a loop as it is just an end-station.  So most switches have a method whereby you can declare on a port by port basis that spanning tree can skip the first two phases and go immediately to a forwarding state on client ports.  On Cisco this is called spanning-tree portfast, on HP I tihnk it is called FAST spanning-tree.   I am sure there is a similar setting on your Dell switch.  This is what you want to configure on all ports where clients are connected.  This is the recommended way to .  Leave STP on but put client ports into the fast phase.

Secondly the switch ports on the 877 running STP will send out BPDU so the switches will be in agreement on the STP topoology.  One of the switches will be the root and the tree will be built from there.  But if the Dell switch has STP disabled it will not participate in STP.

Hope that helps.
0
 

Author Comment

by:nabeel92
Comment Utility
Ok, thanks for that explanation ... .

Basically, whats happening is (and am not sure if thats related to portfast) is that clients get their I.P address from a DHCP server (linux based DHCP server) and as long as STP is running, it takes ages (50 seconds) for the clients to fetch the TFTP config file from the DHCP server ... when we disabled spanning tree, the process speeds up and clients get their I.P in normal time (few seconds) .... that's what got me thinking that there is some conflict between spanning tree and DHCP ....
0
 
LVL 24

Accepted Solution

by:
Ken Boone earned 500 total points
Comment Utility
Yes you are right on.  That is what is causing your problem.  You need to find the setting which will be a per port setting that will put spanning-tree into a mode where it will bypass the first two phases which takes approx 30 secs to get through.
0
 
LVL 24

Expert Comment

by:Ken Boone
Comment Utility
A quick google shows that dell uses the same syntax as cisco on the command line.  Issue spanning-tree portfast on all client ports and that will take care of it for you.
0
 

Author Comment

by:nabeel92
Comment Utility
Check this link ... That's right

http://support.microsoft.com/kb/168455

Ok I've emailed the I.T support guy 3 solutions
1. Disable STP completely
2. Enable STP (with portfast option)
3. Use RSTP instead (still with portfast)
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Ever wondered why you had to use DHCP options (dhcp opt 60, 66 or 67) in order to use PXE? Well, you don't!
Creating an OSPF network that automatically (dynamically) reroutes network traffic over other connections to prevent network downtime.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

728 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

9 Experts available now in Live!

Get 1:1 Help Now