SNMP Commands
snmp-server engineid
Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x
441
32
snmp-server engineid
To define a local SNMPv3 engine ID, use the snmp-server engineid Global
Configuration mode command.
Syntax
snmp-server engineid {default
|
ENGINEID
}
Parameters
•
default—Uses the default generated SNMP engine ID.
•
ENGINEID
—Specifies a local SNMP engine ID. The engine ID is a 10 to 64
hexadecimal characters. The hexadecimal number must be divided by 2.
Default Configuration
The default SNMP engine ID is based on the MAC address of the switch.
Command Mode
Global Configuration mode
Example
switchxxxxxx(config)#
snmp-server engineid 00036D001122
snmp-server engineid remote
To define a remote host for the SNMP engine, use the snmp-server engineid
remote Global Configuration mode command.
Syntax
snmp-server engineid remote
host-ip
ENGINEID
Parameters
•
host-ip
—The IP address or hostname of the remote host (the targeted
recipient). The default is all IP addresses.
•
ENGINEID
—The remote SNMP engine ID. The engine ID is a 10 to 64
hexadecimal characters. The hexadecimal number must be divided by 2.