Defining SNMP traps

The dtx.acl file contains three default community definitions: Public, Private, and Trap. Trap communities identify the SNMP managers that are to receive trap notifications. You can define only one trap community in the dtx.acl file.

SNMPv3 does not use the community string to identify destinations. When creating an SNMPv3 trap group, use only the SNMP manager's IP address. For more information, see the Java™ Dynamic Management Kit product documentation.

  1. In a text editor, open the install_dir\dtx.acl file.
  2. Add the following within the trap section and replace variables with actual values:
    {
    trap-community = trap_community_name
    hosts = localhost
    }
    
  3. Save the file.

    Do not modify the dtx.acl file name. If you do, the SNMP Agent cannot validate community information when receiving SET and GET requests from the SNMP manager.