Configuring SNMP Engine ID

The Engine ID is only used by SNMPv3 entities to uniquely identify them. An SNMP agent is considered an authoritative SNMP engine. This means that the agent responds to incoming messages (Get, GetNext, GetBulk, Set), and sends trap messages to a manager.

Each SNMP agent maintains local information that is used in SNMPv3 message exchanges. The default SNMP Engine ID is comprised of the enterprise number and the default MAC address. The SNMP Engine ID must be unique for the administrative domain, so that no two devices in a network have the same Engine ID.

Local information is stored in four MIB variables that are read-only (snmpEngineId, snmpEngineBoots, snmpEngineTime, and snmpEngineMaxMessageSize).

To define the SNMP Engine ID:

  1. Click SNMP > Engine ID.
  2. In the Local Engine ID area, set the local Engine ID:
    • Use Default—Use the device-generated Engine ID. The default Engine ID is based on the switch MAC address, and is defined per standard as:
      • First 4 octets—First bit = 1, the rest is the IANA enterprise number.
      • Fifth octet—Set to 3 to indicate the MAC address that follows.
      • Last 6 octets—MAC address of the switch.
    • User Defined—Enter the local device Engine ID. The field value is a hexadecimal string (range: 10 to 64). Each byte in the hexadecimal character strings is represented by two hexadecimal digits.
  3. Click Apply. The local Engine ID is defined, and the Running Configuration is updated.
  4. The Remote Engine ID Table lists all remote SNMP Engine IDs supported by the switch. To add a remote Engine ID, click Add.
  5. Enter the following information:
    • Server Definition—Select whether to specify the Engine ID server by IP address or name.
    • IP Version—Select either Version 4 or Version 6 if the server is identified by IP address.
    • Server IP Address/Name—Enter the IP address or domain name of the remote server that receives the traps.
    • Engine ID—Enter the Engine ID.
  6. Click Apply. The remote Engine ID is defined, and the Running Configuration is updated.