Hi Sumit,
. Refer RFC https://www.ietf.org/rfc/rfc2571.txt for engineID format.
--------------------------------------------------------------------------------------------------snmpEngineID has a length of 12 octets.
1st bit: either '0' or '1' . '1' if you follow below mentioned formats
1-4 octets: binary equivalent of the agent's SNMP management private enterprise number
5th octet : Type of next(6-12th) octet ipaddress, mac address, random number.
Eg: If 5th octet=3 then 6-12th octet is mac-id of the host.
--------------------------------------------------------------------------------------------------
Since SNMP engineID is unique to the host/machine on which snmpapp running , its better to get value for
option'-e' from external code.
Thank you.
Pushpa.T