You can create a configuration information file for use
with the snmpInitialize() function of the SNMP manager API. The configuration
statements can be defined and stored in a z/OS® UNIX file or an MVS™ data set. See snmpInitialize – Initialize the manager environment for more information
about using this file. Following is a sample configuration file.
#------------------------------------------------------------------------------------------------------------------------
# Format of entries (SNMPv1 and SNMPv2c):
#
# targetAddr targetPort version communityName
#
#------------------------------------------------------------------------------------------------------------------------
# Community-based security (SNMPv1 and SNMPv2c)
#------------------------------------------------------------------------------------------------------------------------
9.1.1.1 161 snmpv1 -
9.1.1.2 - snmpv2c public
#------------------------------------------------------------------------------------------------------------------------
# Format of entries (SNMPv3):
#
# targetAddr targetPort version userName password secLevel authProto authKey privProto privKey authEngineID
#
#------------------------------------------------------------------------------------------------------------------------
# User-based security (SNMPv3)
#------------------------------------------------------------------------------------------------------------------------
9.8.0.1 162 snmpv3 userid - AuthPriv HMAC-SHA f40b19aa7c2d3b685655ba74d7771522faa3571c DES
f40b19aa7c2d3b685655ba74d7771522faa3571 8000000205092a67b63698ec
9.8.0.2 - snmpv3 userid - AuthPriv HMAC-SHA f40b19aa7c2d3b685655ba74d7771522faa3571c AESCFB128
f40b19aa7c2d3b685655ba74d7771522faa3571 -