The snmp-agent local-engineid command sets an engine ID for a local SNMP agent.
The undo snmp-agent local-engineid command restores the engine ID of a local SNMP agent to the default value.
By default, the VRP uses an internal algorithm to automatically generate an engine ID. The engine ID consists of an enterprise number and device information.
Usage Scenario
Each device managed by the NMS needs only one engine ID to identify an SNMP agent. By default, each device has one engine ID. The network administrator needs to ensure that every engine ID in a domain is unique. Communication between the NMS and SNMP agent can be authenticated and encrypted using this engine ID.
The snmp-agent local-engineid command configures the engine ID of a local SNMP entity. The algorithm for generating the engine ID follows the following rules:
If a local engine ID is configured or changed, information about existing SNMPv3 users is deleted.
Configuration Impact
The password summary used by an SNMPv3 user is calculated using MD5 or SHA based on the user password and engine ID of a local SNMP agent. If the engine ID of the local SNMP agent is changed, the generated password summary becomes invalid. As a result, a new password summary needs to be generated for the SNMPv3 user.
Precautions