The CONTEXTENGINEID statement specifies the context engine ID, which uniquely identifies an SNMP entity within an administrative domain. An SNMP entity can access management information in many contexts. Since an item of management information can exist in more than one context, you can use the CONTEXTENGINEID statement, together with the CONTEXTNAME statement, to uniquely identify a variable within an administrative domain.
This statement is ignored if your SNMP version is v1 or v2.
Supported Job Types
This statement is optional for the following job types:
Syntax
This statement has the following format:
CONTEXTENGINEID X'[context_engine_ID]'
(Optional) Specifies the context engine ID in hexadecimal format.
Limits: Up to 512 hexadecimal characters
Example: Specify Context Engine ID 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)
|
Copyright © 2013 CA Technologies.
All rights reserved.
|
|