What Is an SNMP Engine ID and How Do I Configure It?
An SNMP engine ID is used to manage an SNMP module, and uniquely identifies an SNMP entity in a management domain. You can run the snmp-agent local-engineid engineid command to set the SNMP engine ID on a device.
By default, the device uses an internal algorithm to generate an SNMP engine ID, which consists of an enterprise number and device information. If you want to manually set an SNMP engine ID, follow these conventions:
1.The first four bytes in hexadecimal notation are the enterprise's private engine ID allocated by Internet Assigned Numbers Authority (IANA). The engine ID of Huawei devices is 2011 in decimal notation. The first binary digit has a fixed value 1. Therefore, the hexadecimal format of the first four bytes in a Huawei device's engine ID is 800007DB.
2.The device information is configured manually. You are advised to use the IP address or MAC address of the device as device information to uniquely identify the device.
3.engineid is a string of 10-64 characters in hexadecimal notation. The value of all 0s or Fs is invalid.