C122-E003-02EN 8-113
GSWB
8.2 Configuration Definition Commands
8.2.17 SNMP
8.2.17.1 snmp-server engineID local
This command specifies the SNMP engine ID of a local device. The default value is
"0x000000000000000000000000".
(1) Synopsis
• Specifies the SNMP engine ID of a local device
• Resets the SNMP engine ID of a local device to the default value
(2) Options
z <engineid-string>
A 10-digit to 24-digit hexadecimal string specifies the ID. "0x" at the beginning of
the string may be omitted. If "0x" is entered, it is not included in the number of
digits.
If the entered string consists of 23 or fewer digits, the engineID value is padded
with "0" up to the 24th digit. This item need not be set if SNMP v3 is not used.
(3) Command mode
Global
(4) See also
snmp-server enable traps
show snmp-server
(5) Examples
• Sets the SNMP engine ID of a local device
snmp-server engineID local <engineid-string>
no snmp-server engineID local
Switch(config)# snmp-server engineID local 0x1234000000
Switch(config)#