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

How can be detect is device router or host by using snmp. I tried to use google. But nothing found.

share|improve this question

migrated from stackoverflow.com Mar 1 '10 at 15:49

This question came from our site for professional and enthusiast programmers.

1 Answer 1

You can try to determine device type by polling sysObjectID ( - this should give you information about the vendor and device type (see e.g. CISCO-PRODUCTS-MIB for the list of Cisco routers sysOIDs).

The other option is RFC-1213 sysServices which can indicate the routing capability of the device.

The following SF question has some details about routing table, which can serve as additional source of information http://serverfault.com/questions/41842/snmp-equivalent-for-show-ip-route.

share|improve this answer

Your Answer


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