Want all misconfigurations..


 I am a network administrator.  I would like to write some administrator script which connects to each switch/router in my network and finds mis-configurations from them. I am using HPProCurve Switches in my network.

 So, I would like to know all possible mis-configurations in the switches those normally happens to the administrtors. Please let me know if you any good documents about switch mis-configurations list or possible mis-configurations you found.

 Thanks in advance. Once I finish my scripting I would like to provide it for free to network administrators community.

 Thanks a lot..

with Regards,
Kevin Mobe.
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Hi developer007,
The most common are things like speed/duplex mismatches. It is not something you can just search for as it depends how the equipment the other end of the cable is configured.
developer007Author Commented:
Hi all,

 Please come up with some more mis-configurations ...I will be more thankful to you..

with Regards,
You cannot really detect a misconfiguration by simply looking at the configuration of a single piece of equipment. You could have a database of how diffeent equipment connects together and compare the corresponding port configurations either end of a cable to make sure they are the same but this will be more complicated to write than just a simple script.

Have a look at RANCID as it may do what you want :- http://www.shrubbery.net/rancid/

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Choose an Exciting Career in Cybersecurity

Help prevent cyber-threats and provide solutions to safeguard our global digital economy. Earn your MS in Cybersecurity. WGU’s MSCSIA degree program was designed in collaboration with national intelligence organizations and IT industry leaders.

developer007Author Commented:

 Thanks for the information.

 Thats right. I can't just find in checking one device configuration file. I must need to check all corresponding device information which are interconnected. even I want to check like that.

 I am gonna to write a script in PERL with SNMP configuration and telnet. So, If I have all the mis-configurations in place then I can start writing the script file.

 Please let me know if you know any possible mis-configurations.

With Regards,
native vlan mismatches
permitted vlans on trunk port mismatches
trunk type mismatch
spanning tree portfast (fast start) enabled on switch-switch links
spanning tree disabled on some switches but enabled on others (vlan independant)
If you are looking for errors on the switch like port mismatches etc. a syslog will do the trick and log all the errors. If you are looking for switch design and implementation issues, I don't see how you could write a script for it or I'd be out of a job. =) Some basic things to look for:

1) All the servers on one VLAN. I never understood why people configure a seperate VLAN for servers when everyone needs to connect to them and routing is slower than switching.
2) Not utilizing etherchannel ports (Cisco) or other means to bind multiple ports to a workgroup switch for increased bandwidth.
3) Not implementing spanning-tree and redundant paths to core switches for redundancy.
4) Stacking switches like hubs instead of creating a spoke like configuration.

Just some to look at. Good Luck.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.