Tip:
Highlight text to annotate it
X
[music]
Hi, I'm Tasnim Fidali, Senior Technical Writer at VMware. In this video, I'm giving an overview
of vCLI 5.0 commands.
The vCLI 5.0 package includes ESXCLI commands and a set of other commands for remote management
of your vSphere environment. You can use the commands from a remote management server and
in scripts.
You install the vCLI package on one of the supported Windows or Linux systems, or you
deploy the vMA virtual appliance. vMA has vCLI preinstalled in a Linux environment.
You can then run commands against an ESXi host directly, or run commands against the
vCenter Server and target the ESXi host.
ESXCLI uses a nested set of namespaces. At the first level, we have
ESXCLI fcoe
hardware i-scsi
network software
storage system
and vm
Namespaces can include other namespaces and commands.
For example, the network namespace includes the ip interface ipv4 set command, which allows
you to configure IPv4 settings for a Vmkernel network interface.
The ip DNS server add command adds a DNS server to the list of DNS servers for the target
ESXi host.
Some namespaces are fairly flat. For example, the ESXCLI hardware namespace has six first-level
namespaces, and the hierarchy is three deep.
The network namespace includes almost fifty commands in a more deeply nested hierarchy.
The commands let you retrieve and manipulate firewall, virtual switches, port groups, and
much more.
The vCLI 5.0 package includes all viconfig commands included with vCLI 4.1. For many
of the commands, you can use the equivalent ESXCLI command instead. No ESXCLI equivalents
exist for these commands:
viconfig-authconfig viconfig-configbackup
viconfig-hostops viconfig-IPsec
viconfig-ntp viconfig-route
viconfig-snmp and viconfig-user
vCLI includes a few additional commands.
vmkfstools manipulates VMFS vifs sends and retrieves files
resxtop is a performance monitoring tool and svmotion performs Storage Vmotion.
For more information, you can download the vCLI poster from the ESXi chronicles, use
the command line help or visit pubs.vmware.com