6.0.3

Table Of Contents
Example: New Security Policy Command
The following example includes extra line breaks for readability.
esxcli network ip ipsec add
--sp-source=2001:db8:1::/64
--sp-destination=2002:db8:1::/64
--source-port=23
--destination-port=25
--upper-layer-protocol=tcp
--flow-direction=out
--action=ipsec
--sp-mode=transport
--sa-name=sa1
--sp-name=sp1
Remove an IPsec Security Policy
You can remove a security policy from the ESXi host using the ESXCLI vSphere CLI command.
Prerequisites
Verify that the security policy you want to use is not currently in use. If you try to remove a security policy
that is in use, the removal operation fails.
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 congured, monitoring information can be sent to a malicious host. The malicious
host can then use this information to plan an aack.
Procedure
1 Run esxcli system snmp get to determine whether SNMP is currently used.
2 If your system does require SNMP, make sure that it is running by running the esxcli system snmp set
--enable true command.
3 If your system uses SNMP, see the Monitoring and Performance publication for setup information for
SNMP 3.
SNMP must be congured on each ESXi host. You can use vCLI, PowerCLI, or the vSphere Web
Services SDK for conguration.
vSphere Security
242 VMware, Inc.