6.7

Table Of Contents
Procedure
u
At the command prompt, enter the command
esxcli network ip ipsec sp remove --sa-name security policy name.
To remove all security policies, enter the command
esxcli network ip ipsec sp remove --remove-all.
Ensure Proper SNMP Configuration
If SNMP is not properly configured, monitoring information can be sent to a malicious host. The malicious
host can then use this information to plan an attack.
SNMP must be configured on each ESXi host. You can use vCLI, PowerCLI, or the vSphere Web
Services SDK for configuration.
See the Monitoring and Performance publication for detailed setup information for SNMP 3.
Procedure
1 Run the following command to determine whether SNMP is currently used.
esxcli system snmp get
2 To enable SNMP, run the following command.
esxcli system snmp set --enable true
3 To disable SNMP, run the following command.
esxcli system snmp set --disable true
vSphere Networking Security Best Practices
Following networking security best practices helps ensure the integrity of your vSphere deployment.
General Networking Security Recommendations
Following general network security recommendations is the first step in securing your networking
environment. You can then move on to special areas, such as securing the network with firewalls or using
IPsec.
n
If spanning tree is enabled, ensure that physical switch ports are configured with Portfast. Because
VMware virtual switches do not support STP, physical switch ports connected to an ESXi host must
have Portfast configured to avoid loops within the physical switch network. If Portfast is not set,
performance and connectivity issues might arise.
n
Ensure that Netflow traffic for a Distributed Virtual Switch is only sent to authorized collector IP
addresses. Netflow exports are not encrypted and can contain information about the virtual network.
This information increases the potential for a successful man-in-the-middle attack. If Netflow export is
required, verify that all Netflow target IP addresses are correct.
vSphere Security
VMware, Inc. 211