ESXi Command-Line – Part 1
ESXi has some commands with esxcfg prefix for doing some advanced tasks on shell. Of course, you can do the tasks by ESXCLI commands but the esxcfg commands are useful. Let’s review some of them:
You can use this command to configure or show system advanced settings in ESXi
Note: You can use “esxcli system settings advanced” instead of this command.
When using the ESXi Shell, you can configure your system to save core dumps to a local partition or to use the ESXi Dump Collector and save core dumps to a prespecified local or remote partition.
You can use “esxcli coredump partition” instead of this command.
This command using for find some information about hardware and software in ESXi, there is no other command and there is no alternative for this command in ESXCLI.
esxcfg-swiscsi and esxcfg-hwiscsi
These commands using for configuring iSCSi on ESXi, you can use “esxcli iscsi” instead of these commands.
This command is using for configure SCSI devices and also you can use “esxcli storage” instead of this.
This command supports manipulation of the VMkernel loadable modules and device drivers. You can use “system module” command in ESXCLI.
supports listing information about Fibre Channel or iSCSI LUNs and changing a path’s state. You can use “storage core” in ESXCLI instead of this command.
You can use “storage nfs” instead of this command.
Use this command for managing physical nics on ESXi, also you can use “network nic” instead of this.
Using for storage rescan and has equivalent command: “storage core“.
Using for adds, deletes, and modifies VMkernel network interfaces. Also you can use “network ip interface‘
Managing LVM and snapshot. You can use “storage vmfs” and “storage filesystem” instead of this.
Using for managing virtual switches and has alternative in ESXCLI: network vswitch standard
ESXCLI has no support for distributed switches.
You can download complete reference via this link: Command-Line Reference