Use scanned device IP as variable in SNMP OID

3 posts · Closed

Sharon Guest
7 Aug 2019

Hi,
I am trying to use SNMP for finding the subnet of the scanned device. For that I need to use .1.3.6.1.2.1.4.20.1.3.{device_ip}
How can I use the IP of the scanned device as a variable and add it to the OID string?

Ann SoftPerfect
7 Aug 2019

This isn't possible in the current official release, but it has been added to the latest preliminary build.

For IP address and MAC address substitutions, use the following in OIDs:

  • %0 for IP address bytes
  • %1 for MAC address bytes

If you wish to use this feature right now, simply download the latest build, add 1.3.6.1.2.1.4.20.1.3.%0 as your OID, and the Network Scanner should retrieve the network masks.

Sharon Guest
7 Aug 2019

Thank you very much, it's working fine now...

Best regards,
Sharon

This topic is closed. It has had no new posts for over a year, so the software versions it talks about may be out of date. Start a new topic in Network Scanner if you have a similar question.