VSPhere SNMP: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Zeile 9: | Zeile 9: | ||
==Verschlüsselungsalgorithmus== | ==Verschlüsselungsalgorithmus== | ||
*esxcli system snmp set --privacy AES128 | *esxcli system snmp set --privacy AES128 | ||
− | ==Passwort Hashwerte== | + | ==Passwort Hashwerte erstellen== |
*esxcli system snmp hash -r -A <AUTH-Pass> -X <PRIV-Pass> | *esxcli system snmp hash -r -A <AUTH-Pass> -X <PRIV-Pass> | ||
Version vom 26. März 2024, 16:06 Uhr
Vorgaben
- User: snmp-user
- AUTH-Pass: Passw0rd
- PRIV-Pass: 123Start$
- Target-IP: 172.21.1.223
Erstellen sie eine SNMPv3 Konfiguration auf einem ESXi Hosts
Hashalgorythmus
- esxcli system snmp set --authentication SHA1
Verschlüsselungsalgorithmus
- esxcli system snmp set --privacy AES128
Passwort Hashwerte erstellen
- esxcli system snmp hash -r -A <AUTH-Pass> -X <PRIV-Pass>
SNMPv3 Benutzer anlegen
- esxcli system snmp set --users <User>/<Hash-Auth-Pass>/[Hash-Priv-Pass]/priv
Trapziel einrichten
- esxcli system snmp set --v3targets <Target-IP>/<User>/priv/trap
Aktivieren
- esxcli system snmp set --enable true
Überprüfen
- esxcli system snmp get