|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
finding all the switches of a local network
Hello
I'd like to find all the switches hostnames (or ips) that are connected on my network. Could anyon explain me how to do that. It would be best if it would be done using SNMP, but any other solution is appreciable. I don't know if there is a SNMP request for that, if I have to check it against something or if it can be performed brutally with a perl script... anyhow, the script/method should be as quick as possible and return ALL the switches. thanks in advance for your help |
|
#2
|
|||
|
|||
|
If the switches will respond to an SNMP sweep ie.. public
then use solarwinds SNMP sweep however this will not guarentee you got them all as some are not configured for SNMP by default and some may have a different community string ie private. a switch is a layer two device and unless configured to be managed wont have an IP address associated also so a ping sweep is outa the question. |
|
#3
|
|||
|
|||
|
thans
thanks for you answer juniperr
in fact, I was looking for a more 'programming'-oriented solution ^^, but that's already something I could use. I'll have look at the solarwinds tools, but if you now a way of foing this using the standard command-line ucd-snmp/net-snmp toolset, or by using the SNMP API with a PERL script, this would be totally the best solution for me. thanks again |
![]() |
| Viewing: Dev Shed Forums > System Administration > Networking Help > finding all the switches of a local network |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|