6.0

VMware, Inc. 20
Command-Line Management in vSphere 5 and vSphere 6 for Service Console Users
esxcfg-ipsec
InvSphere5.1,youcanusecommandsintheesxcli network ip ipsecnamespaceinplaceofthe
esxcfg-ipseccommand.
hardware cpu global get ListinformationandconfigurationglobaltoallCPUs.
hardware cpu list ListallCPUsonthishost.
hardware memory get Getinformationaboutmemory.
hardware pci list ListallthePCIdevicesonthishost.
hardware platform get Getinformationabouttheplatform.
network vswitch standard list ListthevirtualswitchesontheESXihost.
network vswitch standard policy shaping get Retrievethenetworkshapinginformationforthe
virtualswitch.
network vswitch standard policy failover get Retrievethefailoverpolicyinformationforthevirtual
switch.
network vswitch standard policy security get Retrievethesecuritypolicyinformationforthe
virtualswitch.
network vswitch standard portgroup policy shaping
get
Retrievethenetworkshapinginformationforthe
portgroup.
network vswitch standard portgroup policy failover
get
Retrievethefailoverpolicyinformationfortheport
group.
network vswitch standard portgroup policy security
get
Retrievethesecuritypolicyinformationfortheport
group.
network nic list ListthephysicalNICs
currentlyinstalledandloaded
onthesystem.
network ip interface list ListtheVMkernelnetworkinterfacescurrently
knowntothesystem.
network ip dns server list Printalist oftheDNSservercurrentlyconfiguredon
thesystemintheorderinwhichtheywillbeused.
Table 12. esxcfg-ipsec Replacement Commands
vicfg-ipsec Option esxcli Command or Option
--action [none|discard|ipsec] | network ip ipsec sp add --action
--add-sa <sa> | network ip ipsec sa add
--add-sp <sp> | network ip ipsec sp add
--dir [in | out] | network ip ipsec sp add --flowdirection
--dst-port <port> | network ip ipsec sp add --destinationport
--flush-sa | network ip ipsec sp remove --removeall
--flush-sp | network ip ipsec sa remove --removeall
--ealgo [null | 3des-cbc | aes128-cbc]| network ip ipsec sa add --encryptionalgorithm
--ekey <e_key>| network ip ipsec sa add --encryptionkey
--ialgo [hmac-sha1 | hmac-sha2-256] | network ip ipsec sa add --integrityalgorithm
--ikey <i_key> | network ip ipsec sa add --integritykey
--list-sa <sa> | network ip ipsec sa list
--list-sp <sp> | network ip ipsec sp list
--remove-sa <sa> | network ip ipsec sa remove
Table 11. ESXCLI Information Retrieval Commands (Continued)
Command Description