The snmp-agent local-engineid command sets the engine ID of a local SNMP entity.
The undo snmp-agent local-engineid command restores the default engine ID of a local SNMP entity.
| Parameter | Description | Value |
|---|---|---|
engineid |
Specifies the character string of engine ID. |
The value is a string of 10 to 64 hexadecimal digits and cannot be all zeros or all Fs. |
By default, the device adopts an internal algorithm to generate an engine ID which is in the format of enterprise number + device information. The device adopts the MAC address of the management interface on the MPU as the device information about the engine ID.
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.
Precautions