snmp-server engine-id — global
snmp-server engine-id local
stringno snmp-server engine-id
SNMP Version 3
This command sets the ID of the router’s SNMP engine to
string. The engine ID is used by SNMP Version 3 when it computes various cryptographic keys. This book doesn’t cover SNMPv3 configuration, so there isn’t a lot to say about the engine ID. However, if you have configured SNMPv3, it is important to know that changing the engine ID has many side effects, including invalidating the authentication information for all SNMP users.
The ID string is 24 characters long. If you do not specify the entire 24 characters, it will be padded with zeros on the right.