C
OMMAND
L
INE
I
NTERFACE
4-148
Default Setting
A unique engine ID is automatically generated by the switch based on its
MAC address.
Command Mode
Global Configuration
Command Usage
• An SNMP engine is an independent SNMP agent that resides either on
this switch or on a remote device. This engine protects against message
replay, delay, and redirection. The engine ID is also used in combination
with user passwords to generate the security keys for authenticating and
encrypting SNMPv3 packets.
• A remote engine ID is required when using SNMPv3 informs. (See
snmp-server host on page 4-143..) The remote engine ID is used to
compute the security digest for authenticating and encrypting packets
sent to a user on the remote host. SNMP passwords are localized using
the engine ID of the authoritative agent. For informs, the authoritative
SNMP agent is the remote agent. You therefore need to configure the
remote agent’s SNMP engine ID before you can send proxy requests or
informs to it.
• Trailing zeroes need not be entered to uniquely specify a engine ID. In
other words, the value “1234” is equivalent to “1234” followed by 22
zeroes.
• A local engine ID is automatically generated that is unique to the switch.
This is referred to as the default engine ID. If the local engine ID is
deleted or changed, all SNMP users will be cleared. You will need to
reconfigure all existing users (page 4-154).
Example
Related Commands
snmp-server host (4-143)
Console(config)#snmp-server engine-id local 12345
Console(config)#snmp-server engineID remote 54321 192.168.1.19
Console(config)#