Network Management Protocol (SNMP) Commands
Cisco Sx350 Ph. 2.2.5 Devices - Command Line Interface Reference Guide
switchxxxxxx(config)#
43.15 snmp-server engineID local
To specify the SNMP engineID on the local device for SNMP v3, use the
snmp-server engineID local Global Configuration mode command. To remove this
engine ID, use the no form of this command.
Syntax
snmp-server engineID local {
no snmp-server engineID local
Parameters
•
engineid-string—Specifies a concatenated hexadecimal character string
identifying the engine ID. Each byte in a hexadecimal character string is two
hexadecimal digits. Bytes are separated by a period or colon. If an odd
number of hexadecimal digits are entered, the system automatically
prefixes the digit 0 to the string. (Length: 5–32 characters, 9–64
hexadecimal digits)
•
default—Specifies that the engine ID is created automatically based on the
device MAC address.
Default Configuration
The default engine ID is defined per standard as:
•
First 4 octets: First bit = 1, the rest is IANA Enterprise number = 674.
•
Fifth octet: Set to 3 to indicate the MAC address that follows.
•
Last 6 octets: The device MAC address.
Command Mode
Global Configuration mode
User Guidelines
To use SNMPv3, an engine ID must be specified for the device. Any ID can be
specified or the default string, which is generated using the device MAC address,
can be used.
snmp-server host 1.1.1.121 abc
engineid-string
default
|
}
43
876