Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

In your opinion, do switches sometimes need a restart?

I'm asking this because today our NAS stopped working properly, and was only fixed when we restarted the switch it was attached to.

share|improve this question
add comment

2 Answers 2

up vote 17 down vote accepted

Good ones - no.

Bad ones - sometimes, but that's only because they're badly engineered.

That's really all there is to it, really - if a switch requires regular rebooting then it's either faulty, or just a very poor switch. That said, as with all things with IT - sometimes things do go wrong. If it's the first time it's happened, keep an eye on it but don't worry too much.

I've seen it more often with consumer routers (Especially ones doing NAT) that are being used in the wrong environment. In those cases, it's more likely to be the NAT table filling up or perhaps a CPU related issues which are really down to just misusing the equipment.

It's plausible that you have a consumer switch which is just being pushed too hard.

share|improve this answer
    
If you're regularly re-organising your lan (or have multi-pathing), and unless you've disabled auto-learning on the switch, then even good ones need to have the routing table reset. Power cycling is usually a simple way of doing this. –  symcbean Apr 27 '12 at 12:14
    
@symcbean Well, a L2 switch shouldn't need resetting and neither should a decent L3 switch. –  Dan Apr 27 '12 at 12:21
4  
+1 after reading the question, I would say "good ones no, bad ones sometimes..." and just found that answered. perfect. –  woliveirajr Apr 27 '12 at 16:07
    
Even good ones sometimes crash. At $dayjob we had an Extreme go bad and start locking up hard. Warranty replacement though, so it was replaced.. –  Tom O'Connor Apr 28 '12 at 12:36
    
@TomO'Connor I'd put that in the faulty category. The point is, a decent switch shouldn't require any kind of regular reboot –  Dan Apr 28 '12 at 13:38
show 2 more comments

Restarting will achieve a lot of things, most of which can be achieved without restarting. One of the things that restarting will often do is clear the logs in memory, so you won't know anything about the problem after you restarted.

So if you are seeing this behaviour frequently, rather than just blindly restarting, take a look at what is going on with the switch (assuming that is possible with the switch - it may not be if the switch is consumer grade, or the problem is really serious).

Knowing what the problem actually is will help you fix the problem, rather than just working around it.

share|improve this answer
1  
Actually, this is a fair point - I blindly assumed it would be an unmanaged switch. –  Dan Apr 27 '12 at 10:45
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.