Defining SNMP communities

The dtx.acl file is used to define and maintain community definitions that specify the SNMP managers who can GET and SET MIB variables. A community definition contains the following:

Component
Description
Community Name
The name used to group SNMP hosts.
Permissions
MIB variable access rights which can be none, read-only, read-write, or write-only.
Host
The domain name or IP address of the physical machine. You can specify an IP address that is in IPv4 (for example, 1.2.3.4) or IPv6 (for example, a:b:c:d:0:1:2:3) format.

The dtx.acl file contains three default community definitions: Public, Private, and Trap. Public communities usually enable view-only access to MIB variable information. Typically, all hosts belong to Public, which is the standard name for a common community of all SNMP hosts. Private communities usually grant more permissions such as read-write or write-only. Trap communities identify the SNMP managers that are to receive trap notifications.

  1. In a text editor, open the install_dir\dtx.acl file.
  2. Add the following within the acl section and replace variables with actual values:
    {
    communities = community_name
    access = MIB_variable_permissions
    managers = localhost
    }
    
  3. Save the file.