Technical data

Configuring SNMP
13.4 Configuring SNMP
Table 13–6 (Cont.) Testing and Troubleshooting Options
SNMP_TRACE
Logical name: TCPIP$SNMP_TRACE
Format:
config TCPIP$SNMP_TRACE n
Description: Allows you to direct trace log messages to standard log files when
agents are running in normal production mode. (Alternatively, you
can get trace logs while running the subagent in interactive mode,
as described in Section 13.6.4.)
Running with tracing produces a great deal of output and may
slow down the system. In addition, utilities like the MIB browser
(
snmp_request
) may need a longer timeout interval when running
with tracing on.
The type of data and the amount of data logged for custom
subagents depends on how the subagents are programmed, except
for the logging that is handled automatically by the eSNMP API
routines. The chess example code provides some samples of using
the ESNMP_LOG macro.
Type: Not dynamic
Table 13–7 Backward-Compatibility Options
SNMP_PROHIBIT_DUPLICATE_REGISTRATIONS
Logical name: TCPIP$SNMP_PROHIBIT_DUPLICATE_REGISTRATIONS
Format:
config SNMP_PROHIBIT_DUPLICATE_REGISTRATIONS n
Description: In this format, n can be 1 (to set the option), or 0 (to turn the option
off). If this option is set, a subagent that tries to register with the
same name as a previously registered subagent will be rejected. By
default, duplicate registrations are allowed; the AgentX protocol
does not check for duplicate subagents based on the subagent name.
Type: Dynamic
SNMP_V1_TRAP_DEFAULT
Logical name: TCPIP$SNMP_V1_TRAP_DEFAULT
Format:
config SNMP_V1_TRAP_DEFAULT n
Description: In this format, n can be 1 (to set the option), or 0 (to turn
the option off). When this option is set, traps defined in the
TCPIP$CONFIG.COM procedure or using the TCP/IP management
command SET CONFIGURATION SNMP are sent in SNMP Version
1 format. The default is to send these types of traps in Version 2
format.
Type: Dynamic
Configuring SNMP 13–19