1

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

1 Answers1

1

You can try to determine device type by polling sysObjectID (1.3.6.1.2.1.1.2) - 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 SNMP equivalent for show ip route?.

L.R.
  • 775
  • 6
  • 11