How to setup SNMP v3 on DataPower

I'm creating this entry because I needed to setup SNMP to my current client and didn't find much information on the internet, so, as I always say: "human´s knowledge belongs to the world". :)

The environment consist of 2 IDGs devices and one Linux Red Hat server as a consumer. The current DataPower firmware is IDG.

The only page for SNMP is the one below. The most important part is the user configuration which I will show you right after:

See that the "Local IP Address" is my outbound interface. Port is the default one, 161, SNMP version is the v3 and security level is "Authentication, No privacy". Those are the values I used as an example, you can change it if needed. Attention, this is only to make sure DataPower is configured correctly. This is not a SNMP tutorial. :)

Now go to your server (Linux Red Hat with snmp-net) and run:

 #snmpgetnext -v 3 -u snmp-pooling -a MD5 -A "snmppooling" -x DES -X "snmppooling" -l authNoPriv .

#SNMPv2-SMI::enterprises.14685. = STRING: "admin"

See that the password: snmppooling was setup in the previous page of DataPower. Replace also the IP address from the command below by your DataPower IP address. The . is the ObjectID value, you can get it opening the .txt files from SNMP Setting > Enterprise MIBs tab. See screenshot:

You can open such file in the MibBrowser, you can get more details about this tool here: http://integrationyay.blogspot.de/2014/04/datapower-testing-snmp-using.html, loading the file in this free tool, you will see the Object ID values in a more friendly way.

See an example screenshot:

No comments:

Post a Comment