Previous Topic: AUTHORDER Statement—Specify Authentication ProtocolsNext Topic: BANNER Statement—Specify Whether to Include an SAP Cover Page


AUTHPROTOCOL Statement—Specify the SNMP v3 Authentication Protocol

The AUTHPROTOCOL statement specifies the SNMP v3 authentication protocol to use when connecting with the user specified in the SNMPUSER statement. This statement is ignored if your SNMP version is v1 or v2.

Supported Job Types

If your SNMP version is v3, this statement is required for the following job types:

Syntax

This statement has the following format:

AUTHPROTOCOL MD5|SHA
MD5

Specifies the Message Digest 5 (MD5) authentication protocol.

SHA

Specifies the Secure Hash (SHA) authentication protocol.

Example: Specify Authentication Protocol in an SNMP Value Set Job

Suppose that you want to set the value of the OUT456789 variable using SNMP v3. In this example, the job uses the AES privacy protocol and the MD5 authentication protocol. The OUT456789 variable belongs to the context named contxtname within the SNMP entity identified by the hexadecimal value CAB0. The credentials of user user1 are used for authorization.

AGENT SNMPAGENT
SNMPUSER user1
MIB 'c:\SNMP\MIBs\mymib.mib'   
SNMPNODE OUT456789 HOST(host.example.com) VERSION(3)
CONTEXTNAME contxtname
CONTEXTENGINEID X'cab0'
PRIVPROTOCOL AES
AUTHPROTOCOL MD5
PARAMETER TYPE(snmp:int) VALUE(8)