C
HAPTER
25
| SNMP Commands
– 636 –
â—† If you specify an SNMP Version 3 host, then the community string is
interpreted as an SNMP user name. The user name must first be
defined with the snmp-server user command. Otherwise, an SNMPv3
group will be automatically created by the snmp-server host
command using the name of the specified community string, and
default settings for the read, write, and notify view.
EXAMPLE
Console(config)#snmp-server host 10.1.19.23 batman
Console(config)#
RELATED COMMANDS
snmp-server enable traps (633)
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 | remote {ip-address}}
engineid-string
no snmp-server engine-id {local | remote {ip-address}}
local - Specifies the SNMP engine on this switch.
remote - Specifies an SNMP engine on a remote device.
ip-address - The Internet address of the remote device.
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 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 the
snmp-server host command.) The remote engine ID is used to compute
the security digest for authentication and encryption of packets passed
between the switch and 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