SV-258767r959010_rule
V-258767
SRG-OS-000480-VMM-002000
ESXI-80-000212
CAT II
10
To disable SNMP from an ESXi shell, run the following command:
# esxcli system snmp set -e no
or
From a PowerCLI command prompt while connected to the ESXi Host:
Get-VMHostSnmp | Set-VMHostSnmp -Enabled $false
From an ESXi shell, run the following command:
# esxcli system snmp get
or
From a PowerCLI command prompt while connected to the ESXi host, run the following command:
Get-VMHostSnmp | Select *
If SNMP is not in use and is enabled, this is a finding.
If SNMP is enabled and is not using v3 targets with authentication, this is a finding.
Note: SNMP v3 targets can only be viewed and configured via the "esxcli" command.
V-258767
False
ESXI-80-000212
From an ESXi shell, run the following command:
# esxcli system snmp get
or
From a PowerCLI command prompt while connected to the ESXi host, run the following command:
Get-VMHostSnmp | Select *
If SNMP is not in use and is enabled, this is a finding.
If SNMP is enabled and is not using v3 targets with authentication, this is a finding.
Note: SNMP v3 targets can only be viewed and configured via the "esxcli" command.
M
5562