Microsoft ES4612 Switch User Manual


 
SNMP Commands
4-119
4
Related Commands
snmp-server host (4-117)
snmp-server engine-id
This command configures an identification string for the SNMPv3 engine. Use the
no form to restore the default.
Syntax
snmp-server engine-id local engineid-string
no snmp-server engine-id local
engineid-string - String identifying the engine ID.
(Range: 1-26 hexadecimal characters)
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 on this switch.
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.
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-124).
Example
show snmp engine-id
This command shows the SNMP engine ID.
Command Mode
Privileged Exec
Example
This example shows the default engine ID.
Console(config)#snmp-server engine-id local 12345
Console(config)#
Console#show snmp engine-id
Local SNMP engineID: 8000002a8000000000e8666672
Local SNMP engineBoots: 1
Console#