Previous Topic: ENDPOINT_URL Statement—Specify a Target Endpoint URLNext Topic: ENVAR Statement—Pass Environment Variables


ENGINEID Statement—Specify an Engine ID

The ENGINEID statement specifies the SNMP engine ID, which uniquely identifies an SNMP engine and its corresponding SNMP entity within an administrative domain. By default, SNMP trap information is sent from the default agent engine ID.

This statement is ignored if your SNMP version is v1 or v2.

Supported Job Type

This statement is optional for the SNMP Trap Send job type.

Syntax

This statement has the following format:

ENGINEID engine_ID
engine_ID

(Optional) Specifies the SNMP engine ID.

Limits: Up to 256 characters; case-sensitive

Default: AGENT_ENGINE

Note: Enclose values that contain delimiters (such as spaces) in double quotation marks.

Example: Specify the Default Engine ID

Suppose that you want to send the cybtrapstart trap to a network device using SNMP v3. In this example, five string parameters are passed to the trap. The host name of the network device is localhost and its port is 162. The job uses the AES privacy protocol and the SHA authentication protocol. The name of the MIB file is RFC1213-MIB.mib and the default engine ID is used. The credentials of user1 are used for authorization.

AGENT SNMPAGENT
MIB 'C:\SNMP\MIBs\RFC1213-MIB.mib'
SNMPNODE cybtrapstart HOST(localhost) PORT(162) VERSION(3)
SNMPUSER user1
AUTHPROTOCOL SHA
PRIVPROTOCOL AES
ENGINEID
PARAMETER TYPE(snmp:string) VALUE(p1)
PARAMETER TYPE(snmp:string) VALUE(p2)
PARAMETER TYPE(snmp:string) VALUE(p3)
PARAMETER TYPE(snmp:string) VALUE(p4)
PARAMETER TYPE(snmp:string) VALUE(p5)