<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://aznot.com/index.php?action=history&amp;feed=atom&amp;title=VMware%2FvSphere%2Fesxcli</id>
	<title>VMware/vSphere/esxcli - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://aznot.com/index.php?action=history&amp;feed=atom&amp;title=VMware%2FvSphere%2Fesxcli"/>
	<link rel="alternate" type="text/html" href="https://aznot.com/index.php?title=VMware/vSphere/esxcli&amp;action=history"/>
	<updated>2026-05-07T03:50:58Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.0</generator>
	<entry>
		<id>https://aznot.com/index.php?title=VMware/vSphere/esxcli&amp;diff=2238&amp;oldid=prev</id>
		<title>Kenneth: /* ESXi 5.0 Replacements */</title>
		<link rel="alternate" type="text/html" href="https://aznot.com/index.php?title=VMware/vSphere/esxcli&amp;diff=2238&amp;oldid=prev"/>
		<updated>2015-05-24T17:47:37Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;ESXi 5.0 Replacements&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== esxcli ==&lt;br /&gt;
&lt;br /&gt;
== ESXi 5.0 Replacements ==&lt;br /&gt;
&lt;br /&gt;
esxcfg-* commands being replaced with esxcli commands.&lt;br /&gt;
&lt;br /&gt;
Reference to Replacements for Service Console Commands&lt;br /&gt;
* http://pubs.vmware.com/vsphere-50/index.jsp?topic=/com.vmware.vcli.migration.doc_50/cos_upgrade_technote.1.9.html&lt;br /&gt;
&lt;br /&gt;
Replacements for Service Console Commands lists common ESX/ESXi 4.x service console commands and corresponding ESXi 5.0 shell commands.&lt;br /&gt;
: &amp;quot;Important This document does not present a complete list of ESXCLI commands. The focus is on replacing existing service console commands. See the vSphere Command-Line Interface Reference for a complete list of commands.&lt;br /&gt;
The links in the Command column of the table point to more detailed information for each command, with corresponding ESXCLI commands for each option where available. Click the link in the More Information column for a table with detailed information about that command.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Version ==&lt;br /&gt;
&lt;br /&gt;
 esxcli system version get&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# esxcli system version get&lt;br /&gt;
   Product: VMware ESXi&lt;br /&gt;
   Version: 5.1.0&lt;br /&gt;
   Build: Releasebuild-2323236&lt;br /&gt;
   Update: 3&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Network ==&lt;br /&gt;
&lt;br /&gt;
Show vmkernel IP addresses:&lt;br /&gt;
 esxcli network ip interface ipv4 get&lt;br /&gt;
&lt;br /&gt;
=== Firewall ===&lt;br /&gt;
&lt;br /&gt;
List rules:&lt;br /&gt;
 esxcli network firewall ruleset list&lt;br /&gt;
&lt;br /&gt;
Enable SSH and NTP:&lt;br /&gt;
 esxcli network firewall ruleset set --ruleset-id sshServer --enabled true&lt;br /&gt;
 esxcli network firewall ruleset set --ruleset-id ntpClient --enabled true&lt;br /&gt;
&lt;br /&gt;
== Storage ==&lt;br /&gt;
&lt;br /&gt;
List table of storage adapters (HBA Name, adapter UID): (compare to: esxcfg-scsidevs -a)&lt;br /&gt;
 esxcli storage core adapter list&lt;br /&gt;
&lt;br /&gt;
List devices () (does not show adapter mapping): (compare to: esxcfg-scsidevs -l)&lt;br /&gt;
 esxcli storage core device list&lt;br /&gt;
 esxcli storage core device list --device [device|eui.*]&lt;br /&gt;
&lt;br /&gt;
List device paths and adapter to device mapping (mpath, runtime name, device, adapter UID, CTL, transport - device to adapter mapping): (very loose compare to: esxcfg-scsidevs -A)&lt;br /&gt;
 esxcli storage core path list&lt;br /&gt;
 esxcli storage core path list --device [device|eui.*]&lt;br /&gt;
&lt;br /&gt;
List table of VMFS volumes (volume, device, and partition): (compare to: esxcfg-scsidevs -m)&lt;br /&gt;
 esxcli storage vmfs extent list&lt;br /&gt;
&lt;br /&gt;
List table of partitions (device, partition, size):&lt;br /&gt;
 esxcli storage core device partition list&lt;br /&gt;
&lt;br /&gt;
List table of file systems (path, volume, size):&lt;br /&gt;
 esxcli storage filesystem list&lt;br /&gt;
&lt;br /&gt;
Show if a device is being used (in use if listed, idle means indirectly used):&lt;br /&gt;
 esxcli storage core device world list -d [device|eui.*]&lt;br /&gt;
&lt;br /&gt;
Rescan adapters:&lt;br /&gt;
 esxcli storage core adapter rescan&lt;br /&gt;
&lt;br /&gt;
Unmap: [[vmkfstools#UNMAP]]&lt;br /&gt;
 esxcli storage vmfs unmap -l [mydatastore]&lt;br /&gt;
&lt;br /&gt;
References:&lt;br /&gt;
* VMware KB: Identifying disks when working with VMware ESX/ESXi - http://kb.vmware.com/kb/1014953&lt;br /&gt;
* vSphere Documentation Center - Detaching Devices and Removing a LUN - http://pubs.vmware.com/vsphere-50/index.jsp?topic=%2Fcom.vmware.vcli.examples.doc_50%2Fcli_manage_files.5.6.html&lt;br /&gt;
&lt;br /&gt;
== System ==&lt;br /&gt;
&lt;br /&gt;
=== Modules ===&lt;br /&gt;
&lt;br /&gt;
Operations that allow manipulation of the VMkernel loadable modules and device drivers.&lt;br /&gt;
&lt;br /&gt;
List all modules:&lt;br /&gt;
 esxcli system module list&lt;br /&gt;
 esxcli system module list --enabled  # (-e) list enabled modules&lt;br /&gt;
 esxcli system module list --loaded  # (-l) list loaded modules&lt;br /&gt;
&lt;br /&gt;
Get module details: (version, path)&lt;br /&gt;
 esxcli system module get --module iomemory-vsl  # (-m)&lt;br /&gt;
&lt;br /&gt;
Enable / disable module:&lt;br /&gt;
 esxcli system module set --enabled true --module iomemory-vsl  # (-e/-m)&lt;br /&gt;
 esxcli system module set --enabled false --module iomemory-vsl  # (-e/-m)&lt;br /&gt;
&lt;br /&gt;
List module parameters, in huge table: (and if they are set, under value column)&lt;br /&gt;
 esxcli system module parameters list --module iomemory-vsl  # (-m)&lt;br /&gt;
&lt;br /&gt;
Set module parameters:&lt;br /&gt;
 esxcli system module parameters set --module iomemory-vsl --parameter-string &amp;quot;&amp;quot;&lt;br /&gt;
 esxcli system module parameters set --module iomemory-vsl --parameter-string &amp;quot;auto_attach=1&amp;quot;  # (-m,-p)&lt;br /&gt;
&lt;br /&gt;
== Custom Plugins ==&lt;br /&gt;
&lt;br /&gt;
See [[VMware/vSphere/esxcli/Custom Plugins]]&lt;br /&gt;
&lt;br /&gt;
== keywords ==&lt;br /&gt;
&lt;br /&gt;
[[Category:VMware]]&lt;/div&gt;</summary>
		<author><name>Kenneth</name></author>
	</entry>
</feed>