Following are some possible problems that may be encountered.
You need to migrate the community and smux entries defined in the /etc/snmpd.conf file to the /etc/snmpdv3.conf file. For information on migrating this information, see Migrate from SNMPv1 to SNMPv3.
The most likely cause of this problem is a configuration error in either the /etc/snmpdv3.conf or /etc/clsnmp.conf files, or both. Carefully review these files to ensure that all information is entered correctly. For information on editing these files when creating new users, see Create Users in SNMPv3.
The most likely cause is that you are not running the SNMPv3 encrypted version. Follow these steps to determine what version you are running:
After making changes to the /etc/snmpdv3.conf file, the SNMP daemon must be stopped and started. Refreshing the daemon will not work. Use the following procedure:
The most likely cause is that the public community is not configured in the /etc/snmpdv3.conf file. By default, and DPI2 subagent shipped with AIX uses the community name public to connect itself to the SNMP agent. The public community is configured in the /etc/snmpdv3.conf file by default. If you have removed the public community from the /etc/snmpd.conf file, add the following lines to the file:
VACM_GROUP group1 SNMPv1 public - VACM_VIEW defaultView 1.3.6.1.4.1.2.2.1.1.1.0 - included - VACM_ACCESS group1 - - noAuthNoPriv SNMPv1 defaultView - defaultView - COMMUNITY public public noAuthNoPriv 0.0.0.0 0.0.0.0 -
1.3.6.1.4.1.2.2.1.1.1.0 is the OID for dpiPortForTCP.0.
Ensure that your smux entry is present in the /etc/snmpdv3.conf and the /etc/snmpd.peers files. If you configure new smux peers, ensure that they are entered in both of these files as well.
In the VACM_VIEW entry in the /etc/snmpdv3.conf file, you must specify the OID of the MIB variable rather than the MIB variable name.
Ensure that you have configured the trap entries correctly in the /etc/snmpdv3.conf file. In addition, if the trap is an SNMPv3 trap, the /etc/clsnmp.conf file must also be configured. For instructions on configuring traps, see Create Users in SNMPv3.
In addition, make sure that the machine specified to receive traps (in the /etc/snmpdv3.conf file) is listening for them. You can start this process by running clsnmp trap on the command line.
In the SNMPv3 architecture, the SNMPv3 agent itself runs the DPI2 server. See SNMPv3 Architecture for more information.