Technical data

Configuring SNMP
13.4 Configuring SNMP
13.4.3.3 Modifying the Configuration File
The master agent and the subagents convert lines in the configuration file that
begin with the OpenVMS-specific
config
command to user-mode process logicals
by adding the prefix TCPIP$. For example, SNMP_GEN_LOGFILE becomes
TCPIP$SNMP_GEN_LOGFILE. (This mechanism does not apply to options with
other keywords, such as
trap
.) Because the logicals are local to agent processes,
they are not visible to a DCL command SHOW LOGICAL issued in another
process.
If there are lines with duplicate configuration tags, the last line
supersedes all others. Because the temporary file TCPIP$TMP_
CONF.DAT (described in Section 13.4.3) is appended after the user-editable
TCPIP$VMS_SNMP_CONF.DAT file, the standard TCPIP configuration values
from that temporary file always supersede those from the user-edited file.
Lines in the configuration file that begin with a pound sign (#) are ignored. The
pound sign is the comment character.
Option names and values are not case sensitive. Boolean values are considered
on if the option is present with no value. Otherwise, they are considered off.
Thus, to turn off an option that was enabled at startup, you must specify zero as
the value.
If you specify a value that is longer than the limit, the value is converted to
hexadecimal and then truncated. For example, if you specify the value 257
in place of an 8-bit unsigned value, it is converted to hexadecimal (0101) and
truncated to 1.
13.4.3.4 SNMP Configuration Options
Most of the SNMP options set in the TCPIP$VMS_SNMP_CONF.DAT file must
be entered using the following syntax:
config option-name value
There are several types of SNMP configuration options:
Logging options, described in Table 13–3. These options control the way
messages are logged.
Operation options, described in Table 13–4 These options control the
operational settings for SNMP. Some of these options cannot be set by using a
logical name.
Timing options, described in Table 13–5. These options control the way
timeouts are handled.
Testing and troubleshooting options, described in Table 13–6. These options
are useful when you are testing SNMP functions and troubleshooting
subagent problems.
Backward-compatibility options, described in Table 13–7. These options are
available to provide compatibility with subagents developed under previous
versions of SNMP.
Except for the community name, option values are not case sensitive.
13–10 Configuring SNMP