Modifying the SNMP Engine ID


Netvisor ONE allows you to modify the SNMP Engine ID and retrieve previous SNMP agent information for a switch that is no longer in use. The SNMP Engine ID is used only by SNMPv3 entities for uniquely identifying the V3 entries.


If you remove a switch due to an RMA or other reasons from the network, you can modify the SNMP Engine ID to use the old SNMP Engine ID. This enables Netvisor ONE to query and maintain the same history records for the new switch. The SNMP engine ID is a unique string of characters specific to a switch and identifies the device for administrative purposes.

After modifying the SNMP engine ID, you must recreate the SNMP user. To modify the SNMP engine ID, use the command:


CLI (network-admin@switch) > snmp-engineid-modify engineid <string>


       

engineid string

Specify the 28 character unique ID for the SNMP engine.


For example, to modify the SNMP engine ID, use the steps below:


  • View the current SNMP engine ID by using the command:


CLI (network-admin@switch) > running-config-show | grep snmp


snmp-engineid-modify engineid 0x80001f8880077f7820da49395a00000000


  • To modify the above SNMP engine ID to 0x80001f8880077f7820da49395a00000001, use the command:


CLI (network-admin@switch) > snmp-engineid-modify engineid 0x80001f8880077f7820da49395a00000001

Warning: All SNMP users will be erased.


Please confirm y/n (Default: n):y

Modified snmp engineID, Deleted all SNMP users.Please re-create SNMP users.


  • View the modified SNMP engine ID using the command:


CLI (network-admin@switch) > running-config-show | grep snmp


snmp-engineid-modify engineid 0x80001f8880077f7820da49395a00000001


To display the SNMP engine IDs configured on the switches in a fabric, use the command:


CLI (network-admin@aries-vxlan-01) > snmp-engineid-show


switch:   aries-vxlan-01

engineid: 0x80001f8880f3ac9a7e4b3fb15c00000000

switch:   ursa-vxlan-01

engineid: 0x80001f888030aae147f240b15c00000000

switch:   ursa-vxlan-02

engineid: 0x80001f8880cae2b0662f40b15c00000000


To display the SNMP engine ID of a local switch, use the command:


CLI (network-admin@switch-03*) > snmp-engineid-show


engineid: 0x80001f888054a353110aefe65c00000000


The asterisk (*) along with switch name in the above command indicates a specific local switch.