defDomain application domain
The transport domain that should be used for a certain application type unless something else is specified.
defTarget application domain target
The target that should be used for connections to a certain application if the connection should be in a specific domain.
defaultPort PORT
defines the default UDP port that client SNMP applications will attempt to connect to. This can be overridden by explicitly including a port number in the AGENT specification. See the snmpcmd(1) manual page for more details.
If not specified, the default value for this token is 161.
defVersion (1|2c|3)
defines the default version of SNMP to use.
This can be overridden using the -v option.
defCommunity STRING
defines the default community to use for SNMPv1 and SNMPv2c requests. This can be overridden using the -c option.
alias NAME DEFINITION
creates an aliased tied to NAME for a given transport definition. The alias can be referred to using an alias: NAME. E.g., a line of "alias here udp:127.0.0.1:6161" would allow you to use a destination host of "alias:here" instead of "udp:127.0.0.1:6161". This becomes more useful with complex transport addresses involving IPv6 addresses, etc.
dumpPacket yes
defines whether to display a hexadecimal dump of the raw SNMP requests sent and received by the application. This is equivalent to the -d option.
doDebugging (1|0)
turns on debugging for all applications run if set to 1.
debugTokens TOKEN[,TOKEN...]
defines the debugging tokens that should be turned on when doDebugging is set. This is equivalent to the -D option.
16bitIDs yes
restricts requestIDs, etc to 16-bit values.
The SNMP specifications define these ID fields as 32-bit quantities, and the Net-SNMP library typically initializes them to random values for security. However certain (broken) agents cannot handle IDvalues greater than 216. This option allows interoperability with such agents.
clientaddr [<transport-specifier>:]<transport-address>
specifies the source address to be used by command line applications when sending SNMP requests.This value is also used by snmpd when generating notifications.
clientSendBuf INTEGER
is similar to clientRecvBuf, but applies to the size of the buffer used when sending SNMP requests.
noRangeCheck yes
disables the validation of varbind values against the MIB definition for the relevant OID.
noTokenWarnings
disables warnings about unknown config file tokens.
reverseEncodeBER (1|yes|true|0|no|false)
controls how the encoding of SNMP requests is handled.
The default behavior is to encode packets starting from the end of the PDU and working backwards. This directive can be used to disable this behavior, and build the encoded request in the (more obvious) forward direction.