Barra de espaço
Barra de espaço

This tutorial describes a detailed procedure showing how to configure SNMP version 3 on VMware ESXi server 6.

YOUTUBE

In our channel you can view the video of this tutorial.



Access your VMware ESXi server through vSphere, select the Configuration tab and click on the Security Profile option.


vmware esxi 6 configurar snmp 1


Select the properties of services and enable SSH.

vmware esxi 6 configurar snmp 2



Download the putty software and remotely access your VMware ESXi server via SSH using the root user.


vmware esxi 6 configurar snmp 3



Get the MAC address of your VMware to use as EngineID by the following command.

# esxcfg-info | grep "Mac Address“


After obtaining the MAC address, use the following command to configure  SNMPv3 EngineID.

# esxcli system snmp set -E=a4badb098389


Nota! Change the MAC address above to reflect your server.


Set the use of the SHA1 authentication algorithm and AES128 privacy algorithm using the commands below.

# esxcli system snmp set -x=AES128
# esxcli system snmp set -a=SHA1

 

Create the encrypted version of authentication and privacy passwords via the controls below.

# esxcli system snmp hash -r -A VegetaRulez -X GokuSuck



Nota! Change the VegetaRulez and GokuSuck passwords.


Use the previously generated hash to create a user who will have permission to use the SNMP service.

# esxcli system snmp set --users gohan/ed115256aeb7b28928e7e14743b225aa5fdffdbc/707af777c9e2324c4fcd547282df8a859bff0fae/priv

 

Nota! Change the username gohan to another desired name.


Enable SNMP service through the following command.

# esxcli system snmp set -e yes

 

Review your SNMP configuration through the command below.

# esxcli system snmp  get

 

 

On a Linux computer, install the snmpwalk utility and test the SNMP configuration using the following commands.

# apt-get install snmp
# snmpwalk -v3 -u gohan -l AuthPriv -a SHA -A VegetaRulez  -x AES   -X GokuSuck  192.168.3.5


 Nota! Change the username, passwords and IP address of the VMware server to reflect your network environment.

 

 CONCLUSION

This tutorial presented the SNMP v3 setup process on a VMware ESXi server 6.