set snmp engineid

Use this command to administratively set an SNMP engine ID.

Syntax

set snmp engineid id

Parameters

id Specifies a new SNMP engine ID for this device. Valid values are up to 27 bytes of text or hex characters. For example sys1 or 15:f8:3a.

Defaults

None.

Mode

All command modes.

Usage

Changes to the SNMP engine ID require a device reset to take effect. All SNMP user configuration must be removed before resetting the SNMP engine ID.

If C2 security mode is enabled, you can not create, modify, or delete an SNMP engine ID configuration while in Read-Write user mode.

Example

This example shows how to reset the SNMP engine ID to DocumentationS- K- and 7100-Series1eng1:

System(rw)->set snmp engineid DocumentationS- K- and 7100-Series1eng1
Warning: Changes to the Engine ID require a device reset to take effect.
Warning: All SNMP user configuration must be removed before resetting.
System(rw)->