I dont know if this topic can be written in this forum but if i am wrong warn me.Let’s go my question…
How can i know remote device is cisco or other companies’ switch or router device by using php(sockets) by using send SNMP or connecting witth telnet?I dont want php codes but i want to know if this type of operation can be done or not.If it can,which way is the best?Sending SNMP or connecting with telnet on 23th port or the way you suggest.
Thanks for advance…
I dont know if this topic can be written in this forum but if
Share
Well assuming you have permission, and you have the correct SNMP username/passwords, a request of
SNMPv2-MIB::sysDescr.0will give yousee Cisco MIB here
This should meet your needs.
PHP has a snmpget method that sounds like what you need.
If you don’t have network permission, then I suggest you download nmap, and study how it identifies host operating systems.