DGS-6604
m
snmp-server engineID local
CLI Reference Guide
848
snmp-server engineID local
Use this command to specify the SNMP engine ID on the switch. Use the no form
of the command to remove a configured SNMP engine ID and return the engine
ID setting to the original default value.
snmp-server engineID local
ENGINEID-STRING
no snmp-server engineID local
Default
An SNMP engine ID is generated automatically but is not displayed or stored in
the running configuration. you can display the default or configured engine ID by
using the
show snmp engineID
command.
Command Mode
Privileged EXEC at level 15.
Usage Guideline
The SNMP engine ID is a unique string used to identify the switch for
administration purposes.It is not necessary to specify an engine ID for the switch.
For further details on the SNMP engine ID, see RFC 3411.
To specify a manually configured ID, note that it is not necessary to specify the
entire 24-character engine ID if the ID specified contains trailing zeros. Specify
only the portion of the Engine ID up until the point where only zeros remain in the
value. For example, to configure an engine ID of 123456789A00000000000000,
specify an snmp-server engineID local as 123456789A.
For a single SNMP engine system, changing the SNMP engine ID will overwrite
the old SNMP local engine ID setting.
Display the default or configured engine ID by using the
show snmp engineID
command.
Note
: If the SNMP engine ID is set to the default value then the no form of the
command will fail when it is executed.
Example
This example shows how to configure the SNMP engine ID to
12345678A00000000000000.
Verify the settings by entering the
show snmp engineID
command.
Syntax Description
ENGINEID-STRING
String length from 10 to 24 characters that identifies the engine ID. Only
hexadecimal characters are accepted.
Switch(config)# snmp-server engineID local 12345678AB